Dash Core  0.12.2.1
P2P Digital Currency
guiconstants.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2015 The Bitcoin Core developers
2 // Copyright (c) 2014-2017 The Dash Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef BITCOIN_QT_GUICONSTANTS_H
7 #define BITCOIN_QT_GUICONSTANTS_H
8 
9 /* Milliseconds between model updates */
10 static const int MODEL_UPDATE_DELAY = 250;
11 
12 /* AskPassphraseDialog -- Maximum passphrase length */
13 static const int MAX_PASSPHRASE_SIZE = 1024;
14 
15 /* DashGUI -- Size of icons in status bar */
16 static const int STATUSBAR_ICONSIZE = 16;
17 
18 static const bool DEFAULT_SPLASHSCREEN = true;
19 
20 /* Invalid field background style */
21 #define STYLE_INVALID "background:#FF8080"
22 
23 /* Transaction list -- unconfirmed transaction */
24 #define COLOR_UNCONFIRMED QColor(128, 128, 128)
25 /* Transaction list -- negative amount */
26 #define COLOR_NEGATIVE QColor(255, 0, 0)
27 /* Transaction list -- bare address (without label) */
28 #define COLOR_BAREADDRESS QColor(140, 140, 140)
29 /* Transaction list -- TX status decoration - open until date */
30 #define COLOR_TX_STATUS_OPENUNTILDATE QColor(64, 64, 255)
31 /* Transaction list -- TX status decoration - offline */
32 #define COLOR_TX_STATUS_OFFLINE QColor(192, 192, 192)
33 /* Transaction list -- TX status decoration - danger, tx needs attention */
34 #define COLOR_TX_STATUS_DANGER QColor(200, 100, 100)
35 /* Transaction list -- TX status decoration - default color */
36 #define COLOR_BLACK QColor(0, 0, 0)
37 
38 /* Tooltips longer than this (in characters) are converted into rich text,
39  so that they can be word-wrapped.
40  */
41 static const int TOOLTIP_WRAP_THRESHOLD = 80;
42 
43 /* Maximum allowed URI length */
44 static const int MAX_URI_LENGTH = 255;
45 
46 /* QRCodeDialog -- size of exported QR Code image */
47 #define EXPORT_IMAGE_SIZE 256
48 
49 /* Number of frames in spinner animation */
50 #define SPINNER_FRAMES 36
51 
52 #define QAPP_ORG_NAME "Dash"
53 #define QAPP_ORG_DOMAIN "dash.org"
54 #define QAPP_APP_NAME_DEFAULT "Dash-Qt"
55 #define QAPP_APP_NAME_TESTNET "Dash-Qt-testnet"
56 
57 #endif // BITCOIN_QT_GUICONSTANTS_H
static const int MAX_PASSPHRASE_SIZE
Definition: guiconstants.h:13
static const bool DEFAULT_SPLASHSCREEN
Definition: guiconstants.h:18
static const int MODEL_UPDATE_DELAY
Definition: guiconstants.h:10
static const int STATUSBAR_ICONSIZE
Definition: guiconstants.h:16
static const int TOOLTIP_WRAP_THRESHOLD
Definition: guiconstants.h:41
static const int MAX_URI_LENGTH
Definition: guiconstants.h:44