Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
guiconstants.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2014 The Bitcoin developers
2 // Distributed under the MIT/X11 software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef GUICONSTANTS_H
6 #define 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 /* Invalid field background style */
18 #define STYLE_INVALID "background:#FF8080"
19 
20 /* Transaction list -- unconfirmed transaction */
21 #define COLOR_UNCONFIRMED QColor(128, 128, 128)
22 /* Transaction list -- negative amount */
23 #define COLOR_NEGATIVE QColor(255, 0, 0)
24 /* Transaction list -- bare address (without label) */
25 #define COLOR_BAREADDRESS QColor(140, 140, 140)
26 
27 /* Tooltips longer than this (in characters) are converted into rich text,
28  so that they can be word-wrapped.
29  */
30 static const int TOOLTIP_WRAP_THRESHOLD = 80;
31 
32 /* Maximum allowed URI length */
33 static const int MAX_URI_LENGTH = 255;
34 
35 /* Maximum somewhat-sane size of a payment request file */
36 static const int MAX_PAYMENT_REQUEST_SIZE = 50000; // bytes
37 
38 /* QRCodeDialog -- size of exported QR Code image */
39 #define EXPORT_IMAGE_SIZE 256
40 
41 /* Number of frames in spinner animation */
42 #define SPINNER_FRAMES 35
43 
44 #define QAPP_ORG_NAME "Bitcoin"
45 #define QAPP_ORG_DOMAIN "bitcoin.org"
46 #define QAPP_APP_NAME_DEFAULT "Bitcoin-Qt"
47 #define QAPP_APP_NAME_TESTNET "Bitcoin-Qt-testnet"
48 
49 #endif // GUICONSTANTS_H
static const int MAX_PASSPHRASE_SIZE
Definition: guiconstants.h:12
static const int MAX_PAYMENT_REQUEST_SIZE
Definition: guiconstants.h:36
static const int MODEL_UPDATE_DELAY
Definition: guiconstants.h:9
static const int STATUSBAR_ICONSIZE
Definition: guiconstants.h:15
static const int TOOLTIP_WRAP_THRESHOLD
Definition: guiconstants.h:30
static const int MAX_URI_LENGTH
Definition: guiconstants.h:33