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