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> 141 OptionsDialog->setObjectName(QStringLiteral(
"OptionsDialog"));
147 tabWidget->setObjectName(QStringLiteral(
"tabWidget"));
149 tabMain->setObjectName(QStringLiteral(
"tabMain"));
166 databaseCache->setObjectName(QStringLiteral(
"databaseCache"));
203 verticalSpacer_Main =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
209 tabWallet->setObjectName(QStringLiteral(
"tabWallet"));
213 groupBox->setObjectName(QStringLiteral(
"groupBox"));
252 label->setObjectName(QStringLiteral(
"label"));
270 label_2->setObjectName(QStringLiteral(
"label_2"));
271 #ifndef QT_NO_STATUSTIP 272 label_2->setStatusTip(QStringLiteral(
""));
273 #endif // QT_NO_STATUSTIP 274 #ifndef QT_NO_WHATSTHIS 275 label_2->setWhatsThis(QStringLiteral(
""));
276 #endif // QT_NO_WHATSTHIS 277 #ifndef QT_NO_ACCESSIBILITY 278 label_2->setAccessibleName(QStringLiteral(
""));
279 #endif // QT_NO_ACCESSIBILITY 280 #ifndef QT_NO_ACCESSIBILITY 281 label_2->setAccessibleDescription(QStringLiteral(
""));
282 #endif // QT_NO_ACCESSIBILITY 304 tabNetwork->setObjectName(QStringLiteral(
"tabNetwork"));
308 mapPortUpnp->setObjectName(QStringLiteral(
"mapPortUpnp"));
313 allowIncoming->setObjectName(QStringLiteral(
"allowIncoming"));
318 connectSocks->setObjectName(QStringLiteral(
"connectSocks"));
325 proxyIpLabel->setObjectName(QStringLiteral(
"proxyIpLabel"));
331 proxyIp->setObjectName(QStringLiteral(
"proxyIp"));
332 proxyIp->setMinimumSize(QSize(140, 0));
333 proxyIp->setMaximumSize(QSize(140, 16777215));
344 proxyPort->setObjectName(QStringLiteral(
"proxyPort"));
346 proxyPort->setMaximumSize(QSize(55, 16777215));
390 proxyReachTor->setObjectName(QStringLiteral(
"proxyReachTor"));
422 proxyIpTor->setObjectName(QStringLiteral(
"proxyIpTor"));
424 proxyIpTor->setMaximumSize(QSize(140, 16777215));
435 proxyPortTor->setObjectName(QStringLiteral(
"proxyPortTor"));
454 tabWindow->setObjectName(QStringLiteral(
"tabWindow"));
458 hideTrayIcon->setObjectName(QStringLiteral(
"hideTrayIcon"));
478 tabDisplay->setObjectName(QStringLiteral(
"tabDisplay"));
484 langLabel->setObjectName(QStringLiteral(
"langLabel"));
490 lang->setObjectName(QStringLiteral(
"lang"));
498 label_3->setObjectName(QStringLiteral(
"label_3"));
499 #ifndef QT_NO_TOOLTIP 500 label_3->setToolTip(QStringLiteral(
""));
501 #endif // QT_NO_TOOLTIP 502 #ifndef QT_NO_STATUSTIP 503 label_3->setStatusTip(QStringLiteral(
""));
504 #endif // QT_NO_STATUSTIP 505 #ifndef QT_NO_WHATSTHIS 506 label_3->setWhatsThis(QStringLiteral(
""));
507 #endif // QT_NO_WHATSTHIS 508 #ifndef QT_NO_ACCESSIBILITY 509 label_3->setAccessibleName(QStringLiteral(
""));
510 #endif // QT_NO_ACCESSIBILITY 512 label_3->setOpenExternalLinks(
true);
513 label_3->setTextInteractionFlags(Qt::TextBrowserInteraction);
520 themeLabel->setObjectName(QStringLiteral(
"themeLabel"));
525 theme->setObjectName(QStringLiteral(
"theme"));
533 line->setObjectName(QStringLiteral(
"line"));
534 line->setFrameShape(QFrame::HLine);
535 line->setFrameShadow(QFrame::Sunken);
542 unitLabel->setObjectName(QStringLiteral(
"unitLabel"));
548 unit->setObjectName(QStringLiteral(
"unit"));
558 digitsLabel->setObjectName(QStringLiteral(
"digitsLabel"));
563 digits->setObjectName(QStringLiteral(
"digits"));
585 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
594 frame->setObjectName(QStringLiteral(
"frame"));
625 resetButton->setObjectName(QStringLiteral(
"resetButton"));
630 horizontalSpacer_1 =
new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
635 statusLabel->setObjectName(QStringLiteral(
"statusLabel"));
646 horizontalSpacer_2 =
new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
651 okButton->setObjectName(QStringLiteral(
"okButton"));
657 cancelButton->setObjectName(QStringLiteral(
"cancelButton"));
665 #ifndef QT_NO_SHORTCUT 675 #endif // QT_NO_SHORTCUT 688 OptionsDialog->setWindowTitle(QApplication::translate(
"OptionsDialog",
"Options", 0));
689 #ifndef QT_NO_TOOLTIP 690 bitcoinAtStartup->setToolTip(QApplication::translate(
"OptionsDialog",
"Automatically start Dash Core after logging in to the system.", 0));
691 #endif // QT_NO_TOOLTIP 692 bitcoinAtStartup->setText(QApplication::translate(
"OptionsDialog",
"&Start Dash Core on system login", 0));
693 databaseCacheLabel->setText(QApplication::translate(
"OptionsDialog",
"Size of &database cache", 0));
695 threadsScriptVerifLabel->setText(QApplication::translate(
"OptionsDialog",
"Number of script &verification threads", 0));
696 #ifndef QT_NO_TOOLTIP 697 threadsScriptVerif->setToolTip(QApplication::translate(
"OptionsDialog",
"(0 = auto, <0 = leave that many cores free)", 0));
698 #endif // QT_NO_TOOLTIP 700 groupBox->setTitle(QApplication::translate(
"OptionsDialog",
"Expert", 0));
701 #ifndef QT_NO_TOOLTIP 702 coinControlFeatures->setToolTip(QApplication::translate(
"OptionsDialog",
"Whether to show coin control features or not.", 0));
703 #endif // QT_NO_TOOLTIP 704 coinControlFeatures->setText(QApplication::translate(
"OptionsDialog",
"Enable coin &control features", 0));
705 #ifndef QT_NO_TOOLTIP 706 showMasternodesTab->setToolTip(QApplication::translate(
"OptionsDialog",
"Show additional tab listing all your masternodes in first sub-tab<br/>and all masternodes on the network in second sub-tab.", 0));
707 #endif // QT_NO_TOOLTIP 708 showMasternodesTab->setText(QApplication::translate(
"OptionsDialog",
"Show Masternodes Tab", 0));
709 #ifndef QT_NO_TOOLTIP 710 showAdvancedPSUI->setToolTip(QApplication::translate(
"OptionsDialog",
"Show additional information and buttons for PrivateSend on overview screen.", 0));
711 #endif // QT_NO_TOOLTIP 712 showAdvancedPSUI->setText(QApplication::translate(
"OptionsDialog",
"Enable advanced PrivateSend interface", 0));
713 #ifndef QT_NO_TOOLTIP 714 lowKeysWarning->setToolTip(QApplication::translate(
"OptionsDialog",
"Show warning dialog when PrivateSend detects that wallet has very low number of keys left.", 0));
715 #endif // QT_NO_TOOLTIP 716 lowKeysWarning->setText(QApplication::translate(
"OptionsDialog",
"Warn if PrivateSend is running out of keys", 0));
717 #ifndef QT_NO_TOOLTIP 718 privateSendMultiSession->setToolTip(QApplication::translate(
"OptionsDialog",
"Whether to use experimental PrivateSend mode with multiple mixing sessions per block.<br/>Note: You must use this feature carefully.<br/>Make sure you always have recent wallet (auto)backup in a safe place!", 0));
719 #endif // QT_NO_TOOLTIP 720 privateSendMultiSession->setText(QApplication::translate(
"OptionsDialog",
"Enable PrivateSend &multi-session", 0));
721 #ifndef QT_NO_TOOLTIP 722 spendZeroConfChange->setToolTip(QApplication::translate(
"OptionsDialog",
"If you disable the spending of unconfirmed change, the change from a transaction<br/>cannot be used until that transaction has at least one confirmation.<br/>This also affects how your balance is computed.", 0));
723 #endif // QT_NO_TOOLTIP 724 spendZeroConfChange->setText(QApplication::translate(
"OptionsDialog",
"&Spend unconfirmed change", 0));
725 #ifndef QT_NO_TOOLTIP 726 label->setToolTip(QApplication::translate(
"OptionsDialog",
"This setting determines the amount of individual masternodes that an input will be anonymized through.<br/>More rounds of anonymization gives a higher degree of privacy, but also costs more in fees.", 0));
727 #endif // QT_NO_TOOLTIP 728 label->setText(QApplication::translate(
"OptionsDialog",
"PrivateSend rounds to use", 0));
729 #ifndef QT_NO_TOOLTIP 730 label_2->setToolTip(QApplication::translate(
"OptionsDialog",
"This amount acts as a threshold to turn off PrivateSend once it's reached.", 0));
731 #endif // QT_NO_TOOLTIP 732 label_2->setText(QApplication::translate(
"OptionsDialog",
"Amount of Dash to keep anonymized", 0));
734 #ifndef QT_NO_TOOLTIP 735 mapPortUpnp->setToolTip(QApplication::translate(
"OptionsDialog",
"Automatically open the Dash Core client port on the router. This only works when your router supports UPnP and it is enabled.", 0));
736 #endif // QT_NO_TOOLTIP 737 mapPortUpnp->setText(QApplication::translate(
"OptionsDialog",
"Map port using &UPnP", 0));
738 #ifndef QT_NO_TOOLTIP 739 allowIncoming->setToolTip(QApplication::translate(
"OptionsDialog",
"Accept connections from outside", 0));
740 #endif // QT_NO_TOOLTIP 741 allowIncoming->setText(QApplication::translate(
"OptionsDialog",
"Allow incoming connections", 0));
742 #ifndef QT_NO_TOOLTIP 743 connectSocks->setToolTip(QApplication::translate(
"OptionsDialog",
"Connect to the Dash network through a SOCKS5 proxy.", 0));
744 #endif // QT_NO_TOOLTIP 745 connectSocks->setText(QApplication::translate(
"OptionsDialog",
"&Connect through SOCKS5 proxy (default proxy):", 0));
746 proxyIpLabel->setText(QApplication::translate(
"OptionsDialog",
"Proxy &IP:", 0));
747 #ifndef QT_NO_TOOLTIP 748 proxyIp->setToolTip(QApplication::translate(
"OptionsDialog",
"IP address of the proxy (e.g. IPv4: 127.0.0.1 / IPv6: ::1)", 0));
749 #endif // QT_NO_TOOLTIP 750 proxyPortLabel->setText(QApplication::translate(
"OptionsDialog",
"&Port:", 0));
751 #ifndef QT_NO_TOOLTIP 752 proxyPort->setToolTip(QApplication::translate(
"OptionsDialog",
"Port of the proxy (e.g. 9050)", 0));
753 #endif // QT_NO_TOOLTIP 754 proxyActiveNets->setText(QApplication::translate(
"OptionsDialog",
"Used for reaching peers via:", 0));
755 #ifndef QT_NO_TOOLTIP 756 proxyReachIPv4->setToolTip(QApplication::translate(
"OptionsDialog",
"Shows, if the supplied default SOCKS5 proxy is used to reach peers via this network type.", 0));
757 #endif // QT_NO_TOOLTIP 760 #ifndef QT_NO_TOOLTIP 761 proxyReachIPv6->setToolTip(QApplication::translate(
"OptionsDialog",
"Shows, if the supplied default SOCKS5 proxy is used to reach peers via this network type.", 0));
762 #endif // QT_NO_TOOLTIP 765 #ifndef QT_NO_TOOLTIP 766 proxyReachTor->setToolTip(QApplication::translate(
"OptionsDialog",
"Shows, if the supplied default SOCKS5 proxy is used to reach peers via this network type.", 0));
767 #endif // QT_NO_TOOLTIP 770 #ifndef QT_NO_TOOLTIP 771 connectSocksTor->setToolTip(QApplication::translate(
"OptionsDialog",
"Connect to the Dash network through a separate SOCKS5 proxy for Tor hidden services.", 0));
772 #endif // QT_NO_TOOLTIP 773 connectSocksTor->setText(QApplication::translate(
"OptionsDialog",
"Use separate SOCKS5 proxy to reach peers via Tor hidden services:", 0));
774 proxyIpTorLabel->setText(QApplication::translate(
"OptionsDialog",
"Proxy &IP:", 0));
775 #ifndef QT_NO_TOOLTIP 776 proxyIpTor->setToolTip(QApplication::translate(
"OptionsDialog",
"IP address of the proxy (e.g. IPv4: 127.0.0.1 / IPv6: ::1)", 0));
777 #endif // QT_NO_TOOLTIP 778 proxyPortTorLabel->setText(QApplication::translate(
"OptionsDialog",
"&Port:", 0));
779 #ifndef QT_NO_TOOLTIP 780 proxyPortTor->setToolTip(QApplication::translate(
"OptionsDialog",
"Port of the proxy (e.g. 9050)", 0));
781 #endif // QT_NO_TOOLTIP 783 #ifndef QT_NO_TOOLTIP 784 hideTrayIcon->setToolTip(QApplication::translate(
"OptionsDialog",
"&Hide the icon from the system tray.", 0));
785 #endif // QT_NO_TOOLTIP 786 hideTrayIcon->setText(QApplication::translate(
"OptionsDialog",
"Hide tray icon", 0));
787 #ifndef QT_NO_TOOLTIP 788 minimizeToTray->setToolTip(QApplication::translate(
"OptionsDialog",
"Show only a tray icon after minimizing the window.", 0));
789 #endif // QT_NO_TOOLTIP 790 minimizeToTray->setText(QApplication::translate(
"OptionsDialog",
"&Minimize to the tray instead of the taskbar", 0));
791 #ifndef QT_NO_TOOLTIP 792 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.", 0));
793 #endif // QT_NO_TOOLTIP 794 minimizeOnClose->setText(QApplication::translate(
"OptionsDialog",
"M&inimize on close", 0));
796 langLabel->setText(QApplication::translate(
"OptionsDialog",
"User Interface &language:", 0));
797 #ifndef QT_NO_TOOLTIP 798 lang->setToolTip(QApplication::translate(
"OptionsDialog",
"The user interface language can be set here. This setting will take effect after restarting Dash Core.", 0));
799 #endif // QT_NO_TOOLTIP 800 label_3->setText(QApplication::translate(
"OptionsDialog",
"Language missing or translation incomplete? Help contributing translations here:\n" 801 "https://www.transifex.com/projects/p/dash/", 0));
802 themeLabel->setText(QApplication::translate(
"OptionsDialog",
"User Interface Theme:", 0));
803 unitLabel->setText(QApplication::translate(
"OptionsDialog",
"&Unit to show amounts in:", 0));
804 #ifndef QT_NO_TOOLTIP 805 unit->setToolTip(QApplication::translate(
"OptionsDialog",
"Choose the default subdivision unit to show in the interface and when sending coins.", 0));
806 #endif // QT_NO_TOOLTIP 807 digitsLabel->setText(QApplication::translate(
"OptionsDialog",
"Decimal digits", 0));
808 #ifndef QT_NO_TOOLTIP 809 thirdPartyTxUrlsLabel->setToolTip(QApplication::translate(
"OptionsDialog",
"Third party URLs (e.g. a block explorer) that appear in the transactions tab as context menu items.<br/>%s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.", 0));
810 #endif // QT_NO_TOOLTIP 811 thirdPartyTxUrlsLabel->setText(QApplication::translate(
"OptionsDialog",
"Third party transaction URLs", 0));
812 #ifndef QT_NO_TOOLTIP 813 thirdPartyTxUrls->setToolTip(QApplication::translate(
"OptionsDialog",
"Third party URLs (e.g. a block explorer) that appear in the transactions tab as context menu items.<br/>%s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.", 0));
814 #endif // QT_NO_TOOLTIP 818 #ifndef QT_NO_TOOLTIP 819 resetButton->setToolTip(QApplication::translate(
"OptionsDialog",
"Reset all client options to default.", 0));
820 #endif // QT_NO_TOOLTIP 821 resetButton->setText(QApplication::translate(
"OptionsDialog",
"&Reset Options", 0));
823 okButton->setText(QApplication::translate(
"OptionsDialog",
"&OK", 0));
824 cancelButton->setText(QApplication::translate(
"OptionsDialog",
"&Cancel", 0));
835 #endif // UI_OPTIONSDIALOG_H QLabel * databaseCacheUnitLabel
QVBoxLayout * verticalLayout_Display
QHBoxLayout * horizontalLayout
QVBoxLayout * verticalLayout_Window
QCheckBox * showMasternodesTab
QSpacerItem * horizontalSpacer_2
QHBoxLayout * horizontalLayout_3_Main
QHBoxLayout * horizontalLayout_4_Wallet
QSpacerItem * horizontalSpacer_2_Network
QLabel * proxyReachIPv6Label
QVBoxLayout * verticalLayout_2
QHBoxLayout * horizontalLayout_3_Network
QLabel * proxyReachIPv4Label
QCheckBox * proxyReachTor
QHBoxLayout * horizontalLayout_Buttons
QCheckBox * lowKeysWarning
QCheckBox * bitcoinAtStartup
QLabel * overriddenByCommandLineLabel
QHBoxLayout * horizontalLayout_5_Display
void retranslateUi(QDialog *OptionsDialog)
QCheckBox * connectSocksTor
QCheckBox * showAdvancedPSUI
QHBoxLayout * horizontalLayout_2_Network
QVBoxLayout * verticalLayout_Network
QSpacerItem * verticalSpacer_Wallet
void setupUi(QDialog *OptionsDialog)
QSpacerItem * horizontalSpacer_2_Main
QLabel * proxyReachTorLabel
QCheckBox * spendZeroConfChange
QSpacerItem * horizontalSpacer_Bottom
QCheckBox * privateSendMultiSession
QLabel * databaseCacheLabel
QSpinBox * privateSendAmount
QSpinBox * threadsScriptVerif
QPushButton * cancelButton
QHBoxLayout * horizontalLayout_4_Display
QCheckBox * minimizeOnClose
QSpacerItem * horizontalSpacer_4_Network
QSpacerItem * verticalSpacer
QVBoxLayout * verticalLayout_Bottom
QHBoxLayout * horizontalLayout_1_Network
QHBoxLayout * horizontalLayout_3_Display
QSpacerItem * horizontalSpacer_1_Network
QLabel * proxyPortTorLabel
QSpacerItem * verticalSpacer_Main
QPushButton * resetButton
QHBoxLayout * horizontalLayout_2_Main
QValidatedLineEdit * proxyIp
QVBoxLayout * verticalLayout_Wallet
QLabel * threadsScriptVerifLabel
QSpacerItem * verticalSpacer_Network
QCheckBox * minimizeToTray
QLabel * overriddenByCommandLineInfoLabel
QHBoxLayout * horizontalLayout_Bottom
QCheckBox * proxyReachIPv6
QSpacerItem * verticalSpacer_Window
QCheckBox * proxyReachIPv4
QHBoxLayout * horizontalLayout_1_Display
QVBoxLayout * verticalLayout
QHBoxLayout * horizontalLayout_2_Display
QSpacerItem * horizontalSpacer_1
QCheckBox * coinControlFeatures
QSpinBox * privateSendRounds
QCheckBox * allowIncoming
QValidatedLineEdit * proxyIpTor
QSpacerItem * horizontalSpacer_3_Main
QVBoxLayout * verticalLayout_Main
QLineEdit * thirdPartyTxUrls
QLabel * thirdPartyTxUrlsLabel