Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
NetworkStyle Class Reference

#include <networkstyle.h>

Public Member Functions

const QString & getAppName () const
 
const QIcon & getAppIcon () const
 
const QIcon & getTrayAndWindowIcon () const
 
const QString & getTitleAddText () const
 

Static Public Member Functions

static const NetworkStyleinstantiate (const ChainType networkId)
 Get style associated with provided network id, or 0 if not known. More...
 

Private Member Functions

 NetworkStyle (const QString &appName, const int iconColorHueShift, const int iconColorSaturationReduction, const char *titleAddText)
 

Private Attributes

QString appName
 
QIcon appIcon
 
QIcon trayAndWindowIcon
 
QString titleAddText
 

Detailed Description

Definition at line 15 of file networkstyle.h.

Constructor & Destructor Documentation

◆ NetworkStyle()

NetworkStyle::NetworkStyle ( const QString &  appName,
const int  iconColorHueShift,
const int  iconColorSaturationReduction,
const char *  titleAddText 
)
private

Definition at line 28 of file networkstyle.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ getAppIcon()

const QIcon & NetworkStyle::getAppIcon ( ) const
inline

Definition at line 22 of file networkstyle.h.

Here is the caller graph for this function:

◆ getAppName()

const QString & NetworkStyle::getAppName ( ) const
inline

Definition at line 21 of file networkstyle.h.

◆ getTitleAddText()

const QString & NetworkStyle::getTitleAddText ( ) const
inline

Definition at line 24 of file networkstyle.h.

Here is the caller graph for this function:

◆ getTrayAndWindowIcon()

const QIcon & NetworkStyle::getTrayAndWindowIcon ( ) const
inline

Definition at line 23 of file networkstyle.h.

Here is the caller graph for this function:

◆ instantiate()

const NetworkStyle * NetworkStyle::instantiate ( const ChainType  networkId)
static

Get style associated with provided network id, or 0 if not known.

Definition at line 81 of file networkstyle.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ appIcon

QIcon NetworkStyle::appIcon
private

Definition at line 30 of file networkstyle.h.

◆ appName

QString NetworkStyle::appName
private

Definition at line 29 of file networkstyle.h.

◆ titleAddText

QString NetworkStyle::titleAddText
private

Definition at line 32 of file networkstyle.h.

◆ trayAndWindowIcon

QIcon NetworkStyle::trayAndWindowIcon
private

Definition at line 31 of file networkstyle.h.


The documentation for this class was generated from the following files: