Fabcoin Core  0.16.2
P2P Digital Currency
networkstyle.h
Go to the documentation of this file.
1 // Copyright (c) 2014 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef FABCOIN_QT_NETWORKSTYLE_H
6 #define FABCOIN_QT_NETWORKSTYLE_H
7 
8 #include <QIcon>
9 #include <QPixmap>
10 #include <QString>
11 
12 /* Coin network-specific GUI style information */
14 {
15 public:
17  static const NetworkStyle *instantiate(const QString &networkId);
18 
19  const QString &getAppName() const { return appName; }
20  const QIcon &getAppIcon() const { return appIcon; }
21  const QIcon &getTrayAndWindowIcon() const { return trayAndWindowIcon; }
22  const QString &getTitleAddText() const { return titleAddText; }
23 
24 private:
25  NetworkStyle(const QString &appName, const int iconColorHueShift, const int iconColorSaturationReduction, const char *titleAddText);
26 
27  QString appName;
28  QIcon appIcon;
30  QString titleAddText;
31 };
32 
33 #endif // FABCOIN_QT_NETWORKSTYLE_H
const QString & getAppName() const
Definition: networkstyle.h:19
const int iconColorHueShift
QIcon trayAndWindowIcon
Definition: networkstyle.h:29
const char * networkId
QString titleAddText
Definition: networkstyle.h:30
QString appName
Definition: networkstyle.h:27
const int iconColorSaturationReduction
const QIcon & getTrayAndWindowIcon() const
Definition: networkstyle.h:21
NetworkStyle(const QString &appName, const int iconColorHueShift, const int iconColorSaturationReduction, const char *titleAddText)
const QIcon & getAppIcon() const
Definition: networkstyle.h:20
static const NetworkStyle * instantiate(const QString &networkId)
Get style associated with provided BIP70 network id, or 0 if not known.
const QString & getTitleAddText() const
Definition: networkstyle.h:22