#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 <QVBoxLayout>
#include <QLabel>
#include <KisPart.h>
#include <KisApplication.h>
#include <kis_icon.h>
#include <kis_config.h>
#include <klocalizedstring.h>
Go to the source code of this file.
◆ addDropShadow()
| static void addDropShadow |
( |
QWidget * | widget | ) |
|
|
static |
Definition at line 34 of file kis_splash_screen.cpp.
35{
36 QGraphicsDropShadowEffect *effect = new QGraphicsDropShadowEffect(widget);
37 effect->setBlurRadius(4);
38 effect->setOffset(0.5);
39 effect->setColor(QColor(0, 0, 0, 255));
40 widget->setGraphicsEffect(effect);
41}