PosTab
[novacoin.git] / src / qt / guiconstants.h
1 #ifndef GUICONSTANTS_H
2 #define GUICONSTANTS_H
3
4 /* Milliseconds between model updates */
5 static const int MODEL_UPDATE_DELAY = 500;
6
7 /* AskPassphraseDialog -- Maximum passphrase length */
8 static const int MAX_PASSPHRASE_SIZE = 1024;
9
10 /* BitcoinGUI -- Size of icons in status bar */
11 static const int STATUSBAR_ICONSIZE = 16;
12
13 /* Invalid field background style */
14 #define STYLE_INVALID "background:#FF8080"
15
16 /* Transaction list -- unconfirmed transaction */
17 #define COLOR_UNCONFIRMED QColor(128, 128, 128)
18 /* Transaction list -- negative amount */
19 #define COLOR_NEGATIVE QColor(255, 0, 0)
20 /* Transaction list -- bare address (without label) */
21 #define COLOR_BAREADDRESS QColor(140, 140, 140)
22
23 /* Tooltips longer than this (in characters) are converted into rich text,
24    so that they can be word-wrapped.
25  */
26 static const int TOOLTIP_WRAP_THRESHOLD = 80;
27
28 /* Maximum allowed URI length */
29 static const int MAX_URI_LENGTH = 255;
30
31 /* QRCodeDialog -- size of exported QR Code image */
32 #define EXPORT_IMAGE_SIZE 256
33
34 /* Colors for minting tab for each coin age group */
35 #define COLOR_MINT_YOUNG QColor(127, 127, 240)
36 #define COLOR_MINT_MATURE QColor(127, 240, 127)
37 #define COLOR_MINT_OLD QColor(240, 127, 127)
38
39 #endif // GUICONSTANTS_H