Changeset View
Changeset View
Standalone View
Standalone View
src/qt/splashscreen.cpp
Show All 21 Lines | |||||
#include <QApplication> | #include <QApplication> | ||||
#include <QCloseEvent> | #include <QCloseEvent> | ||||
#include <QPainter> | #include <QPainter> | ||||
#include <QRadialGradient> | #include <QRadialGradient> | ||||
#include <QScreen> | #include <QScreen> | ||||
#include <memory> | #include <memory> | ||||
SplashScreen::SplashScreen(interfaces::Node &node, Qt::WindowFlags f, | SplashScreen::SplashScreen(interfaces::Node &node, | ||||
const NetworkStyle *networkStyle) | const NetworkStyle *networkStyle) | ||||
: QWidget(nullptr, f), curAlignment(0), m_node(node) { | : QWidget(nullptr), curAlignment(0), m_node(node) { | ||||
// set reference point, paddings | // set reference point, paddings | ||||
int paddingRight = 50; | int paddingRight = 50; | ||||
int paddingTop = 50; | int paddingTop = 50; | ||||
int titleVersionVSpace = 17; | int titleVersionVSpace = 17; | ||||
int titleCopyrightVSpace = 40; | int titleCopyrightVSpace = 40; | ||||
float fontFactor = 1.0; | float fontFactor = 1.0; | ||||
float devicePixelRatio = 1.0; | float devicePixelRatio = 1.0; | ||||
▲ Show 20 Lines • Show All 212 Lines • Show Last 20 Lines |