Bitcoin Core 28.99.0
P2P Digital Currency
Macros | Variables
guiconstants.h File Reference
#include <chrono>
#include <cstdint>
Include dependency graph for guiconstants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STYLE_INVALID   "border: 3px solid #FF8080"
 
#define COLOR_UNCONFIRMED   QColor(128, 128, 128)
 
#define COLOR_NEGATIVE   QColor(255, 0, 0)
 
#define COLOR_BAREADDRESS   QColor(140, 140, 140)
 
#define COLOR_TX_STATUS_DANGER   QColor(200, 100, 100)
 
#define COLOR_BLACK   QColor(0, 0, 0)
 
#define SPINNER_FRAMES   36
 
#define QAPP_ORG_NAME   "Bitcoin"
 
#define QAPP_ORG_DOMAIN   "bitcoin.org"
 
#define QAPP_APP_NAME_DEFAULT   "Bitcoin-Qt"
 
#define QAPP_APP_NAME_TESTNET   "Bitcoin-Qt-testnet"
 
#define QAPP_APP_NAME_TESTNET4   "Bitcoin-Qt-testnet4"
 
#define QAPP_APP_NAME_SIGNET   "Bitcoin-Qt-signet"
 
#define QAPP_APP_NAME_REGTEST   "Bitcoin-Qt-regtest"
 

Variables

static constexpr auto MODEL_UPDATE_DELAY {250ms}
 
static constexpr auto SHUTDOWN_POLLING_DELAY {200ms}
 
static const int MAX_PASSPHRASE_SIZE = 1024
 
static const int STATUSBAR_ICONSIZE = 16
 
static const bool DEFAULT_SPLASHSCREEN = true
 
static const int TOOLTIP_WRAP_THRESHOLD = 80
 
static constexpr uint64_t GB_BYTES {1000000000}
 
static constexpr int DEFAULT_PRUNE_TARGET_GB {2}
 

Macro Definition Documentation

◆ COLOR_BAREADDRESS

#define COLOR_BAREADDRESS   QColor(140, 140, 140)

Definition at line 35 of file guiconstants.h.

◆ COLOR_BLACK

#define COLOR_BLACK   QColor(0, 0, 0)

Definition at line 39 of file guiconstants.h.

◆ COLOR_NEGATIVE

#define COLOR_NEGATIVE   QColor(255, 0, 0)

Definition at line 33 of file guiconstants.h.

◆ COLOR_TX_STATUS_DANGER

#define COLOR_TX_STATUS_DANGER   QColor(200, 100, 100)

Definition at line 37 of file guiconstants.h.

◆ COLOR_UNCONFIRMED

#define COLOR_UNCONFIRMED   QColor(128, 128, 128)

Definition at line 31 of file guiconstants.h.

◆ QAPP_APP_NAME_DEFAULT

#define QAPP_APP_NAME_DEFAULT   "Bitcoin-Qt"

Definition at line 51 of file guiconstants.h.

◆ QAPP_APP_NAME_REGTEST

#define QAPP_APP_NAME_REGTEST   "Bitcoin-Qt-regtest"

Definition at line 55 of file guiconstants.h.

◆ QAPP_APP_NAME_SIGNET

#define QAPP_APP_NAME_SIGNET   "Bitcoin-Qt-signet"

Definition at line 54 of file guiconstants.h.

◆ QAPP_APP_NAME_TESTNET

#define QAPP_APP_NAME_TESTNET   "Bitcoin-Qt-testnet"

Definition at line 52 of file guiconstants.h.

◆ QAPP_APP_NAME_TESTNET4

#define QAPP_APP_NAME_TESTNET4   "Bitcoin-Qt-testnet4"

Definition at line 53 of file guiconstants.h.

◆ QAPP_ORG_DOMAIN

#define QAPP_ORG_DOMAIN   "bitcoin.org"

Definition at line 50 of file guiconstants.h.

◆ QAPP_ORG_NAME

#define QAPP_ORG_NAME   "Bitcoin"

Definition at line 49 of file guiconstants.h.

◆ SPINNER_FRAMES

#define SPINNER_FRAMES   36

Definition at line 47 of file guiconstants.h.

◆ STYLE_INVALID

#define STYLE_INVALID   "border: 3px solid #FF8080"

Definition at line 28 of file guiconstants.h.

Variable Documentation

◆ DEFAULT_PRUNE_TARGET_GB

constexpr int DEFAULT_PRUNE_TARGET_GB {2}
staticconstexpr

Definition at line 61 of file guiconstants.h.

◆ DEFAULT_SPLASHSCREEN

const bool DEFAULT_SPLASHSCREEN = true
static

Definition at line 25 of file guiconstants.h.

◆ GB_BYTES

constexpr uint64_t GB_BYTES {1000000000}
staticconstexpr

Definition at line 58 of file guiconstants.h.

◆ MAX_PASSPHRASE_SIZE

const int MAX_PASSPHRASE_SIZE = 1024
static

Definition at line 20 of file guiconstants.h.

◆ MODEL_UPDATE_DELAY

constexpr auto MODEL_UPDATE_DELAY {250ms}
staticconstexpr

Definition at line 14 of file guiconstants.h.

◆ SHUTDOWN_POLLING_DELAY

constexpr auto SHUTDOWN_POLLING_DELAY {200ms}
staticconstexpr

Definition at line 17 of file guiconstants.h.

◆ STATUSBAR_ICONSIZE

const int STATUSBAR_ICONSIZE = 16
static

Definition at line 23 of file guiconstants.h.

◆ TOOLTIP_WRAP_THRESHOLD

const int TOOLTIP_WRAP_THRESHOLD = 80
static

Definition at line 44 of file guiconstants.h.