Bitcoin Core  28.1.0
P2P Digital Currency
ui_optionsdialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'optionsdialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.8
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_OPTIONSDIALOG_H
10 #define UI_OPTIONSDIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QCheckBox>
15 #include <QtWidgets/QComboBox>
16 #include <QtWidgets/QDialog>
17 #include <QtWidgets/QFrame>
18 #include <QtWidgets/QGroupBox>
19 #include <QtWidgets/QHBoxLayout>
20 #include <QtWidgets/QLabel>
21 #include <QtWidgets/QLineEdit>
22 #include <QtWidgets/QPushButton>
23 #include <QtWidgets/QSpacerItem>
24 #include <QtWidgets/QSpinBox>
25 #include <QtWidgets/QTabWidget>
26 #include <QtWidgets/QVBoxLayout>
27 #include <QtWidgets/QWidget>
28 #include "qt/qvalidatedlineedit.h"
29 #include "qt/qvaluecombobox.h"
30 
31 QT_BEGIN_NAMESPACE
32 
34 {
35 public:
36  QVBoxLayout *verticalLayout;
37  QTabWidget *tabWidget;
38  QWidget *tabMain;
39  QVBoxLayout *verticalLayout_Main;
40  QCheckBox *bitcoinAtStartup;
43  QCheckBox *prune;
44  QSpinBox *pruneSize;
47  QLabel *pruneWarning;
50  QSpinBox *databaseCache;
55  QSpinBox *threadsScriptVerif;
57  QCheckBox *enableServer;
58  QSpacerItem *verticalSpacer_Main;
59  QWidget *tabWallet;
60  QVBoxLayout *verticalLayout_Wallet;
61  QCheckBox *subFeeFromAmount;
62  QGroupBox *groupBox;
63  QVBoxLayout *verticalLayout_2;
64  QCheckBox *coinControlFeatures;
65  QCheckBox *spendZeroConfChange;
67  QGroupBox *groupBoxHww;
68  QVBoxLayout *verticalLayoutHww;
69  QHBoxLayout *horizontalLayoutHww;
71  QLineEdit *externalSignerPath;
72  QSpacerItem *verticalSpacer_Wallet;
73  QWidget *tabNetwork;
74  QVBoxLayout *verticalLayout_Network;
75  QCheckBox *mapPortUpnp;
76  QCheckBox *mapPortNatpmp;
77  QCheckBox *allowIncoming;
78  QCheckBox *connectSocks;
80  QLabel *proxyIpLabel;
82  QLabel *proxyPortLabel;
83  QLineEdit *proxyPort;
86  QLabel *proxyActiveNets;
87  QCheckBox *proxyReachIPv4;
89  QCheckBox *proxyReachIPv6;
91  QCheckBox *proxyReachTor;
94  QCheckBox *connectSocksTor;
96  QLabel *proxyIpTorLabel;
99  QLineEdit *proxyPortTor;
102  QWidget *tabWindow;
103  QVBoxLayout *verticalLayout_Window;
104  QCheckBox *showTrayIcon;
105  QCheckBox *minimizeToTray;
106  QCheckBox *minimizeOnClose;
107  QSpacerItem *verticalSpacer_Window;
108  QWidget *tabDisplay;
111  QLabel *langLabel;
114  QLabel *unitLabel;
118  QLineEdit *thirdPartyTxUrls;
120  QLabel *moneyFontLabel;
121  QComboBox *moneyFont;
124  QFrame *frame;
125  QVBoxLayout *verticalLayout_Bottom;
132  QPushButton *openBitcoinConfButton;
133  QPushButton *resetButton;
134  QSpacerItem *horizontalSpacer_1;
135  QLabel *statusLabel;
136  QSpacerItem *horizontalSpacer_2;
137  QVBoxLayout *verticalLayout_4;
138  QSpacerItem *verticalSpacer;
139  QHBoxLayout *horizontalLayout;
140  QPushButton *okButton;
141  QPushButton *cancelButton;
142 
143  void setupUi(QDialog *OptionsDialog)
144  {
145  if (OptionsDialog->objectName().isEmpty())
146  OptionsDialog->setObjectName(QString::fromUtf8("OptionsDialog"));
147  OptionsDialog->resize(560, 440);
148  OptionsDialog->setModal(true);
149  verticalLayout = new QVBoxLayout(OptionsDialog);
150  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
151  tabWidget = new QTabWidget(OptionsDialog);
152  tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
153  tabMain = new QWidget();
154  tabMain->setObjectName(QString::fromUtf8("tabMain"));
155  verticalLayout_Main = new QVBoxLayout(tabMain);
156  verticalLayout_Main->setObjectName(QString::fromUtf8("verticalLayout_Main"));
157  bitcoinAtStartup = new QCheckBox(tabMain);
158  bitcoinAtStartup->setObjectName(QString::fromUtf8("bitcoinAtStartup"));
159 
161 
162  horizontalSpacer_0_Main = new QSpacerItem(40, 5, QSizePolicy::Expanding, QSizePolicy::Minimum);
163 
165 
166  horizontalLayout_Main_Prune = new QHBoxLayout();
167  horizontalLayout_Main_Prune->setObjectName(QString::fromUtf8("horizontalLayout_Main_Prune"));
168  prune = new QCheckBox(tabMain);
169  prune->setObjectName(QString::fromUtf8("prune"));
170 
172 
173  pruneSize = new QSpinBox(tabMain);
174  pruneSize->setObjectName(QString::fromUtf8("pruneSize"));
175 
177 
178  pruneSizeUnitLabel = new QLabel(tabMain);
179  pruneSizeUnitLabel->setObjectName(QString::fromUtf8("pruneSizeUnitLabel"));
180  pruneSizeUnitLabel->setTextFormat(Qt::PlainText);
181 
183 
184  horizontalSpacer_Main_Prune = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
185 
187 
188 
190 
191  pruneWarning = new QLabel(tabMain);
192  pruneWarning->setObjectName(QString::fromUtf8("pruneWarning"));
193  pruneWarning->setTextFormat(Qt::PlainText);
194 
195  verticalLayout_Main->addWidget(pruneWarning);
196 
197  horizontalLayout_2_Main = new QHBoxLayout();
198  horizontalLayout_2_Main->setObjectName(QString::fromUtf8("horizontalLayout_2_Main"));
199  databaseCacheLabel = new QLabel(tabMain);
200  databaseCacheLabel->setObjectName(QString::fromUtf8("databaseCacheLabel"));
201  databaseCacheLabel->setTextFormat(Qt::PlainText);
202 
204 
205  databaseCache = new QSpinBox(tabMain);
206  databaseCache->setObjectName(QString::fromUtf8("databaseCache"));
207 
209 
210  databaseCacheUnitLabel = new QLabel(tabMain);
211  databaseCacheUnitLabel->setObjectName(QString::fromUtf8("databaseCacheUnitLabel"));
212  databaseCacheUnitLabel->setTextFormat(Qt::PlainText);
213 
215 
216  horizontalSpacer_2_Main = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
217 
219 
220 
222 
223  horizontalLayout_Main_VerifyLabel = new QHBoxLayout();
224  horizontalLayout_Main_VerifyLabel->setObjectName(QString::fromUtf8("horizontalLayout_Main_VerifyLabel"));
225  threadsScriptVerifLabel = new QLabel(tabMain);
226  threadsScriptVerifLabel->setObjectName(QString::fromUtf8("threadsScriptVerifLabel"));
227  threadsScriptVerifLabel->setTextFormat(Qt::PlainText);
228 
230 
231  threadsScriptVerif = new QSpinBox(tabMain);
232  threadsScriptVerif->setObjectName(QString::fromUtf8("threadsScriptVerif"));
233 
235 
236  horizontalSpacer_Main_Threads = new QSpacerItem(40, 40, QSizePolicy::Expanding, QSizePolicy::Minimum);
237 
239 
240 
242 
243  enableServer = new QCheckBox(tabMain);
244  enableServer->setObjectName(QString::fromUtf8("enableServer"));
245 
246  verticalLayout_Main->addWidget(enableServer);
247 
248  verticalSpacer_Main = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
249 
251 
252  tabWidget->addTab(tabMain, QString());
253  tabWallet = new QWidget();
254  tabWallet->setObjectName(QString::fromUtf8("tabWallet"));
255  verticalLayout_Wallet = new QVBoxLayout(tabWallet);
256  verticalLayout_Wallet->setObjectName(QString::fromUtf8("verticalLayout_Wallet"));
257  subFeeFromAmount = new QCheckBox(tabWallet);
258  subFeeFromAmount->setObjectName(QString::fromUtf8("subFeeFromAmount"));
259 
261 
262  groupBox = new QGroupBox(tabWallet);
263  groupBox->setObjectName(QString::fromUtf8("groupBox"));
264  verticalLayout_2 = new QVBoxLayout(groupBox);
265  verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
266  coinControlFeatures = new QCheckBox(groupBox);
267  coinControlFeatures->setObjectName(QString::fromUtf8("coinControlFeatures"));
268 
270 
271  spendZeroConfChange = new QCheckBox(groupBox);
272  spendZeroConfChange->setObjectName(QString::fromUtf8("spendZeroConfChange"));
273 
275 
276  m_enable_psbt_controls = new QCheckBox(groupBox);
277  m_enable_psbt_controls->setObjectName(QString::fromUtf8("m_enable_psbt_controls"));
278 
280 
281 
282  verticalLayout_Wallet->addWidget(groupBox);
283 
284  groupBoxHww = new QGroupBox(tabWallet);
285  groupBoxHww->setObjectName(QString::fromUtf8("groupBoxHww"));
286  verticalLayoutHww = new QVBoxLayout(groupBoxHww);
287  verticalLayoutHww->setObjectName(QString::fromUtf8("verticalLayoutHww"));
288  horizontalLayoutHww = new QHBoxLayout();
289  horizontalLayoutHww->setObjectName(QString::fromUtf8("horizontalLayoutHww"));
290  externalSignerPathLabel = new QLabel(groupBoxHww);
291  externalSignerPathLabel->setObjectName(QString::fromUtf8("externalSignerPathLabel"));
292 
294 
295  externalSignerPath = new QLineEdit(groupBoxHww);
296  externalSignerPath->setObjectName(QString::fromUtf8("externalSignerPath"));
297 
299 
300 
302 
303 
305 
306  verticalSpacer_Wallet = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
307 
309 
310  tabWidget->addTab(tabWallet, QString());
311  tabNetwork = new QWidget();
312  tabNetwork->setObjectName(QString::fromUtf8("tabNetwork"));
313  verticalLayout_Network = new QVBoxLayout(tabNetwork);
314  verticalLayout_Network->setObjectName(QString::fromUtf8("verticalLayout_Network"));
315  mapPortUpnp = new QCheckBox(tabNetwork);
316  mapPortUpnp->setObjectName(QString::fromUtf8("mapPortUpnp"));
317 
319 
320  mapPortNatpmp = new QCheckBox(tabNetwork);
321  mapPortNatpmp->setObjectName(QString::fromUtf8("mapPortNatpmp"));
322 
324 
325  allowIncoming = new QCheckBox(tabNetwork);
326  allowIncoming->setObjectName(QString::fromUtf8("allowIncoming"));
327 
329 
330  connectSocks = new QCheckBox(tabNetwork);
331  connectSocks->setObjectName(QString::fromUtf8("connectSocks"));
332 
334 
335  horizontalLayout_1_Network = new QHBoxLayout();
336  horizontalLayout_1_Network->setObjectName(QString::fromUtf8("horizontalLayout_1_Network"));
337  proxyIpLabel = new QLabel(tabNetwork);
338  proxyIpLabel->setObjectName(QString::fromUtf8("proxyIpLabel"));
339  proxyIpLabel->setTextFormat(Qt::PlainText);
340 
342 
344  proxyIp->setObjectName(QString::fromUtf8("proxyIp"));
345  proxyIp->setMinimumSize(QSize(140, 0));
346  proxyIp->setMaximumSize(QSize(140, 16777215));
347 
349 
350  proxyPortLabel = new QLabel(tabNetwork);
351  proxyPortLabel->setObjectName(QString::fromUtf8("proxyPortLabel"));
352  proxyPortLabel->setTextFormat(Qt::PlainText);
353 
355 
356  proxyPort = new QLineEdit(tabNetwork);
357  proxyPort->setObjectName(QString::fromUtf8("proxyPort"));
358  proxyPort->setMinimumSize(QSize(55, 0));
359  proxyPort->setMaximumSize(QSize(55, 16777215));
360 
362 
363  horizontalSpacer_1_Network = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
364 
366 
367 
369 
370  horizontalLayout_2_Network = new QHBoxLayout();
371  horizontalLayout_2_Network->setObjectName(QString::fromUtf8("horizontalLayout_2_Network"));
372  proxyActiveNets = new QLabel(tabNetwork);
373  proxyActiveNets->setObjectName(QString::fromUtf8("proxyActiveNets"));
374  proxyActiveNets->setTextFormat(Qt::PlainText);
375 
377 
378  proxyReachIPv4 = new QCheckBox(tabNetwork);
379  proxyReachIPv4->setObjectName(QString::fromUtf8("proxyReachIPv4"));
380  proxyReachIPv4->setEnabled(false);
381 
383 
384  proxyReachIPv4Label = new QLabel(tabNetwork);
385  proxyReachIPv4Label->setObjectName(QString::fromUtf8("proxyReachIPv4Label"));
386  proxyReachIPv4Label->setTextFormat(Qt::PlainText);
387 
389 
390  proxyReachIPv6 = new QCheckBox(tabNetwork);
391  proxyReachIPv6->setObjectName(QString::fromUtf8("proxyReachIPv6"));
392  proxyReachIPv6->setEnabled(false);
393 
395 
396  proxyReachIPv6Label = new QLabel(tabNetwork);
397  proxyReachIPv6Label->setObjectName(QString::fromUtf8("proxyReachIPv6Label"));
398  proxyReachIPv6Label->setTextFormat(Qt::PlainText);
399 
401 
402  proxyReachTor = new QCheckBox(tabNetwork);
403  proxyReachTor->setObjectName(QString::fromUtf8("proxyReachTor"));
404  proxyReachTor->setEnabled(false);
405 
407 
408  proxyReachTorLabel = new QLabel(tabNetwork);
409  proxyReachTorLabel->setObjectName(QString::fromUtf8("proxyReachTorLabel"));
410  proxyReachTorLabel->setTextFormat(Qt::PlainText);
411 
413 
414  horizontalSpacer_2_Network = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
415 
417 
418 
420 
421  connectSocksTor = new QCheckBox(tabNetwork);
422  connectSocksTor->setObjectName(QString::fromUtf8("connectSocksTor"));
423 
425 
426  horizontalLayout_3_Network = new QHBoxLayout();
427  horizontalLayout_3_Network->setObjectName(QString::fromUtf8("horizontalLayout_3_Network"));
428  proxyIpTorLabel = new QLabel(tabNetwork);
429  proxyIpTorLabel->setObjectName(QString::fromUtf8("proxyIpTorLabel"));
430  proxyIpTorLabel->setTextFormat(Qt::PlainText);
431 
433 
435  proxyIpTor->setObjectName(QString::fromUtf8("proxyIpTor"));
436  proxyIpTor->setMinimumSize(QSize(140, 0));
437  proxyIpTor->setMaximumSize(QSize(140, 16777215));
438 
440 
441  proxyPortTorLabel = new QLabel(tabNetwork);
442  proxyPortTorLabel->setObjectName(QString::fromUtf8("proxyPortTorLabel"));
443  proxyPortTorLabel->setTextFormat(Qt::PlainText);
444 
446 
447  proxyPortTor = new QLineEdit(tabNetwork);
448  proxyPortTor->setObjectName(QString::fromUtf8("proxyPortTor"));
449  proxyPortTor->setMinimumSize(QSize(55, 0));
450  proxyPortTor->setMaximumSize(QSize(55, 16777215));
451 
453 
454  horizontalSpacer_4_Network = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
455 
457 
458 
460 
461  verticalSpacer_Network = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
462 
464 
465  tabWidget->addTab(tabNetwork, QString());
466  tabWindow = new QWidget();
467  tabWindow->setObjectName(QString::fromUtf8("tabWindow"));
468  verticalLayout_Window = new QVBoxLayout(tabWindow);
469  verticalLayout_Window->setObjectName(QString::fromUtf8("verticalLayout_Window"));
470  showTrayIcon = new QCheckBox(tabWindow);
471  showTrayIcon->setObjectName(QString::fromUtf8("showTrayIcon"));
472  showTrayIcon->setChecked(true);
473 
475 
476  minimizeToTray = new QCheckBox(tabWindow);
477  minimizeToTray->setObjectName(QString::fromUtf8("minimizeToTray"));
478 
480 
481  minimizeOnClose = new QCheckBox(tabWindow);
482  minimizeOnClose->setObjectName(QString::fromUtf8("minimizeOnClose"));
483 
485 
486  verticalSpacer_Window = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
487 
489 
490  tabWidget->addTab(tabWindow, QString());
491  tabDisplay = new QWidget();
492  tabDisplay->setObjectName(QString::fromUtf8("tabDisplay"));
493  verticalLayout_Display = new QVBoxLayout(tabDisplay);
494  verticalLayout_Display->setObjectName(QString::fromUtf8("verticalLayout_Display"));
495  horizontalLayout_1_Display = new QHBoxLayout();
496  horizontalLayout_1_Display->setObjectName(QString::fromUtf8("horizontalLayout_1_Display"));
497  langLabel = new QLabel(tabDisplay);
498  langLabel->setObjectName(QString::fromUtf8("langLabel"));
499  langLabel->setTextFormat(Qt::PlainText);
500 
502 
504  lang->setObjectName(QString::fromUtf8("lang"));
505 
506  horizontalLayout_1_Display->addWidget(lang);
507 
508 
510 
511  horizontalLayout_2_Display = new QHBoxLayout();
512  horizontalLayout_2_Display->setObjectName(QString::fromUtf8("horizontalLayout_2_Display"));
513  unitLabel = new QLabel(tabDisplay);
514  unitLabel->setObjectName(QString::fromUtf8("unitLabel"));
515  unitLabel->setTextFormat(Qt::PlainText);
516 
518 
520  unit->setObjectName(QString::fromUtf8("unit"));
521 
522  horizontalLayout_2_Display->addWidget(unit);
523 
524 
526 
527  horizontalLayout_3_Display = new QHBoxLayout();
528  horizontalLayout_3_Display->setObjectName(QString::fromUtf8("horizontalLayout_3_Display"));
529  thirdPartyTxUrlsLabel = new QLabel(tabDisplay);
530  thirdPartyTxUrlsLabel->setObjectName(QString::fromUtf8("thirdPartyTxUrlsLabel"));
531 
533 
534  thirdPartyTxUrls = new QLineEdit(tabDisplay);
535  thirdPartyTxUrls->setObjectName(QString::fromUtf8("thirdPartyTxUrls"));
536  thirdPartyTxUrls->setPlaceholderText(QString::fromUtf8("https://example.com/tx/%s"));
537 
539 
540 
542 
543  horizontalLayout_4_Display = new QHBoxLayout();
544  horizontalLayout_4_Display->setObjectName(QString::fromUtf8("horizontalLayout_4_Display"));
545  moneyFontLabel = new QLabel(tabDisplay);
546  moneyFontLabel->setObjectName(QString::fromUtf8("moneyFontLabel"));
547 
549 
550  moneyFont = new QComboBox(tabDisplay);
551  moneyFont->setObjectName(QString::fromUtf8("moneyFont"));
552 
554 
555  moneyFont_preview = new QLabel(tabDisplay);
556  moneyFont_preview->setObjectName(QString::fromUtf8("moneyFont_preview"));
557  moneyFont_preview->setText(QString::fromUtf8("111.11111111 BTC\n"
558 "909.09090909 BTC"));
559 
561 
562 
564 
565  verticalSpacer_Display = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
566 
568 
569  tabWidget->addTab(tabDisplay, QString());
570 
571  verticalLayout->addWidget(tabWidget);
572 
573  frame = new QFrame(OptionsDialog);
574  frame->setObjectName(QString::fromUtf8("frame"));
575  verticalLayout_Bottom = new QVBoxLayout(frame);
576  verticalLayout_Bottom->setObjectName(QString::fromUtf8("verticalLayout_Bottom"));
577  horizontalLayout_Bottom = new QHBoxLayout();
578  horizontalLayout_Bottom->setObjectName(QString::fromUtf8("horizontalLayout_Bottom"));
580  overriddenByCommandLineInfoLabel->setObjectName(QString::fromUtf8("overriddenByCommandLineInfoLabel"));
581  overriddenByCommandLineInfoLabel->setTextFormat(Qt::PlainText);
582 
584 
585  horizontalSpacer_Bottom = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
586 
588 
589 
591 
592  overriddenByCommandLineLabel = new QLabel(frame);
593  overriddenByCommandLineLabel->setObjectName(QString::fromUtf8("overriddenByCommandLineLabel"));
594  overriddenByCommandLineLabel->setTextFormat(Qt::PlainText);
595  overriddenByCommandLineLabel->setWordWrap(true);
596 
598 
599 
600  verticalLayout->addWidget(frame);
601 
602  horizontalLayout_Buttons = new QHBoxLayout();
603  horizontalLayout_Buttons->setObjectName(QString::fromUtf8("horizontalLayout_Buttons"));
604  verticalLayout_Buttons = new QVBoxLayout();
605  verticalLayout_Buttons->setObjectName(QString::fromUtf8("verticalLayout_Buttons"));
606  openBitcoinConfButton = new QPushButton(OptionsDialog);
607  openBitcoinConfButton->setObjectName(QString::fromUtf8("openBitcoinConfButton"));
608  openBitcoinConfButton->setAutoDefault(false);
609 
611 
612  resetButton = new QPushButton(OptionsDialog);
613  resetButton->setObjectName(QString::fromUtf8("resetButton"));
614  resetButton->setAutoDefault(false);
615 
617 
618 
620 
621  horizontalSpacer_1 = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
622 
624 
625  statusLabel = new QLabel(OptionsDialog);
626  statusLabel->setObjectName(QString::fromUtf8("statusLabel"));
627  statusLabel->setMinimumSize(QSize(200, 0));
628  QFont font;
629  font.setBold(true);
630  font.setWeight(75);
631  statusLabel->setFont(font);
632  statusLabel->setTextFormat(Qt::PlainText);
633  statusLabel->setWordWrap(true);
634 
636 
637  horizontalSpacer_2 = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
638 
640 
641  verticalLayout_4 = new QVBoxLayout();
642  verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
643  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
644 
646 
647  horizontalLayout = new QHBoxLayout();
648  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
649  okButton = new QPushButton(OptionsDialog);
650  okButton->setObjectName(QString::fromUtf8("okButton"));
651  okButton->setAutoDefault(false);
652 
653  horizontalLayout->addWidget(okButton);
654 
655  cancelButton = new QPushButton(OptionsDialog);
656  cancelButton->setObjectName(QString::fromUtf8("cancelButton"));
657  cancelButton->setAutoDefault(false);
658 
659  horizontalLayout->addWidget(cancelButton);
660 
661 
663 
664 
666 
667 
669 
670 #if QT_CONFIG(shortcut)
674  proxyIpLabel->setBuddy(proxyIp);
675  proxyPortLabel->setBuddy(proxyPort);
676  proxyIpTorLabel->setBuddy(proxyIpTor);
677  proxyPortTorLabel->setBuddy(proxyPortTor);
678  langLabel->setBuddy(lang);
679  unitLabel->setBuddy(unit);
681  moneyFontLabel->setBuddy(moneyFont);
682 #endif // QT_CONFIG(shortcut)
683 
685 
686  tabWidget->setCurrentIndex(0);
687  okButton->setDefault(true);
688 
689 
690  QMetaObject::connectSlotsByName(OptionsDialog);
691  } // setupUi
692 
694  {
695  OptionsDialog->setWindowTitle(QCoreApplication::translate("OptionsDialog", "Options", nullptr));
696 #if QT_CONFIG(tooltip)
697  bitcoinAtStartup->setToolTip(QCoreApplication::translate("OptionsDialog", "Automatically start %1 after logging in to the system.", nullptr));
698 #endif // QT_CONFIG(tooltip)
699  bitcoinAtStartup->setText(QCoreApplication::translate("OptionsDialog", "&Start %1 on system login", nullptr));
700 #if QT_CONFIG(tooltip)
701  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));
702 #endif // QT_CONFIG(tooltip)
703  prune->setText(QCoreApplication::translate("OptionsDialog", "Prune &block storage to", nullptr));
704  pruneSizeUnitLabel->setText(QCoreApplication::translate("OptionsDialog", "GB", nullptr));
705  pruneWarning->setText(QCoreApplication::translate("OptionsDialog", "Reverting this setting requires re-downloading the entire blockchain.", nullptr));
706 #if QT_CONFIG(tooltip)
707  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));
708 #endif // QT_CONFIG(tooltip)
709  databaseCacheLabel->setText(QCoreApplication::translate("OptionsDialog", "Size of &database cache", nullptr));
710  databaseCacheUnitLabel->setText(QCoreApplication::translate("OptionsDialog", "MiB", nullptr));
711 #if QT_CONFIG(tooltip)
712  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));
713 #endif // QT_CONFIG(tooltip)
714  threadsScriptVerifLabel->setText(QCoreApplication::translate("OptionsDialog", "Number of script &verification threads", nullptr));
715 #if QT_CONFIG(tooltip)
716  threadsScriptVerif->setToolTip(QCoreApplication::translate("OptionsDialog", "(0 = auto, <0 = leave that many cores free)", nullptr));
717 #endif // QT_CONFIG(tooltip)
718 #if QT_CONFIG(tooltip)
719  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));
720 #endif // QT_CONFIG(tooltip)
721  enableServer->setText(QCoreApplication::translate("OptionsDialog", "Enable R&PC server", nullptr));
722  tabWidget->setTabText(tabWidget->indexOf(tabMain), QCoreApplication::translate("OptionsDialog", "&Main", nullptr));
723 #if QT_CONFIG(tooltip)
724  subFeeFromAmount->setToolTip(QCoreApplication::translate("OptionsDialog", "Whether to set subtract fee from amount as default or not.", nullptr));
725 #endif // QT_CONFIG(tooltip)
726  subFeeFromAmount->setText(QCoreApplication::translate("OptionsDialog", "Subtract &fee from amount by default", nullptr));
727  groupBox->setTitle(QCoreApplication::translate("OptionsDialog", "Expert", nullptr));
728 #if QT_CONFIG(tooltip)
729  coinControlFeatures->setToolTip(QCoreApplication::translate("OptionsDialog", "Whether to show coin control features or not.", nullptr));
730 #endif // QT_CONFIG(tooltip)
731  coinControlFeatures->setText(QCoreApplication::translate("OptionsDialog", "Enable coin &control features", nullptr));
732 #if QT_CONFIG(tooltip)
733  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));
734 #endif // QT_CONFIG(tooltip)
735  spendZeroConfChange->setText(QCoreApplication::translate("OptionsDialog", "&Spend unconfirmed change", nullptr));
736  m_enable_psbt_controls->setText(QCoreApplication::translate("OptionsDialog", "Enable &PSBT controls", nullptr));
737 #if QT_CONFIG(tooltip)
738  m_enable_psbt_controls->setToolTip(QCoreApplication::translate("OptionsDialog", "Whether to show PSBT controls.", nullptr));
739 #endif // QT_CONFIG(tooltip)
740  groupBoxHww->setTitle(QCoreApplication::translate("OptionsDialog", "External Signer (e.g. hardware wallet)", nullptr));
741  externalSignerPathLabel->setText(QCoreApplication::translate("OptionsDialog", "&External signer script path", nullptr));
742 #if QT_CONFIG(tooltip)
743  externalSignerPath->setToolTip(QCoreApplication::translate("OptionsDialog", "Full path to a %1 compatible script (e.g. C:\\Downloads\\hwi.exe or /Users/you/Downloads/hwi.py). Beware: malware can steal your coins!", nullptr));
744 #endif // QT_CONFIG(tooltip)
745  tabWidget->setTabText(tabWidget->indexOf(tabWallet), QCoreApplication::translate("OptionsDialog", "W&allet", nullptr));
746 #if QT_CONFIG(tooltip)
747  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));
748 #endif // QT_CONFIG(tooltip)
749  mapPortUpnp->setText(QCoreApplication::translate("OptionsDialog", "Map port using &UPnP", nullptr));
750 #if QT_CONFIG(tooltip)
751  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));
752 #endif // QT_CONFIG(tooltip)
753  mapPortNatpmp->setText(QCoreApplication::translate("OptionsDialog", "Map port using NA&T-PMP", nullptr));
754 #if QT_CONFIG(tooltip)
755  allowIncoming->setToolTip(QCoreApplication::translate("OptionsDialog", "Accept connections from outside.", nullptr));
756 #endif // QT_CONFIG(tooltip)
757  allowIncoming->setText(QCoreApplication::translate("OptionsDialog", "Allow incomin&g connections", nullptr));
758 #if QT_CONFIG(tooltip)
759  connectSocks->setToolTip(QCoreApplication::translate("OptionsDialog", "Connect to the Bitcoin network through a SOCKS5 proxy.", nullptr));
760 #endif // QT_CONFIG(tooltip)
761  connectSocks->setText(QCoreApplication::translate("OptionsDialog", "&Connect through SOCKS5 proxy (default proxy):", nullptr));
762  proxyIpLabel->setText(QCoreApplication::translate("OptionsDialog", "Proxy &IP:", nullptr));
763 #if QT_CONFIG(tooltip)
764  proxyIp->setToolTip(QCoreApplication::translate("OptionsDialog", "IP address of the proxy (e.g. IPv4: 127.0.0.1 / IPv6: ::1)", nullptr));
765 #endif // QT_CONFIG(tooltip)
766  proxyPortLabel->setText(QCoreApplication::translate("OptionsDialog", "&Port:", nullptr));
767 #if QT_CONFIG(tooltip)
768  proxyPort->setToolTip(QCoreApplication::translate("OptionsDialog", "Port of the proxy (e.g. 9050)", nullptr));
769 #endif // QT_CONFIG(tooltip)
770  proxyActiveNets->setText(QCoreApplication::translate("OptionsDialog", "Used for reaching peers via:", nullptr));
771 #if QT_CONFIG(tooltip)
772  proxyReachIPv4->setToolTip(QCoreApplication::translate("OptionsDialog", "Shows if the supplied default SOCKS5 proxy is used to reach peers via this network type.", nullptr));
773 #endif // QT_CONFIG(tooltip)
774  proxyReachIPv4->setText(QString());
775  proxyReachIPv4Label->setText(QCoreApplication::translate("OptionsDialog", "IPv4", nullptr));
776 #if QT_CONFIG(tooltip)
777  proxyReachIPv6->setToolTip(QCoreApplication::translate("OptionsDialog", "Shows if the supplied default SOCKS5 proxy is used to reach peers via this network type.", nullptr));
778 #endif // QT_CONFIG(tooltip)
779  proxyReachIPv6->setText(QString());
780  proxyReachIPv6Label->setText(QCoreApplication::translate("OptionsDialog", "IPv6", nullptr));
781 #if QT_CONFIG(tooltip)
782  proxyReachTor->setToolTip(QCoreApplication::translate("OptionsDialog", "Shows if the supplied default SOCKS5 proxy is used to reach peers via this network type.", nullptr));
783 #endif // QT_CONFIG(tooltip)
784  proxyReachTor->setText(QString());
785  proxyReachTorLabel->setText(QCoreApplication::translate("OptionsDialog", "Tor", nullptr));
786 #if QT_CONFIG(tooltip)
787  connectSocksTor->setToolTip(QCoreApplication::translate("OptionsDialog", "Connect to the Bitcoin network through a separate SOCKS5 proxy for Tor onion services.", nullptr));
788 #endif // QT_CONFIG(tooltip)
789  connectSocksTor->setText(QCoreApplication::translate("OptionsDialog", "Use separate SOCKS&5 proxy to reach peers via Tor onion services:", nullptr));
790  proxyIpTorLabel->setText(QCoreApplication::translate("OptionsDialog", "Proxy &IP:", nullptr));
791 #if QT_CONFIG(tooltip)
792  proxyIpTor->setToolTip(QCoreApplication::translate("OptionsDialog", "IP address of the proxy (e.g. IPv4: 127.0.0.1 / IPv6: ::1)", nullptr));
793 #endif // QT_CONFIG(tooltip)
794  proxyPortTorLabel->setText(QCoreApplication::translate("OptionsDialog", "&Port:", nullptr));
795 #if QT_CONFIG(tooltip)
796  proxyPortTor->setToolTip(QCoreApplication::translate("OptionsDialog", "Port of the proxy (e.g. 9050)", nullptr));
797 #endif // QT_CONFIG(tooltip)
798  tabWidget->setTabText(tabWidget->indexOf(tabNetwork), QCoreApplication::translate("OptionsDialog", "&Network", nullptr));
799 #if QT_CONFIG(tooltip)
800  showTrayIcon->setToolTip(QCoreApplication::translate("OptionsDialog", "Show the icon in the system tray.", nullptr));
801 #endif // QT_CONFIG(tooltip)
802  showTrayIcon->setText(QCoreApplication::translate("OptionsDialog", "&Show tray icon", nullptr));
803 #if QT_CONFIG(tooltip)
804  minimizeToTray->setToolTip(QCoreApplication::translate("OptionsDialog", "Show only a tray icon after minimizing the window.", nullptr));
805 #endif // QT_CONFIG(tooltip)
806  minimizeToTray->setText(QCoreApplication::translate("OptionsDialog", "&Minimize to the tray instead of the taskbar", nullptr));
807 #if QT_CONFIG(tooltip)
808  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));
809 #endif // QT_CONFIG(tooltip)
810  minimizeOnClose->setText(QCoreApplication::translate("OptionsDialog", "M&inimize on close", nullptr));
811  tabWidget->setTabText(tabWidget->indexOf(tabWindow), QCoreApplication::translate("OptionsDialog", "&Window", nullptr));
812  langLabel->setText(QCoreApplication::translate("OptionsDialog", "User Interface &language:", nullptr));
813 #if QT_CONFIG(tooltip)
814  lang->setToolTip(QCoreApplication::translate("OptionsDialog", "The user interface language can be set here. This setting will take effect after restarting %1.", nullptr));
815 #endif // QT_CONFIG(tooltip)
816  unitLabel->setText(QCoreApplication::translate("OptionsDialog", "&Unit to show amounts in:", nullptr));
817 #if QT_CONFIG(tooltip)
818  unit->setToolTip(QCoreApplication::translate("OptionsDialog", "Choose the default subdivision unit to show in the interface and when sending coins.", nullptr));
819 #endif // QT_CONFIG(tooltip)
820 #if QT_CONFIG(tooltip)
821  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));
822 #endif // QT_CONFIG(tooltip)
823  thirdPartyTxUrlsLabel->setText(QCoreApplication::translate("OptionsDialog", "&Third-party transaction URLs", nullptr));
824 #if QT_CONFIG(tooltip)
825  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));
826 #endif // QT_CONFIG(tooltip)
827  moneyFontLabel->setText(QCoreApplication::translate("OptionsDialog", "Font in the Overview tab: ", nullptr));
828  tabWidget->setTabText(tabWidget->indexOf(tabDisplay), QCoreApplication::translate("OptionsDialog", "&Display", nullptr));
829  overriddenByCommandLineInfoLabel->setText(QCoreApplication::translate("OptionsDialog", "Options set in this dialog are overridden by the command line:", nullptr));
830  overriddenByCommandLineLabel->setText(QString());
831 #if QT_CONFIG(tooltip)
832  openBitcoinConfButton->setToolTip(QCoreApplication::translate("OptionsDialog", "Open the %1 configuration file from the working directory.", nullptr));
833 #endif // QT_CONFIG(tooltip)
834  openBitcoinConfButton->setText(QCoreApplication::translate("OptionsDialog", "Open Configuration File", nullptr));
835 #if QT_CONFIG(tooltip)
836  resetButton->setToolTip(QCoreApplication::translate("OptionsDialog", "Reset all client options to default.", nullptr));
837 #endif // QT_CONFIG(tooltip)
838  resetButton->setText(QCoreApplication::translate("OptionsDialog", "&Reset Options", nullptr));
839  statusLabel->setText(QString());
840  okButton->setText(QCoreApplication::translate("OptionsDialog", "&OK", nullptr));
841  cancelButton->setText(QCoreApplication::translate("OptionsDialog", "&Cancel", nullptr));
842  } // retranslateUi
843 
844 };
845 
846 namespace Ui {
847  class OptionsDialog: public Ui_OptionsDialog {};
848 } // namespace Ui
849 
850 QT_END_NAMESPACE
851 
852 #endif // UI_OPTIONSDIALOG_H
QCheckBox * spendZeroConfChange
QTabWidget * tabWidget
QHBoxLayout * horizontalLayout_3_Display
QCheckBox * proxyReachIPv6
QVBoxLayout * verticalLayout
QSpacerItem * horizontalSpacer_1
QSpinBox * threadsScriptVerif
QPushButton * openBitcoinConfButton
void setupUi(QDialog *OptionsDialog)
QHBoxLayout * horizontalLayout
QHBoxLayout * horizontalLayout_4_Display
QPushButton * cancelButton
QLineEdit * proxyPortTor
QVBoxLayout * verticalLayout_Wallet
QCheckBox * m_enable_psbt_controls
QSpacerItem * horizontalSpacer_1_Network
QVBoxLayout * verticalLayout_Display
QSpacerItem * horizontalSpacer_2_Network
QVBoxLayout * verticalLayout_2
QCheckBox * minimizeToTray
QHBoxLayout * horizontalLayout_2_Main
QValueComboBox * unit
QLabel * databaseCacheUnitLabel
QLabel * threadsScriptVerifLabel
Line edit that can be marked as "invalid" to show input validation feedback.
QCheckBox * showTrayIcon
QSpacerItem * verticalSpacer_Network
QComboBox * moneyFont
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
QCheckBox * enableServer
QSpacerItem * horizontalSpacer_Main_Threads
QCheckBox * connectSocks
QSpacerItem * verticalSpacer_Window
QLabel * proxyReachTorLabel
QHBoxLayout * horizontalLayout_Buttons
QHBoxLayout * horizontalLayout_2_Network
QSpinBox * pruneSize
QLabel * pruneSizeUnitLabel
QHBoxLayout * horizontalLayout_Main_Prune
QCheckBox * allowIncoming
QLabel * proxyActiveNets
QVBoxLayout * verticalLayout_Network
QVBoxLayout * verticalLayout_4
QCheckBox * proxyReachIPv4
QSpacerItem * horizontalSpacer_2_Main
QLabel * moneyFont_preview
QCheckBox * mapPortUpnp
QValueComboBox * lang
QSpacerItem * verticalSpacer
QCheckBox * connectSocksTor
QVBoxLayout * verticalLayout_Buttons
QLabel * proxyIpTorLabel
QSpacerItem * verticalSpacer_Wallet
QLabel * overriddenByCommandLineLabel
QLabel * databaseCacheLabel
QCheckBox * subFeeFromAmount
QHBoxLayout * horizontalLayout_1_Display
QValidatedLineEdit * proxyIpTor
QPushButton * okButton
QCheckBox * minimizeOnClose
QLineEdit * thirdPartyTxUrls
QSpacerItem * verticalSpacer_Display
QSpacerItem * horizontalSpacer_0_Main
QLineEdit * proxyPort
QLabel * thirdPartyTxUrlsLabel
QCheckBox * bitcoinAtStartup
QCheckBox * proxyReachTor
QSpinBox * databaseCache
QVBoxLayout * verticalLayout_Main
QVBoxLayout * verticalLayout_Bottom
QLabel * proxyReachIPv6Label
QGroupBox * groupBox
QSpacerItem * horizontalSpacer_4_Network
QValidatedLineEdit * proxyIp
QCheckBox * mapPortNatpmp
QSpacerItem * verticalSpacer_Main
Preferences dialog.
Definition: optionsdialog.h:36
QVBoxLayout * verticalLayoutHww
QCheckBox * coinControlFeatures
QLineEdit * externalSignerPath
QHBoxLayout * horizontalLayoutHww
QGroupBox * groupBoxHww
QPushButton * resetButton
QHBoxLayout * horizontalLayout_2_Display
void retranslateUi(QDialog *OptionsDialog)
QLabel * externalSignerPathLabel
QHBoxLayout * horizontalLayout_3_Network
QSpacerItem * horizontalSpacer_Bottom