Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_splash_screen.cpp File Reference
#include "kis_splash_screen.h"
#include <QApplication>
#include <QScreen>
#include <QGraphicsDropShadowEffect>
#include <QPixmap>
#include <QPainter>
#include <QCheckBox>
#include <kis_debug.h>
#include <QFile>
#include <QWindow>
#include <QSvgWidget>
#include <KisPart.h>
#include <KisApplication.h>
#include <kis_icon.h>
#include <klocalizedstring.h>
#include <kconfig.h>
#include <ksharedconfig.h>
#include <kconfiggroup.h>

Go to the source code of this file.

Functions

static void addDropShadow (QWidget *widget)
 

Function Documentation

◆ addDropShadow()

static void addDropShadow ( QWidget * widget)
static

Definition at line 35 of file kis_splash_screen.cpp.

36{
37 QGraphicsDropShadowEffect *effect = new QGraphicsDropShadowEffect(widget);
38 effect->setBlurRadius(4);
39 effect->setOffset(0.5);
40 effect->setColor(QColor(0, 0, 0, 255));
41 widget->setGraphicsEffect(effect);
42}