BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
guiconstants.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2018 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_GUICONSTANTS_H
6 #define BITCOIN_QT_GUICONSTANTS_H
7 
8 /* Milliseconds between model updates */
9 static const int MODEL_UPDATE_DELAY = 250;
10 
11 /* AskPassphraseDialog -- Maximum passphrase length */
12 static const int MAX_PASSPHRASE_SIZE = 1024;
13 
14 /* BitcoinGUI -- Size of icons in status bar */
15 static const int STATUSBAR_ICONSIZE = 16;
16 
17 static const bool DEFAULT_SPLASHSCREEN = true;
18 
19 /* Invalid field background style */
20 #define STYLE_INVALID "background:#FF8080"
21 
22 /* Transaction list -- unconfirmed transaction */
23 #define COLOR_UNCONFIRMED QColor(128, 128, 128)
24 /* Transaction list -- negative amount */
25 #define COLOR_NEGATIVE QColor(255, 0, 0)
26 /* Transaction list -- bare address (without label) */
27 #define COLOR_BAREADDRESS QColor(140, 140, 140)
28 /* Transaction list -- TX status decoration - open until date */
29 #define COLOR_TX_STATUS_OPENUNTILDATE QColor(64, 64, 255)
30 /* Transaction list -- TX status decoration - danger, tx needs attention */
31 #define COLOR_TX_STATUS_DANGER QColor(200, 100, 100)
32 /* Transaction list -- TX status decoration - default color */
33 #define COLOR_BLACK QColor(0, 0, 0)
34 
35 /* Tooltips longer than this (in characters) are converted into rich text,
36  so that they can be word-wrapped.
37  */
38 static const int TOOLTIP_WRAP_THRESHOLD = 80;
39 
40 /* Maximum allowed URI length */
41 static const int MAX_URI_LENGTH = 255;
42 
43 /* QRCodeDialog -- size of exported QR Code image */
44 #define QR_IMAGE_SIZE 300
45 
46 /* Number of frames in spinner animation */
47 #define SPINNER_FRAMES 36
48 
49 #define QAPP_ORG_NAME "BSHA3"
50 #define QAPP_ORG_DOMAIN "bsha3.org"
51 #define QAPP_APP_NAME_DEFAULT "BSHA3-Qt"
52 #define QAPP_APP_NAME_TESTNET "BSHA3-Qt-testnet"
53 
54 #endif // BITCOIN_QT_GUICONSTANTS_H