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