9#ifndef UI_OPTIONSDIALOG_H
10#define UI_OPTIONSDIALOG_H
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QCheckBox>
15#include <QtWidgets/QDialog>
16#include <QtWidgets/QFrame>
17#include <QtWidgets/QGroupBox>
18#include <QtWidgets/QHBoxLayout>
19#include <QtWidgets/QLabel>
20#include <QtWidgets/QLineEdit>
21#include <QtWidgets/QPushButton>
22#include <QtWidgets/QRadioButton>
23#include <QtWidgets/QSpacerItem>
24#include <QtWidgets/QSpinBox>
25#include <QtWidgets/QTabWidget>
26#include <QtWidgets/QVBoxLayout>
27#include <QtWidgets/QWidget>
156 OptionsDialog->setObjectName(QString::fromUtf8(
"OptionsDialog"));
160 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
162 tabWidget->setObjectName(QString::fromUtf8(
"tabWidget"));
164 tabMain->setObjectName(QString::fromUtf8(
"tabMain"));
179 prune->setObjectName(QString::fromUtf8(
"prune"));
184 pruneSize->setObjectName(QString::fromUtf8(
"pruneSize"));
202 pruneWarning->setObjectName(QString::fromUtf8(
"pruneWarning"));
216 databaseCache->setObjectName(QString::fromUtf8(
"databaseCache"));
254 enableServer->setObjectName(QString::fromUtf8(
"enableServer"));
258 verticalSpacer_Main =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
264 tabWallet->setObjectName(QString::fromUtf8(
"tabWallet"));
273 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
290 groupBoxHww->setObjectName(QString::fromUtf8(
"groupBoxHww"));
317 tabNetwork->setObjectName(QString::fromUtf8(
"tabNetwork"));
321 mapPortUpnp->setObjectName(QString::fromUtf8(
"mapPortUpnp"));
326 mapPortNatpmp->setObjectName(QString::fromUtf8(
"mapPortNatpmp"));
331 allowIncoming->setObjectName(QString::fromUtf8(
"allowIncoming"));
336 connectSocks->setObjectName(QString::fromUtf8(
"connectSocks"));
343 proxyIpLabel->setObjectName(QString::fromUtf8(
"proxyIpLabel"));
349 proxyIp->setObjectName(QString::fromUtf8(
"proxyIp"));
350 proxyIp->setMinimumSize(QSize(140, 0));
351 proxyIp->setMaximumSize(QSize(140, 16777215));
356 proxyPortLabel->setObjectName(QString::fromUtf8(
"proxyPortLabel"));
362 proxyPort->setObjectName(QString::fromUtf8(
"proxyPort"));
364 proxyPort->setMaximumSize(QSize(55, 16777215));
384 proxyReachIPv4->setObjectName(QString::fromUtf8(
"proxyReachIPv4"));
396 proxyReachIPv6->setObjectName(QString::fromUtf8(
"proxyReachIPv6"));
408 proxyReachTor->setObjectName(QString::fromUtf8(
"proxyReachTor"));
440 proxyIpTor->setObjectName(QString::fromUtf8(
"proxyIpTor"));
442 proxyIpTor->setMaximumSize(QSize(140, 16777215));
453 proxyPortTor->setObjectName(QString::fromUtf8(
"proxyPortTor"));
472 tabWindow->setObjectName(QString::fromUtf8(
"tabWindow"));
476 showTrayIcon->setObjectName(QString::fromUtf8(
"showTrayIcon"));
482 minimizeToTray->setObjectName(QString::fromUtf8(
"minimizeToTray"));
497 tabDisplay->setObjectName(QString::fromUtf8(
"tabDisplay"));
503 langLabel->setObjectName(QString::fromUtf8(
"langLabel"));
509 lang->setObjectName(QString::fromUtf8(
"lang"));
519 unitLabel->setObjectName(QString::fromUtf8(
"unitLabel"));
525 unit->setObjectName(QString::fromUtf8(
"unit"));
541 thirdPartyTxUrls->setPlaceholderText(QString::fromUtf8(
"https://example.com/tx/%s"));
549 font_groupBox->setObjectName(QString::fromUtf8(
"font_groupBox"));
584 font_line->setObjectName(QString::fromUtf8(
"font_line"));
586 font_line->setFrameShadow(QFrame::Sunken);
633 frame->setObjectName(QString::fromUtf8(
"frame"));
672 resetButton->setObjectName(QString::fromUtf8(
"resetButton"));
680 horizontalSpacer_1 =
new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
685 statusLabel->setObjectName(QString::fromUtf8(
"statusLabel"));
696 horizontalSpacer_2 =
new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
702 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
709 okButton->setObjectName(QString::fromUtf8(
"okButton"));
715 cancelButton->setObjectName(QString::fromUtf8(
"cancelButton"));
729#if QT_CONFIG(shortcut)
753 OptionsDialog->setWindowTitle(QCoreApplication::translate(
"OptionsDialog",
"Options",
nullptr));
754#if QT_CONFIG(tooltip)
755 bitcoinAtStartup->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Automatically start %1 after logging in to the system.",
nullptr));
757 bitcoinAtStartup->setText(QCoreApplication::translate(
"OptionsDialog",
"Start %1 on system &login",
nullptr));
758#if QT_CONFIG(tooltip)
759 prune->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Enabling pruning significantly reduces the disk space required to store transactions. All blocks are still fully validated. Reverting this setting requires re-downloading the entire blockchain.",
nullptr));
761 prune->setText(QCoreApplication::translate(
"OptionsDialog",
"Prune &block storage to",
nullptr));
762 pruneSizeUnitLabel->setText(QCoreApplication::translate(
"OptionsDialog",
"GB",
nullptr));
763 pruneWarning->setText(QCoreApplication::translate(
"OptionsDialog",
"Reverting this setting requires re-downloading the entire blockchain.",
nullptr));
764#if QT_CONFIG(tooltip)
765 databaseCacheLabel->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Maximum database cache size. A larger cache can contribute to faster sync, after which the benefit is less pronounced for most use cases. Lowering the cache size will reduce memory usage. Unused mempool memory is shared for this cache.",
nullptr));
767 databaseCacheLabel->setText(QCoreApplication::translate(
"OptionsDialog",
"Size of &database cache",
nullptr));
769#if QT_CONFIG(tooltip)
770 threadsScriptVerifLabel->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Set the number of script verification threads. Negative values correspond to the number of cores you want to leave free to the system.",
nullptr));
772 threadsScriptVerifLabel->setText(QCoreApplication::translate(
"OptionsDialog",
"Number of script &verification threads",
nullptr));
773#if QT_CONFIG(tooltip)
774 threadsScriptVerif->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"(0 = auto, <0 = leave that many cores free)",
nullptr));
776#if QT_CONFIG(tooltip)
777 enableServer->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"This allows you or a third party tool to communicate with the node through command-line and JSON-RPC commands.",
nullptr));
779 enableServer->setText(QCoreApplication::translate(
"OptionsDialog",
"Enable RPC &server",
nullptr));
781#if QT_CONFIG(tooltip)
782 subFeeFromAmount->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Whether to set subtract fee from amount as default or not.",
nullptr));
784 subFeeFromAmount->setText(QCoreApplication::translate(
"OptionsDialog",
"Subtract &fee from amount by default",
nullptr));
785 groupBox->setTitle(QCoreApplication::translate(
"OptionsDialog",
"Expert",
nullptr));
786#if QT_CONFIG(tooltip)
787 coinControlFeatures->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Whether to show coin control features or not.",
nullptr));
789 coinControlFeatures->setText(QCoreApplication::translate(
"OptionsDialog",
"Enable coin &control features",
nullptr));
790#if QT_CONFIG(tooltip)
791 spendZeroConfChange->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"If you disable the spending of unconfirmed change, the change from a transaction cannot be used until that transaction has at least one confirmation. This also affects how your balance is computed.",
nullptr));
793 spendZeroConfChange->setText(QCoreApplication::translate(
"OptionsDialog",
"&Spend unconfirmed change",
nullptr));
794 groupBoxHww->setTitle(QCoreApplication::translate(
"OptionsDialog",
"External Signer (e.g. hardware wallet)",
nullptr));
795 externalSignerPathLabel->setText(QCoreApplication::translate(
"OptionsDialog",
"&External signer script path",
nullptr));
796#if QT_CONFIG(tooltip)
797 externalSignerPath->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Full path to a Bitcoin Core compatible script (e.g. C:\\Downloads\\hwi.exe or /Users/you/Downloads/hwi.py). Beware: malware can steal your coins!",
nullptr));
800#if QT_CONFIG(tooltip)
801 mapPortUpnp->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Automatically open the Bitcoin client port on the router. This only works when your router supports UPnP and it is enabled.",
nullptr));
803 mapPortUpnp->setText(QCoreApplication::translate(
"OptionsDialog",
"Map port using &UPnP",
nullptr));
804#if QT_CONFIG(tooltip)
805 mapPortNatpmp->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Automatically open the Bitcoin client port on the router. This only works when your router supports NAT-PMP and it is enabled. The external port could be random.",
nullptr));
807 mapPortNatpmp->setText(QCoreApplication::translate(
"OptionsDialog",
"Map port using NA&T-PMP",
nullptr));
808#if QT_CONFIG(tooltip)
809 allowIncoming->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Accept connections from outside.",
nullptr));
811 allowIncoming->setText(QCoreApplication::translate(
"OptionsDialog",
"Allow incomin&g connections",
nullptr));
812#if QT_CONFIG(tooltip)
813 connectSocks->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Connect to the Bitcoin network through a SOCKS5 proxy.",
nullptr));
815 connectSocks->setText(QCoreApplication::translate(
"OptionsDialog",
"&Connect through SOCKS5 proxy (default proxy):",
nullptr));
816 proxyIpLabel->setText(QCoreApplication::translate(
"OptionsDialog",
"Proxy &IP:",
nullptr));
817#if QT_CONFIG(tooltip)
818 proxyIp->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"IP address of the proxy (e.g. IPv4: 127.0.0.1 / IPv6: ::1)",
nullptr));
820 proxyPortLabel->setText(QCoreApplication::translate(
"OptionsDialog",
"&Port:",
nullptr));
821#if QT_CONFIG(tooltip)
822 proxyPort->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Port of the proxy (e.g. 9050)",
nullptr));
824 proxyActiveNets->setText(QCoreApplication::translate(
"OptionsDialog",
"Used for reaching peers via:",
nullptr));
825#if QT_CONFIG(tooltip)
826 proxyReachIPv4->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Shows if the supplied default SOCKS5 proxy is used to reach peers via this network type.",
nullptr));
829 proxyReachIPv4Label->setText(QCoreApplication::translate(
"OptionsDialog",
"IPv4",
nullptr));
830#if QT_CONFIG(tooltip)
831 proxyReachIPv6->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Shows if the supplied default SOCKS5 proxy is used to reach peers via this network type.",
nullptr));
834 proxyReachIPv6Label->setText(QCoreApplication::translate(
"OptionsDialog",
"IPv6",
nullptr));
835#if QT_CONFIG(tooltip)
836 proxyReachTor->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Shows if the supplied default SOCKS5 proxy is used to reach peers via this network type.",
nullptr));
839 proxyReachTorLabel->setText(QCoreApplication::translate(
"OptionsDialog",
"Tor",
nullptr));
840#if QT_CONFIG(tooltip)
841 connectSocksTor->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Connect to the Bitcoin network through a separate SOCKS5 proxy for Tor onion services.",
nullptr));
843 connectSocksTor->setText(QCoreApplication::translate(
"OptionsDialog",
"Use separate SOCKS&5 proxy to reach peers via Tor onion services:",
nullptr));
844 proxyIpTorLabel->setText(QCoreApplication::translate(
"OptionsDialog",
"Proxy &IP:",
nullptr));
845#if QT_CONFIG(tooltip)
846 proxyIpTor->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"IP address of the proxy (e.g. IPv4: 127.0.0.1 / IPv6: ::1)",
nullptr));
848 proxyPortTorLabel->setText(QCoreApplication::translate(
"OptionsDialog",
"&Port:",
nullptr));
849#if QT_CONFIG(tooltip)
850 proxyPortTor->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Port of the proxy (e.g. 9050)",
nullptr));
853#if QT_CONFIG(tooltip)
854 showTrayIcon->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Show the icon in the system tray.",
nullptr));
856 showTrayIcon->setText(QCoreApplication::translate(
"OptionsDialog",
"&Show tray icon",
nullptr));
857#if QT_CONFIG(tooltip)
858 minimizeToTray->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Show only a tray icon after minimizing the window.",
nullptr));
860 minimizeToTray->setText(QCoreApplication::translate(
"OptionsDialog",
"&Minimize to the tray instead of the taskbar",
nullptr));
861#if QT_CONFIG(tooltip)
862 minimizeOnClose->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Minimize instead of exit the application when the window is closed. When this option is enabled, the application will be closed only after selecting Exit in the menu.",
nullptr));
864 minimizeOnClose->setText(QCoreApplication::translate(
"OptionsDialog",
"M&inimize on close",
nullptr));
866 langLabel->setText(QCoreApplication::translate(
"OptionsDialog",
"User Interface &language:",
nullptr));
867#if QT_CONFIG(tooltip)
868 lang->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"The user interface language can be set here. This setting will take effect after restarting %1.",
nullptr));
870 unitLabel->setText(QCoreApplication::translate(
"OptionsDialog",
"&Unit to show amounts in:",
nullptr));
871#if QT_CONFIG(tooltip)
872 unit->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Choose the default subdivision unit to show in the interface and when sending coins.",
nullptr));
874#if QT_CONFIG(tooltip)
875 thirdPartyTxUrlsLabel->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Third-party URLs (e.g. a block explorer) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.",
nullptr));
877 thirdPartyTxUrlsLabel->setText(QCoreApplication::translate(
"OptionsDialog",
"&Third-party transaction URLs",
nullptr));
878#if QT_CONFIG(tooltip)
879 thirdPartyTxUrls->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Third-party URLs (e.g. a block explorer) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.",
nullptr));
881 font_groupBox->setTitle(QCoreApplication::translate(
"OptionsDialog",
"Monospaced font in the Overview tab:",
nullptr));
883 systemFont_radioButton->setText(QCoreApplication::translate(
"OptionsDialog",
"closest matching \"%1\"",
nullptr));
885 overriddenByCommandLineInfoLabel->setText(QCoreApplication::translate(
"OptionsDialog",
"Options set in this dialog are overridden by the command line or in the configuration file:",
nullptr));
887#if QT_CONFIG(tooltip)
888 openBitcoinConfButton->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Open the %1 configuration file from the working directory.",
nullptr));
890 openBitcoinConfButton->setText(QCoreApplication::translate(
"OptionsDialog",
"Open Configuration File",
nullptr));
891#if QT_CONFIG(tooltip)
892 resetButton->setToolTip(QCoreApplication::translate(
"OptionsDialog",
"Reset all client options to default.",
nullptr));
894 resetButton->setText(QCoreApplication::translate(
"OptionsDialog",
"&Reset Options",
nullptr));
896 okButton->setText(QCoreApplication::translate(
"OptionsDialog",
"&OK",
nullptr));
897 cancelButton->setText(QCoreApplication::translate(
"OptionsDialog",
"&Cancel",
nullptr));
Line edit that can be marked as "invalid" to show input validation feedback.
QSpacerItem * horizontalSpacer_Main_Prune
QSpacerItem * horizontalSpacer_Bottom
QSpacerItem * horizontalSpacer_1_Network
QRadioButton * systemFont_radioButton
QVBoxLayout * verticalLayout_Window
QVBoxLayout * verticalLayout
QSpacerItem * embeddedFont_horizontalSpacer
QSpacerItem * verticalSpacer_Network
QHBoxLayout * horizontalLayout_Main_VerifyLabel
QSpacerItem * verticalSpacer_Display
QLabel * overriddenByCommandLineLabel
QHBoxLayout * horizontalLayout_Main_Prune
QHBoxLayout * horizontalLayout_1_Network
QSpinBox * threadsScriptVerif
QSpacerItem * verticalSpacer_Window
QLabel * overriddenByCommandLineInfoLabel
QHBoxLayout * horizontalLayoutHww
QVBoxLayout * verticalLayout_Display
QVBoxLayout * font_verticalLayout
QSpacerItem * verticalSpacer
QLabel * proxyPortTorLabel
QVBoxLayout * verticalLayout_2
QLabel * proxyReachIPv4Label
QPushButton * cancelButton
QLabel * databaseCacheUnitLabel
QPushButton * resetButton
QHBoxLayout * horizontalLayout_3_Display
QLabel * proxyReachIPv6Label
QGroupBox * font_groupBox
QHBoxLayout * horizontalLayout_Bottom
QCheckBox * connectSocksTor
QCheckBox * minimizeToTray
void setupUi(QDialog *OptionsDialog)
QHBoxLayout * horizontalLayout_1_Display
QVBoxLayout * embeddedFont_verticalLayout
QCheckBox * bitcoinAtStartup
QVBoxLayout * verticalLayout_Buttons
QVBoxLayout * verticalLayout_Network
QHBoxLayout * embeddedFont_horizontalLayout
QVBoxLayout * verticalLayout_Main
QSpacerItem * horizontalSpacer_2_Main
QVBoxLayout * verticalLayout_4
QLineEdit * externalSignerPath
QCheckBox * subFeeFromAmount
QSpacerItem * horizontalSpacer_Main_Threads
QVBoxLayout * systemFont_verticalLayout
QVBoxLayout * verticalLayoutHww
QHBoxLayout * horizontalLayout_3_Network
QPushButton * openBitcoinConfButton
QCheckBox * coinControlFeatures
QSpacerItem * verticalSpacer_Main
QValidatedLineEdit * proxyIpTor
QSpacerItem * horizontalSpacer_2
QCheckBox * allowIncoming
QHBoxLayout * horizontalLayout_2_Network
QLabel * databaseCacheLabel
QLabel * proxyReachTorLabel
QLineEdit * thirdPartyTxUrls
QLabel * embeddedFont_label_1
void retranslateUi(QDialog *OptionsDialog)
QHBoxLayout * horizontalLayout_2_Main
QSpacerItem * horizontalSpacer_0_Main
QSpacerItem * systemFont_horizontalSpacer
QSpacerItem * horizontalSpacer_1
QVBoxLayout * verticalLayout_Wallet
QLabel * embeddedFont_label_9
QVBoxLayout * verticalLayout_Bottom
QHBoxLayout * horizontalLayout_Buttons
QLabel * externalSignerPathLabel
QCheckBox * spendZeroConfChange
QCheckBox * mapPortNatpmp
QCheckBox * proxyReachIPv4
QCheckBox * proxyReachIPv6
QLabel * systemFont_label_1
QLabel * systemFont_label_9
QLabel * threadsScriptVerifLabel
QSpacerItem * horizontalSpacer_4_Network
QSpacerItem * verticalSpacer_Wallet
QHBoxLayout * horizontalLayout_2_Display
QCheckBox * proxyReachTor
QRadioButton * embeddedFont_radioButton
QHBoxLayout * horizontalLayout
QValidatedLineEdit * proxyIp
QLabel * pruneSizeUnitLabel
QCheckBox * minimizeOnClose
QLabel * thirdPartyTxUrlsLabel
QSpacerItem * horizontalSpacer_2_Network
QHBoxLayout * systemFont_horizontalLayout