Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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 (ChainType networkId)
 Get style associated with provided network id, or 0 if not known.

Private Member Functions

 NetworkStyle (const QString &appName, int iconColorHueShift, 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,
int iconColorHueShift,
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.

◆ instantiate()

const NetworkStyle * NetworkStyle::instantiate ( 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: