9 #ifndef UI_OPTIONSDIALOG_H 10 #define UI_OPTIONSDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QDialog> 18 #include <QtWidgets/QFrame> 19 #include <QtWidgets/QGroupBox> 20 #include <QtWidgets/QHBoxLayout> 21 #include <QtWidgets/QHeaderView> 22 #include <QtWidgets/QLabel> 23 #include <QtWidgets/QLineEdit> 24 #include <QtWidgets/QPushButton> 25 #include <QtWidgets/QSpacerItem> 26 #include <QtWidgets/QSpinBox> 27 #include <QtWidgets/QTabWidget> 28 #include <QtWidgets/QVBoxLayout> 29 #include <QtWidgets/QWidget> 135 OptionsDialog->setObjectName(QStringLiteral(
"OptionsDialog"));
141 tabWidget->setObjectName(QStringLiteral(
"tabWidget"));
143 tabMain->setObjectName(QStringLiteral(
"tabMain"));
158 prune->setObjectName(QStringLiteral(
"prune"));
163 pruneSize->setObjectName(QStringLiteral(
"pruneSize"));
181 pruneWarning->setObjectName(QStringLiteral(
"pruneWarning"));
195 databaseCache->setObjectName(QStringLiteral(
"databaseCache"));
232 verticalSpacer_Main =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
238 tabWallet->setObjectName(QStringLiteral(
"tabWallet"));
242 groupBox->setObjectName(QStringLiteral(
"groupBox"));
264 tabNetwork->setObjectName(QStringLiteral(
"tabNetwork"));
268 mapPortUpnp->setObjectName(QStringLiteral(
"mapPortUpnp"));
273 allowIncoming->setObjectName(QStringLiteral(
"allowIncoming"));
278 connectSocks->setObjectName(QStringLiteral(
"connectSocks"));
285 proxyIpLabel->setObjectName(QStringLiteral(
"proxyIpLabel"));
291 proxyIp->setObjectName(QStringLiteral(
"proxyIp"));
292 proxyIp->setMinimumSize(QSize(140, 0));
293 proxyIp->setMaximumSize(QSize(140, 16777215));
304 proxyPort->setObjectName(QStringLiteral(
"proxyPort"));
306 proxyPort->setMaximumSize(QSize(55, 16777215));
350 proxyReachTor->setObjectName(QStringLiteral(
"proxyReachTor"));
382 proxyIpTor->setObjectName(QStringLiteral(
"proxyIpTor"));
384 proxyIpTor->setMaximumSize(QSize(140, 16777215));
395 proxyPortTor->setObjectName(QStringLiteral(
"proxyPortTor"));
414 tabWindow->setObjectName(QStringLiteral(
"tabWindow"));
418 hideTrayIcon->setObjectName(QStringLiteral(
"hideTrayIcon"));
438 tabDisplay->setObjectName(QStringLiteral(
"tabDisplay"));
444 langLabel->setObjectName(QStringLiteral(
"langLabel"));
450 lang->setObjectName(QStringLiteral(
"lang"));
460 unitLabel->setObjectName(QStringLiteral(
"unitLabel"));
466 unit->setObjectName(QStringLiteral(
"unit"));
482 thirdPartyTxUrls->setPlaceholderText(QStringLiteral(
"https://example.com/tx/%s"));
498 frame->setObjectName(QStringLiteral(
"frame"));
537 resetButton->setObjectName(QStringLiteral(
"resetButton"));
545 horizontalSpacer_1 =
new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
550 statusLabel->setObjectName(QStringLiteral(
"statusLabel"));
561 horizontalSpacer_2 =
new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
567 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
574 okButton->setObjectName(QStringLiteral(
"okButton"));
580 cancelButton->setObjectName(QStringLiteral(
"cancelButton"));
594 #ifndef QT_NO_SHORTCUT 604 #endif // QT_NO_SHORTCUT 617 OptionsDialog->setWindowTitle(QApplication::translate(
"OptionsDialog",
"Options", Q_NULLPTR));
618 #ifndef QT_NO_TOOLTIP 619 bitcoinAtStartup->setToolTip(QApplication::translate(
"OptionsDialog",
"Automatically start %1 after logging in to the system.", Q_NULLPTR));
620 #endif // QT_NO_TOOLTIP 621 bitcoinAtStartup->setText(QApplication::translate(
"OptionsDialog",
"&Start %1 on system login", Q_NULLPTR));
622 #ifndef QT_NO_TOOLTIP 623 prune->setToolTip(QApplication::translate(
"OptionsDialog",
"Disables some advanced features but all blocks will still be fully validated. Reverting this setting requires re-downloading the entire blockchain. Actual disk usage may be somewhat higher.", Q_NULLPTR));
624 #endif // QT_NO_TOOLTIP 625 prune->setText(QApplication::translate(
"OptionsDialog",
"Prune &block storage to", Q_NULLPTR));
626 pruneSizeUnitLabel->setText(QApplication::translate(
"OptionsDialog",
"GB", Q_NULLPTR));
627 pruneWarning->setText(QApplication::translate(
"OptionsDialog",
"Reverting this setting requires re-downloading the entire blockchain.", Q_NULLPTR));
628 databaseCacheLabel->setText(QApplication::translate(
"OptionsDialog",
"Size of &database cache", Q_NULLPTR));
630 threadsScriptVerifLabel->setText(QApplication::translate(
"OptionsDialog",
"Number of script &verification threads", Q_NULLPTR));
631 #ifndef QT_NO_TOOLTIP 632 threadsScriptVerif->setToolTip(QApplication::translate(
"OptionsDialog",
"(0 = auto, <0 = leave that many cores free)", Q_NULLPTR));
633 #endif // QT_NO_TOOLTIP 635 groupBox->setTitle(QApplication::translate(
"OptionsDialog",
"Expert", Q_NULLPTR));
636 #ifndef QT_NO_TOOLTIP 637 coinControlFeatures->setToolTip(QApplication::translate(
"OptionsDialog",
"Whether to show coin control features or not.", Q_NULLPTR));
638 #endif // QT_NO_TOOLTIP 639 coinControlFeatures->setText(QApplication::translate(
"OptionsDialog",
"Enable coin &control features", Q_NULLPTR));
640 #ifndef QT_NO_TOOLTIP 641 spendZeroConfChange->setToolTip(QApplication::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.", Q_NULLPTR));
642 #endif // QT_NO_TOOLTIP 643 spendZeroConfChange->setText(QApplication::translate(
"OptionsDialog",
"&Spend unconfirmed change", Q_NULLPTR));
645 #ifndef QT_NO_TOOLTIP 646 mapPortUpnp->setToolTip(QApplication::translate(
"OptionsDialog",
"Automatically open the Bitcoin client port on the router. This only works when your router supports UPnP and it is enabled.", Q_NULLPTR));
647 #endif // QT_NO_TOOLTIP 648 mapPortUpnp->setText(QApplication::translate(
"OptionsDialog",
"Map port using &UPnP", Q_NULLPTR));
649 #ifndef QT_NO_TOOLTIP 650 allowIncoming->setToolTip(QApplication::translate(
"OptionsDialog",
"Accept connections from outside.", Q_NULLPTR));
651 #endif // QT_NO_TOOLTIP 652 allowIncoming->setText(QApplication::translate(
"OptionsDialog",
"Allow incomin&g connections", Q_NULLPTR));
653 #ifndef QT_NO_TOOLTIP 654 connectSocks->setToolTip(QApplication::translate(
"OptionsDialog",
"Connect to the Bitcoin network through a SOCKS5 proxy.", Q_NULLPTR));
655 #endif // QT_NO_TOOLTIP 656 connectSocks->setText(QApplication::translate(
"OptionsDialog",
"&Connect through SOCKS5 proxy (default proxy):", Q_NULLPTR));
657 proxyIpLabel->setText(QApplication::translate(
"OptionsDialog",
"Proxy &IP:", Q_NULLPTR));
658 #ifndef QT_NO_TOOLTIP 659 proxyIp->setToolTip(QApplication::translate(
"OptionsDialog",
"IP address of the proxy (e.g. IPv4: 127.0.0.1 / IPv6: ::1)", Q_NULLPTR));
660 #endif // QT_NO_TOOLTIP 661 proxyPortLabel->setText(QApplication::translate(
"OptionsDialog",
"&Port:", Q_NULLPTR));
662 #ifndef QT_NO_TOOLTIP 663 proxyPort->setToolTip(QApplication::translate(
"OptionsDialog",
"Port of the proxy (e.g. 9050)", Q_NULLPTR));
664 #endif // QT_NO_TOOLTIP 665 proxyActiveNets->setText(QApplication::translate(
"OptionsDialog",
"Used for reaching peers via:", Q_NULLPTR));
666 #ifndef QT_NO_TOOLTIP 667 proxyReachIPv4->setToolTip(QApplication::translate(
"OptionsDialog",
"Shows if the supplied default SOCKS5 proxy is used to reach peers via this network type.", Q_NULLPTR));
668 #endif // QT_NO_TOOLTIP 671 #ifndef QT_NO_TOOLTIP 672 proxyReachIPv6->setToolTip(QApplication::translate(
"OptionsDialog",
"Shows if the supplied default SOCKS5 proxy is used to reach peers via this network type.", Q_NULLPTR));
673 #endif // QT_NO_TOOLTIP 676 #ifndef QT_NO_TOOLTIP 677 proxyReachTor->setToolTip(QApplication::translate(
"OptionsDialog",
"Shows if the supplied default SOCKS5 proxy is used to reach peers via this network type.", Q_NULLPTR));
678 #endif // QT_NO_TOOLTIP 680 proxyReachTorLabel->setText(QApplication::translate(
"OptionsDialog",
"Tor", Q_NULLPTR));
681 #ifndef QT_NO_TOOLTIP 682 connectSocksTor->setToolTip(QApplication::translate(
"OptionsDialog",
"Connect to the Bitcoin network through a separate SOCKS5 proxy for Tor onion services.", Q_NULLPTR));
683 #endif // QT_NO_TOOLTIP 684 connectSocksTor->setText(QApplication::translate(
"OptionsDialog",
"Use separate SOCKS&5 proxy to reach peers via Tor onion services:", Q_NULLPTR));
685 proxyIpTorLabel->setText(QApplication::translate(
"OptionsDialog",
"Proxy &IP:", Q_NULLPTR));
686 #ifndef QT_NO_TOOLTIP 687 proxyIpTor->setToolTip(QApplication::translate(
"OptionsDialog",
"IP address of the proxy (e.g. IPv4: 127.0.0.1 / IPv6: ::1)", Q_NULLPTR));
688 #endif // QT_NO_TOOLTIP 689 proxyPortTorLabel->setText(QApplication::translate(
"OptionsDialog",
"&Port:", Q_NULLPTR));
690 #ifndef QT_NO_TOOLTIP 691 proxyPortTor->setToolTip(QApplication::translate(
"OptionsDialog",
"Port of the proxy (e.g. 9050)", Q_NULLPTR));
692 #endif // QT_NO_TOOLTIP 694 #ifndef QT_NO_TOOLTIP 695 hideTrayIcon->setToolTip(QApplication::translate(
"OptionsDialog",
"Hide the icon from the system tray.", Q_NULLPTR));
696 #endif // QT_NO_TOOLTIP 697 hideTrayIcon->setText(QApplication::translate(
"OptionsDialog",
"&Hide tray icon", Q_NULLPTR));
698 #ifndef QT_NO_TOOLTIP 699 minimizeToTray->setToolTip(QApplication::translate(
"OptionsDialog",
"Show only a tray icon after minimizing the window.", Q_NULLPTR));
700 #endif // QT_NO_TOOLTIP 701 minimizeToTray->setText(QApplication::translate(
"OptionsDialog",
"&Minimize to the tray instead of the taskbar", Q_NULLPTR));
702 #ifndef QT_NO_TOOLTIP 703 minimizeOnClose->setToolTip(QApplication::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.", Q_NULLPTR));
704 #endif // QT_NO_TOOLTIP 705 minimizeOnClose->setText(QApplication::translate(
"OptionsDialog",
"M&inimize on close", Q_NULLPTR));
707 langLabel->setText(QApplication::translate(
"OptionsDialog",
"User Interface &language:", Q_NULLPTR));
708 #ifndef QT_NO_TOOLTIP 709 lang->setToolTip(QApplication::translate(
"OptionsDialog",
"The user interface language can be set here. This setting will take effect after restarting %1.", Q_NULLPTR));
710 #endif // QT_NO_TOOLTIP 711 unitLabel->setText(QApplication::translate(
"OptionsDialog",
"&Unit to show amounts in:", Q_NULLPTR));
712 #ifndef QT_NO_TOOLTIP 713 unit->setToolTip(QApplication::translate(
"OptionsDialog",
"Choose the default subdivision unit to show in the interface and when sending coins.", Q_NULLPTR));
714 #endif // QT_NO_TOOLTIP 715 #ifndef QT_NO_TOOLTIP 716 thirdPartyTxUrlsLabel->setToolTip(QApplication::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 |.", Q_NULLPTR));
717 #endif // QT_NO_TOOLTIP 718 thirdPartyTxUrlsLabel->setText(QApplication::translate(
"OptionsDialog",
"&Third party transaction URLs", Q_NULLPTR));
719 #ifndef QT_NO_TOOLTIP 720 thirdPartyTxUrls->setToolTip(QApplication::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 |.", Q_NULLPTR));
721 #endif // QT_NO_TOOLTIP 723 overriddenByCommandLineInfoLabel->setText(QApplication::translate(
"OptionsDialog",
"Options set in this dialog are overridden by the command line or in the configuration file:", Q_NULLPTR));
725 #ifndef QT_NO_TOOLTIP 726 openBitcoinConfButton->setToolTip(QApplication::translate(
"OptionsDialog",
"Open the %1 configuration file from the working directory.", Q_NULLPTR));
727 #endif // QT_NO_TOOLTIP 728 openBitcoinConfButton->setText(QApplication::translate(
"OptionsDialog",
"Open Configuration File", Q_NULLPTR));
729 #ifndef QT_NO_TOOLTIP 730 resetButton->setToolTip(QApplication::translate(
"OptionsDialog",
"Reset all client options to default.", Q_NULLPTR));
731 #endif // QT_NO_TOOLTIP 732 resetButton->setText(QApplication::translate(
"OptionsDialog",
"&Reset Options", Q_NULLPTR));
734 okButton->setText(QApplication::translate(
"OptionsDialog",
"&OK", Q_NULLPTR));
735 cancelButton->setText(QApplication::translate(
"OptionsDialog",
"&Cancel", Q_NULLPTR));
746 #endif // UI_OPTIONSDIALOG_H QCheckBox * spendZeroConfChange
QHBoxLayout * horizontalLayout_3_Display
QCheckBox * proxyReachIPv6
QVBoxLayout * verticalLayout
QSpacerItem * horizontalSpacer_1
QSpinBox * threadsScriptVerif
QPushButton * openBitcoinConfButton
void setupUi(QDialog *OptionsDialog)
QHBoxLayout * horizontalLayout
QPushButton * cancelButton
QVBoxLayout * verticalLayout_Wallet
QSpacerItem * horizontalSpacer_1_Network
QVBoxLayout * verticalLayout_Display
QSpacerItem * horizontalSpacer_2_Network
QVBoxLayout * verticalLayout_2
QCheckBox * minimizeToTray
QHBoxLayout * horizontalLayout_2_Main
QLabel * databaseCacheUnitLabel
QLabel * threadsScriptVerifLabel
Line edit that can be marked as "invalid" to show input validation feedback.
QSpacerItem * verticalSpacer_Network
QHBoxLayout * horizontalLayout_1_Network
QHBoxLayout * horizontalLayout_Bottom
QSpacerItem * horizontalSpacer_2
QVBoxLayout * verticalLayout_Window
QHBoxLayout * horizontalLayout_Main_VerifyLabel
QLabel * proxyReachIPv4Label
QLabel * overriddenByCommandLineInfoLabel
QSpacerItem * horizontalSpacer_Main_Prune
QLabel * proxyPortTorLabel
QSpacerItem * horizontalSpacer_Main_Threads
QSpacerItem * verticalSpacer_Window
QLabel * proxyReachTorLabel
QHBoxLayout * horizontalLayout_Buttons
QHBoxLayout * horizontalLayout_2_Network
QLabel * pruneSizeUnitLabel
QHBoxLayout * horizontalLayout_Main_Prune
QCheckBox * allowIncoming
QVBoxLayout * verticalLayout_Network
QVBoxLayout * verticalLayout_4
QCheckBox * proxyReachIPv4
QSpacerItem * horizontalSpacer_2_Main
QSpacerItem * verticalSpacer
QCheckBox * connectSocksTor
QVBoxLayout * verticalLayout_Buttons
QSpacerItem * verticalSpacer_Wallet
QLabel * overriddenByCommandLineLabel
QLabel * databaseCacheLabel
QHBoxLayout * horizontalLayout_1_Display
QValidatedLineEdit * proxyIpTor
QCheckBox * minimizeOnClose
QLineEdit * thirdPartyTxUrls
QSpacerItem * verticalSpacer_Display
QSpacerItem * horizontalSpacer_0_Main
QLabel * thirdPartyTxUrlsLabel
QCheckBox * bitcoinAtStartup
QCheckBox * proxyReachTor
QVBoxLayout * verticalLayout_Main
QVBoxLayout * verticalLayout_Bottom
QLabel * proxyReachIPv6Label
QSpacerItem * horizontalSpacer_4_Network
QValidatedLineEdit * proxyIp
QSpacerItem * verticalSpacer_Main
QCheckBox * coinControlFeatures
QPushButton * resetButton
QHBoxLayout * horizontalLayout_2_Display
void retranslateUi(QDialog *OptionsDialog)
QHBoxLayout * horizontalLayout_3_Network
QSpacerItem * horizontalSpacer_Bottom