Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <networkstyle.h>
Public Member Functions | |
const QString & | getAppName () const |
const QIcon & | getAppIcon () const |
const QPixmap & | getSplashImage () const |
const QIcon & | getTrayAndWindowIcon () const |
const QString & | getTitleAddText () const |
const QColor & | getBadgeColor () const |
Static Public Member Functions | |
static const NetworkStyle * | instantiate (const QString &networkId) |
Get style associated with provided BIP70 network id, or 0 if not known. More... | |
Private Member Functions | |
NetworkStyle (const QString &appName, const int iconColorHueShift, const int iconColorSaturationReduction, const char *titleAddText) | |
void | rotateColor (QColor &col, const int iconColorHueShift, const int iconColorSaturationReduction) |
void | rotateColors (QImage &img, const int iconColorHueShift, const int iconColorSaturationReduction) |
Private Attributes | |
QString | appName |
QIcon | appIcon |
QPixmap | splashImage |
QIcon | trayAndWindowIcon |
QString | titleAddText |
QColor | badgeColor |
Detailed Description
Definition at line 14 of file networkstyle.h.
Constructor & Destructor Documentation
◆ NetworkStyle()
|
private |
Definition at line 65 of file networkstyle.cpp.
References appIcon, appName, badgeColor, iconColorHueShift, iconColorSaturationReduction, GUIUtil::migrateQtSettings(), rotateColor(), rotateColors(), splashImage, and trayAndWindowIcon.
Referenced by instantiate().
Member Function Documentation
◆ getAppIcon()
|
inline |
Definition at line 21 of file networkstyle.h.
References appIcon.
◆ getAppName()
|
inline |
Definition at line 20 of file networkstyle.h.
References appName.
◆ getBadgeColor()
|
inline |
Definition at line 25 of file networkstyle.h.
References badgeColor.
Referenced by SplashScreen::SplashScreen().
◆ getSplashImage()
|
inline |
Definition at line 22 of file networkstyle.h.
References splashImage.
Referenced by SplashScreen::SplashScreen().
◆ getTitleAddText()
|
inline |
Definition at line 24 of file networkstyle.h.
References titleAddText.
Referenced by BitcoinGUI::BitcoinGUI(), BitcoinGUI::createTrayIcon(), and SplashScreen::SplashScreen().
◆ getTrayAndWindowIcon()
|
inline |
Definition at line 23 of file networkstyle.h.
References trayAndWindowIcon.
Referenced by BitcoinGUI::BitcoinGUI(), and BitcoinGUI::createTrayIcon().
◆ instantiate()
|
static |
Get style associated with provided BIP70 network id, or 0 if not known.
Definition at line 97 of file networkstyle.cpp.
References appName, CBaseChainParams::DEVNET, gArgs, ArgsManager::GetDevNetName(), network_styles, network_styles_count, networkId, NetworkStyle(), strprintf, and titleAddText.
Referenced by main().
◆ rotateColor()
|
private |
Definition at line 31 of file networkstyle.cpp.
References iconColorHueShift, and iconColorSaturationReduction.
Referenced by NetworkStyle(), and rotateColors().
◆ rotateColors()
|
private |
Definition at line 45 of file networkstyle.cpp.
References iconColorHueShift, iconColorSaturationReduction, and rotateColor().
Referenced by NetworkStyle().
Member Data Documentation
◆ appIcon
|
private |
Definition at line 31 of file networkstyle.h.
Referenced by getAppIcon(), and NetworkStyle().
◆ appName
|
private |
Definition at line 30 of file networkstyle.h.
Referenced by getAppName(), instantiate(), and NetworkStyle().
◆ badgeColor
|
private |
Definition at line 35 of file networkstyle.h.
Referenced by getBadgeColor(), and NetworkStyle().
◆ splashImage
|
private |
Definition at line 32 of file networkstyle.h.
Referenced by getSplashImage(), and NetworkStyle().
◆ titleAddText
|
private |
Definition at line 34 of file networkstyle.h.
Referenced by getTitleAddText(), and instantiate().
◆ trayAndWindowIcon
|
private |
Definition at line 33 of file networkstyle.h.
Referenced by getTrayAndWindowIcon(), and NetworkStyle().
The documentation for this class was generated from the following files:
- src/qt/networkstyle.h
- src/qt/networkstyle.cpp