2015-12-13 14:51:43 +01:00
|
|
|
// Copyright (c) 2011-2015 The Bitcoin Core developers
|
2019-06-11 13:46:07 +02:00
|
|
|
// Copyright (c) 2014-2019 The Dash Core developers
|
2014-12-13 05:09:33 +01:00
|
|
|
// Distributed under the MIT software license, see the accompanying
|
2013-11-04 16:20:43 +01:00
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
2014-11-03 16:16:40 +01:00
|
|
|
#ifndef BITCOIN_QT_GUICONSTANTS_H
|
|
|
|
#define BITCOIN_QT_GUICONSTANTS_H
|
2011-05-28 20:32:19 +02:00
|
|
|
|
2011-08-23 20:08:42 +02:00
|
|
|
/* Milliseconds between model updates */
|
2013-02-10 19:01:30 +01:00
|
|
|
static const int MODEL_UPDATE_DELAY = 250;
|
2011-05-28 20:32:19 +02:00
|
|
|
|
2012-07-06 13:45:38 +02:00
|
|
|
/* AskPassphraseDialog -- Maximum passphrase length */
|
2011-08-24 22:07:26 +02:00
|
|
|
static const int MAX_PASSPHRASE_SIZE = 1024;
|
|
|
|
|
2016-01-31 14:23:02 +01:00
|
|
|
/* DashGUI -- Size of icons in status bar */
|
2011-08-23 20:08:42 +02:00
|
|
|
static const int STATUSBAR_ICONSIZE = 16;
|
|
|
|
|
2015-11-09 19:23:46 +01:00
|
|
|
static const bool DEFAULT_SPLASHSCREEN = true;
|
|
|
|
|
2012-04-13 17:10:50 +02:00
|
|
|
/* Tooltips longer than this (in characters) are converted into rich text,
|
|
|
|
so that they can be word-wrapped.
|
|
|
|
*/
|
|
|
|
static const int TOOLTIP_WRAP_THRESHOLD = 80;
|
|
|
|
|
2012-06-24 18:28:05 +02:00
|
|
|
/* Maximum allowed URI length */
|
|
|
|
static const int MAX_URI_LENGTH = 255;
|
|
|
|
|
|
|
|
/* QRCodeDialog -- size of exported QR Code image */
|
2016-06-14 13:17:39 +02:00
|
|
|
#define QR_IMAGE_SIZE 300
|
2012-06-24 18:28:05 +02:00
|
|
|
|
2014-01-13 14:16:48 +01:00
|
|
|
/* Number of frames in spinner animation */
|
2015-09-12 12:09:16 +02:00
|
|
|
#define SPINNER_FRAMES 36
|
2014-01-13 14:16:48 +01:00
|
|
|
|
2015-03-18 00:06:58 +01:00
|
|
|
#define QAPP_ORG_NAME "Dash"
|
2016-01-31 14:11:16 +01:00
|
|
|
#define QAPP_ORG_DOMAIN "dash.org"
|
2015-03-18 00:06:58 +01:00
|
|
|
#define QAPP_APP_NAME_DEFAULT "Dash-Qt"
|
|
|
|
#define QAPP_APP_NAME_TESTNET "Dash-Qt-testnet"
|
2017-12-20 12:45:01 +01:00
|
|
|
#define QAPP_APP_NAME_DEVNET "Dash-Qt-%s"
|
2014-03-11 08:32:07 +01:00
|
|
|
|
2014-11-03 16:16:40 +01:00
|
|
|
#endif // BITCOIN_QT_GUICONSTANTS_H
|