Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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 BITCOIN_QT_NETWORKSTYLE_H
6#define BITCOIN_QT_NETWORKSTYLE_H
7
8#include <QIcon>
9#include <QPixmap>
10#include <QString>
11
12/* Coin network-specific GUI style information */
14public:
18 static const NetworkStyle *instantiate(const std::string &networkId);
19
20 const QString &getAppName() const { return appName; }
21 const QIcon &getAppIcon() const { return appIcon; }
22 const QIcon &getTrayAndWindowIcon() const { return trayAndWindowIcon; }
23 const QString &getTitleAddText() const { return titleAddText; }
24
25private:
28 const char *titleAddText);
29
34};
35
36#endif // BITCOIN_QT_NETWORKSTYLE_H
const QIcon & getTrayAndWindowIcon() const
QString appName
static const NetworkStyle * instantiate(const std::string &networkId)
Get style associated with provided BIP70 network id, or 0 if not known.
const QIcon & getAppIcon() const
QIcon trayAndWindowIcon
QString titleAddText
const QString & getAppName() const
const QString & getTitleAddText() const
const int iconColorHueShift
const int iconColorSaturationReduction
const char * networkId
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85