12#include <QApplication>
33 QPixmap pixmap(
":/icons/bitcoin");
43 for(
int y=0;y<
img.height();y++)
48 for(
int x=0;x<
img.width();x++)
74 pixmap.convertFromImage(
img);
std::string ChainTypeToString(ChainType chain)
static const NetworkStyle * instantiate(ChainType networkId)
Get style associated with provided network id, or 0 if not known.
NetworkStyle(const QString &appName, int iconColorHueShift, int iconColorSaturationReduction, const char *titleAddText)
#define QAPP_APP_NAME_TESTNET4
#define QAPP_APP_NAME_TESTNET
#define QAPP_APP_NAME_REGTEST
#define QAPP_APP_NAME_SIGNET
#define QAPP_APP_NAME_DEFAULT
const int iconColorHueShift
const ChainType networkId
static const struct @5 network_styles[]
const int iconColorSaturationReduction
static TranslateFn translate
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.