Bitcoin Core  0.21.1
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.6.1
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/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>
30 #include "qt/qvalidatedlineedit.h"
31 #include "qt/qvaluecombobox.h"
32 
33 QT_BEGIN_NAMESPACE
34 
36 {
37 public:
38  QVBoxLayout *verticalLayout;
39  QTabWidget *tabWidget;
40  QWidget *tabMain;
41  QVBoxLayout *verticalLayout_Main;
42  QCheckBox *bitcoinAtStartup;
45  QCheckBox *prune;
46  QSpinBox *pruneSize;
49  QLabel *pruneWarning;
52  QSpinBox *databaseCache;
57  QSpinBox *threadsScriptVerif;
59  QSpacerItem *verticalSpacer_Main;
60  QWidget *tabWallet;
61  QVBoxLayout *verticalLayout_Wallet;
62  QGroupBox *groupBox;
63  QVBoxLayout *verticalLayout_2;
64  QCheckBox *coinControlFeatures;
65  QCheckBox *spendZeroConfChange;
66  QSpacerItem *verticalSpacer_Wallet;
67  QWidget *tabNetwork;
68  QVBoxLayout *verticalLayout_Network;
69  QCheckBox *mapPortUpnp;
70  QCheckBox *allowIncoming;
71  QCheckBox *connectSocks;
73  QLabel *proxyIpLabel;
75  QLabel *proxyPortLabel;
76  QLineEdit *proxyPort;
79  QLabel *proxyActiveNets;
80  QCheckBox *proxyReachIPv4;
82  QCheckBox *proxyReachIPv6;
84  QCheckBox *proxyReachTor;
87  QCheckBox *connectSocksTor;
89  QLabel *proxyIpTorLabel;
92  QLineEdit *proxyPortTor;
94  QSpacerItem *verticalSpacer_Network;
95  QWidget *tabWindow;
96  QVBoxLayout *verticalLayout_Window;
97  QCheckBox *hideTrayIcon;
98  QCheckBox *minimizeToTray;
99  QCheckBox *minimizeOnClose;
100  QSpacerItem *verticalSpacer_Window;
101  QWidget *tabDisplay;
104  QLabel *langLabel;
107  QLabel *unitLabel;
111  QLineEdit *thirdPartyTxUrls;
113  QFrame *frame;
114  QVBoxLayout *verticalLayout_Bottom;
121  QPushButton *openBitcoinConfButton;
122  QPushButton *resetButton;
123  QSpacerItem *horizontalSpacer_1;
124  QLabel *statusLabel;
125  QSpacerItem *horizontalSpacer_2;
126  QVBoxLayout *verticalLayout_4;
127  QSpacerItem *verticalSpacer;
128  QHBoxLayout *horizontalLayout;
129  QPushButton *okButton;
130  QPushButton *cancelButton;
131 
132  void setupUi(QDialog *OptionsDialog)
133  {
134  if (OptionsDialog->objectName().isEmpty())
135  OptionsDialog->setObjectName(QStringLiteral("OptionsDialog"));
136  OptionsDialog->resize(560, 440);
137  OptionsDialog->setModal(true);
138  verticalLayout = new QVBoxLayout(OptionsDialog);
139  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
140  tabWidget = new QTabWidget(OptionsDialog);
141  tabWidget->setObjectName(QStringLiteral("tabWidget"));
142  tabMain = new QWidget();
143  tabMain->setObjectName(QStringLiteral("tabMain"));
144  verticalLayout_Main = new QVBoxLayout(tabMain);
145  verticalLayout_Main->setObjectName(QStringLiteral("verticalLayout_Main"));
146  bitcoinAtStartup = new QCheckBox(tabMain);
147  bitcoinAtStartup->setObjectName(QStringLiteral("bitcoinAtStartup"));
148 
149  verticalLayout_Main->addWidget(bitcoinAtStartup);
150 
151  horizontalSpacer_0_Main = new QSpacerItem(40, 5, QSizePolicy::Expanding, QSizePolicy::Minimum);
152 
153  verticalLayout_Main->addItem(horizontalSpacer_0_Main);
154 
155  horizontalLayout_Main_Prune = new QHBoxLayout();
156  horizontalLayout_Main_Prune->setObjectName(QStringLiteral("horizontalLayout_Main_Prune"));
157  prune = new QCheckBox(tabMain);
158  prune->setObjectName(QStringLiteral("prune"));
159 
160  horizontalLayout_Main_Prune->addWidget(prune);
161 
162  pruneSize = new QSpinBox(tabMain);
163  pruneSize->setObjectName(QStringLiteral("pruneSize"));
164 
165  horizontalLayout_Main_Prune->addWidget(pruneSize);
166 
167  pruneSizeUnitLabel = new QLabel(tabMain);
168  pruneSizeUnitLabel->setObjectName(QStringLiteral("pruneSizeUnitLabel"));
169  pruneSizeUnitLabel->setTextFormat(Qt::PlainText);
170 
171  horizontalLayout_Main_Prune->addWidget(pruneSizeUnitLabel);
172 
173  horizontalSpacer_Main_Prune = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
174 
175  horizontalLayout_Main_Prune->addItem(horizontalSpacer_Main_Prune);
176 
177 
178  verticalLayout_Main->addLayout(horizontalLayout_Main_Prune);
179 
180  pruneWarning = new QLabel(tabMain);
181  pruneWarning->setObjectName(QStringLiteral("pruneWarning"));
182  pruneWarning->setTextFormat(Qt::PlainText);
183 
184  verticalLayout_Main->addWidget(pruneWarning);
185 
186  horizontalLayout_2_Main = new QHBoxLayout();
187  horizontalLayout_2_Main->setObjectName(QStringLiteral("horizontalLayout_2_Main"));
188  databaseCacheLabel = new QLabel(tabMain);
189  databaseCacheLabel->setObjectName(QStringLiteral("databaseCacheLabel"));
190  databaseCacheLabel->setTextFormat(Qt::PlainText);
191 
192  horizontalLayout_2_Main->addWidget(databaseCacheLabel);
193 
194  databaseCache = new QSpinBox(tabMain);
195  databaseCache->setObjectName(QStringLiteral("databaseCache"));
196 
197  horizontalLayout_2_Main->addWidget(databaseCache);
198 
199  databaseCacheUnitLabel = new QLabel(tabMain);
200  databaseCacheUnitLabel->setObjectName(QStringLiteral("databaseCacheUnitLabel"));
201  databaseCacheUnitLabel->setTextFormat(Qt::PlainText);
202 
203  horizontalLayout_2_Main->addWidget(databaseCacheUnitLabel);
204 
205  horizontalSpacer_2_Main = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
206 
207  horizontalLayout_2_Main->addItem(horizontalSpacer_2_Main);
208 
209 
210  verticalLayout_Main->addLayout(horizontalLayout_2_Main);
211 
212  horizontalLayout_Main_VerifyLabel = new QHBoxLayout();
213  horizontalLayout_Main_VerifyLabel->setObjectName(QStringLiteral("horizontalLayout_Main_VerifyLabel"));
214  threadsScriptVerifLabel = new QLabel(tabMain);
215  threadsScriptVerifLabel->setObjectName(QStringLiteral("threadsScriptVerifLabel"));
216  threadsScriptVerifLabel->setTextFormat(Qt::PlainText);
217 
218  horizontalLayout_Main_VerifyLabel->addWidget(threadsScriptVerifLabel);
219 
220  threadsScriptVerif = new QSpinBox(tabMain);
221  threadsScriptVerif->setObjectName(QStringLiteral("threadsScriptVerif"));
222 
223  horizontalLayout_Main_VerifyLabel->addWidget(threadsScriptVerif);
224 
225  horizontalSpacer_Main_Threads = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
226 
227  horizontalLayout_Main_VerifyLabel->addItem(horizontalSpacer_Main_Threads);
228 
229 
230  verticalLayout_Main->addLayout(horizontalLayout_Main_VerifyLabel);
231 
232  verticalSpacer_Main = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
233 
234  verticalLayout_Main->addItem(verticalSpacer_Main);
235 
236  tabWidget->addTab(tabMain, QString());
237  tabWallet = new QWidget();
238  tabWallet->setObjectName(QStringLiteral("tabWallet"));
239  verticalLayout_Wallet = new QVBoxLayout(tabWallet);
240  verticalLayout_Wallet->setObjectName(QStringLiteral("verticalLayout_Wallet"));
241  groupBox = new QGroupBox(tabWallet);
242  groupBox->setObjectName(QStringLiteral("groupBox"));
243  verticalLayout_2 = new QVBoxLayout(groupBox);
244  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
245  coinControlFeatures = new QCheckBox(groupBox);
246  coinControlFeatures->setObjectName(QStringLiteral("coinControlFeatures"));
247 
248  verticalLayout_2->addWidget(coinControlFeatures);
249 
250  spendZeroConfChange = new QCheckBox(groupBox);
251  spendZeroConfChange->setObjectName(QStringLiteral("spendZeroConfChange"));
252 
253  verticalLayout_2->addWidget(spendZeroConfChange);
254 
255 
256  verticalLayout_Wallet->addWidget(groupBox);
257 
258  verticalSpacer_Wallet = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
259 
260  verticalLayout_Wallet->addItem(verticalSpacer_Wallet);
261 
262  tabWidget->addTab(tabWallet, QString());
263  tabNetwork = new QWidget();
264  tabNetwork->setObjectName(QStringLiteral("tabNetwork"));
265  verticalLayout_Network = new QVBoxLayout(tabNetwork);
266  verticalLayout_Network->setObjectName(QStringLiteral("verticalLayout_Network"));
267  mapPortUpnp = new QCheckBox(tabNetwork);
268  mapPortUpnp->setObjectName(QStringLiteral("mapPortUpnp"));
269 
270  verticalLayout_Network->addWidget(mapPortUpnp);
271 
272  allowIncoming = new QCheckBox(tabNetwork);
273  allowIncoming->setObjectName(QStringLiteral("allowIncoming"));
274 
275  verticalLayout_Network->addWidget(allowIncoming);
276 
277  connectSocks = new QCheckBox(tabNetwork);
278  connectSocks->setObjectName(QStringLiteral("connectSocks"));
279 
280  verticalLayout_Network->addWidget(connectSocks);
281 
282  horizontalLayout_1_Network = new QHBoxLayout();
283  horizontalLayout_1_Network->setObjectName(QStringLiteral("horizontalLayout_1_Network"));
284  proxyIpLabel = new QLabel(tabNetwork);
285  proxyIpLabel->setObjectName(QStringLiteral("proxyIpLabel"));
286  proxyIpLabel->setTextFormat(Qt::PlainText);
287 
288  horizontalLayout_1_Network->addWidget(proxyIpLabel);
289 
290  proxyIp = new QValidatedLineEdit(tabNetwork);
291  proxyIp->setObjectName(QStringLiteral("proxyIp"));
292  proxyIp->setMinimumSize(QSize(140, 0));
293  proxyIp->setMaximumSize(QSize(140, 16777215));
294 
295  horizontalLayout_1_Network->addWidget(proxyIp);
296 
297  proxyPortLabel = new QLabel(tabNetwork);
298  proxyPortLabel->setObjectName(QStringLiteral("proxyPortLabel"));
299  proxyPortLabel->setTextFormat(Qt::PlainText);
300 
301  horizontalLayout_1_Network->addWidget(proxyPortLabel);
302 
303  proxyPort = new QLineEdit(tabNetwork);
304  proxyPort->setObjectName(QStringLiteral("proxyPort"));
305  proxyPort->setMinimumSize(QSize(55, 0));
306  proxyPort->setMaximumSize(QSize(55, 16777215));
307 
308  horizontalLayout_1_Network->addWidget(proxyPort);
309 
310  horizontalSpacer_1_Network = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
311 
312  horizontalLayout_1_Network->addItem(horizontalSpacer_1_Network);
313 
314 
315  verticalLayout_Network->addLayout(horizontalLayout_1_Network);
316 
317  horizontalLayout_2_Network = new QHBoxLayout();
318  horizontalLayout_2_Network->setObjectName(QStringLiteral("horizontalLayout_2_Network"));
319  proxyActiveNets = new QLabel(tabNetwork);
320  proxyActiveNets->setObjectName(QStringLiteral("proxyActiveNets"));
321  proxyActiveNets->setTextFormat(Qt::PlainText);
322 
323  horizontalLayout_2_Network->addWidget(proxyActiveNets);
324 
325  proxyReachIPv4 = new QCheckBox(tabNetwork);
326  proxyReachIPv4->setObjectName(QStringLiteral("proxyReachIPv4"));
327  proxyReachIPv4->setEnabled(false);
328 
329  horizontalLayout_2_Network->addWidget(proxyReachIPv4);
330 
331  proxyReachIPv4Label = new QLabel(tabNetwork);
332  proxyReachIPv4Label->setObjectName(QStringLiteral("proxyReachIPv4Label"));
333  proxyReachIPv4Label->setTextFormat(Qt::PlainText);
334 
335  horizontalLayout_2_Network->addWidget(proxyReachIPv4Label);
336 
337  proxyReachIPv6 = new QCheckBox(tabNetwork);
338  proxyReachIPv6->setObjectName(QStringLiteral("proxyReachIPv6"));
339  proxyReachIPv6->setEnabled(false);
340 
341  horizontalLayout_2_Network->addWidget(proxyReachIPv6);
342 
343  proxyReachIPv6Label = new QLabel(tabNetwork);
344  proxyReachIPv6Label->setObjectName(QStringLiteral("proxyReachIPv6Label"));
345  proxyReachIPv6Label->setTextFormat(Qt::PlainText);
346 
347  horizontalLayout_2_Network->addWidget(proxyReachIPv6Label);
348 
349  proxyReachTor = new QCheckBox(tabNetwork);
350  proxyReachTor->setObjectName(QStringLiteral("proxyReachTor"));
351  proxyReachTor->setEnabled(false);
352 
353  horizontalLayout_2_Network->addWidget(proxyReachTor);
354 
355  proxyReachTorLabel = new QLabel(tabNetwork);
356  proxyReachTorLabel->setObjectName(QStringLiteral("proxyReachTorLabel"));
357  proxyReachTorLabel->setTextFormat(Qt::PlainText);
358 
359  horizontalLayout_2_Network->addWidget(proxyReachTorLabel);
360 
361  horizontalSpacer_2_Network = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
362 
363  horizontalLayout_2_Network->addItem(horizontalSpacer_2_Network);
364 
365 
366  verticalLayout_Network->addLayout(horizontalLayout_2_Network);
367 
368  connectSocksTor = new QCheckBox(tabNetwork);
369  connectSocksTor->setObjectName(QStringLiteral("connectSocksTor"));
370 
371  verticalLayout_Network->addWidget(connectSocksTor);
372 
373  horizontalLayout_3_Network = new QHBoxLayout();
374  horizontalLayout_3_Network->setObjectName(QStringLiteral("horizontalLayout_3_Network"));
375  proxyIpTorLabel = new QLabel(tabNetwork);
376  proxyIpTorLabel->setObjectName(QStringLiteral("proxyIpTorLabel"));
377  proxyIpTorLabel->setTextFormat(Qt::PlainText);
378 
379  horizontalLayout_3_Network->addWidget(proxyIpTorLabel);
380 
381  proxyIpTor = new QValidatedLineEdit(tabNetwork);
382  proxyIpTor->setObjectName(QStringLiteral("proxyIpTor"));
383  proxyIpTor->setMinimumSize(QSize(140, 0));
384  proxyIpTor->setMaximumSize(QSize(140, 16777215));
385 
386  horizontalLayout_3_Network->addWidget(proxyIpTor);
387 
388  proxyPortTorLabel = new QLabel(tabNetwork);
389  proxyPortTorLabel->setObjectName(QStringLiteral("proxyPortTorLabel"));
390  proxyPortTorLabel->setTextFormat(Qt::PlainText);
391 
392  horizontalLayout_3_Network->addWidget(proxyPortTorLabel);
393 
394  proxyPortTor = new QLineEdit(tabNetwork);
395  proxyPortTor->setObjectName(QStringLiteral("proxyPortTor"));
396  proxyPortTor->setMinimumSize(QSize(55, 0));
397  proxyPortTor->setMaximumSize(QSize(55, 16777215));
398 
399  horizontalLayout_3_Network->addWidget(proxyPortTor);
400 
401  horizontalSpacer_4_Network = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
402 
403  horizontalLayout_3_Network->addItem(horizontalSpacer_4_Network);
404 
405 
406  verticalLayout_Network->addLayout(horizontalLayout_3_Network);
407 
408  verticalSpacer_Network = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
409 
410  verticalLayout_Network->addItem(verticalSpacer_Network);
411 
412  tabWidget->addTab(tabNetwork, QString());
413  tabWindow = new QWidget();
414  tabWindow->setObjectName(QStringLiteral("tabWindow"));
415  verticalLayout_Window = new QVBoxLayout(tabWindow);
416  verticalLayout_Window->setObjectName(QStringLiteral("verticalLayout_Window"));
417  hideTrayIcon = new QCheckBox(tabWindow);
418  hideTrayIcon->setObjectName(QStringLiteral("hideTrayIcon"));
419 
420  verticalLayout_Window->addWidget(hideTrayIcon);
421 
422  minimizeToTray = new QCheckBox(tabWindow);
423  minimizeToTray->setObjectName(QStringLiteral("minimizeToTray"));
424 
425  verticalLayout_Window->addWidget(minimizeToTray);
426 
427  minimizeOnClose = new QCheckBox(tabWindow);
428  minimizeOnClose->setObjectName(QStringLiteral("minimizeOnClose"));
429 
430  verticalLayout_Window->addWidget(minimizeOnClose);
431 
432  verticalSpacer_Window = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
433 
434  verticalLayout_Window->addItem(verticalSpacer_Window);
435 
436  tabWidget->addTab(tabWindow, QString());
437  tabDisplay = new QWidget();
438  tabDisplay->setObjectName(QStringLiteral("tabDisplay"));
439  verticalLayout_Display = new QVBoxLayout(tabDisplay);
440  verticalLayout_Display->setObjectName(QStringLiteral("verticalLayout_Display"));
441  horizontalLayout_1_Display = new QHBoxLayout();
442  horizontalLayout_1_Display->setObjectName(QStringLiteral("horizontalLayout_1_Display"));
443  langLabel = new QLabel(tabDisplay);
444  langLabel->setObjectName(QStringLiteral("langLabel"));
445  langLabel->setTextFormat(Qt::PlainText);
446 
447  horizontalLayout_1_Display->addWidget(langLabel);
448 
449  lang = new QValueComboBox(tabDisplay);
450  lang->setObjectName(QStringLiteral("lang"));
451 
452  horizontalLayout_1_Display->addWidget(lang);
453 
454 
455  verticalLayout_Display->addLayout(horizontalLayout_1_Display);
456 
457  horizontalLayout_2_Display = new QHBoxLayout();
458  horizontalLayout_2_Display->setObjectName(QStringLiteral("horizontalLayout_2_Display"));
459  unitLabel = new QLabel(tabDisplay);
460  unitLabel->setObjectName(QStringLiteral("unitLabel"));
461  unitLabel->setTextFormat(Qt::PlainText);
462 
463  horizontalLayout_2_Display->addWidget(unitLabel);
464 
465  unit = new QValueComboBox(tabDisplay);
466  unit->setObjectName(QStringLiteral("unit"));
467 
468  horizontalLayout_2_Display->addWidget(unit);
469 
470 
471  verticalLayout_Display->addLayout(horizontalLayout_2_Display);
472 
473  horizontalLayout_3_Display = new QHBoxLayout();
474  horizontalLayout_3_Display->setObjectName(QStringLiteral("horizontalLayout_3_Display"));
475  thirdPartyTxUrlsLabel = new QLabel(tabDisplay);
476  thirdPartyTxUrlsLabel->setObjectName(QStringLiteral("thirdPartyTxUrlsLabel"));
477 
478  horizontalLayout_3_Display->addWidget(thirdPartyTxUrlsLabel);
479 
480  thirdPartyTxUrls = new QLineEdit(tabDisplay);
481  thirdPartyTxUrls->setObjectName(QStringLiteral("thirdPartyTxUrls"));
482  thirdPartyTxUrls->setPlaceholderText(QStringLiteral("https://example.com/tx/%s"));
483 
484  horizontalLayout_3_Display->addWidget(thirdPartyTxUrls);
485 
486 
487  verticalLayout_Display->addLayout(horizontalLayout_3_Display);
488 
489  verticalSpacer_Display = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
490 
491  verticalLayout_Display->addItem(verticalSpacer_Display);
492 
493  tabWidget->addTab(tabDisplay, QString());
494 
495  verticalLayout->addWidget(tabWidget);
496 
497  frame = new QFrame(OptionsDialog);
498  frame->setObjectName(QStringLiteral("frame"));
499  verticalLayout_Bottom = new QVBoxLayout(frame);
500  verticalLayout_Bottom->setObjectName(QStringLiteral("verticalLayout_Bottom"));
501  horizontalLayout_Bottom = new QHBoxLayout();
502  horizontalLayout_Bottom->setObjectName(QStringLiteral("horizontalLayout_Bottom"));
503  overriddenByCommandLineInfoLabel = new QLabel(frame);
504  overriddenByCommandLineInfoLabel->setObjectName(QStringLiteral("overriddenByCommandLineInfoLabel"));
505  overriddenByCommandLineInfoLabel->setTextFormat(Qt::PlainText);
506 
507  horizontalLayout_Bottom->addWidget(overriddenByCommandLineInfoLabel);
508 
509  horizontalSpacer_Bottom = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
510 
511  horizontalLayout_Bottom->addItem(horizontalSpacer_Bottom);
512 
513 
514  verticalLayout_Bottom->addLayout(horizontalLayout_Bottom);
515 
516  overriddenByCommandLineLabel = new QLabel(frame);
517  overriddenByCommandLineLabel->setObjectName(QStringLiteral("overriddenByCommandLineLabel"));
518  overriddenByCommandLineLabel->setTextFormat(Qt::PlainText);
519  overriddenByCommandLineLabel->setWordWrap(true);
520 
521  verticalLayout_Bottom->addWidget(overriddenByCommandLineLabel);
522 
523 
524  verticalLayout->addWidget(frame);
525 
526  horizontalLayout_Buttons = new QHBoxLayout();
527  horizontalLayout_Buttons->setObjectName(QStringLiteral("horizontalLayout_Buttons"));
528  verticalLayout_Buttons = new QVBoxLayout();
529  verticalLayout_Buttons->setObjectName(QStringLiteral("verticalLayout_Buttons"));
530  openBitcoinConfButton = new QPushButton(OptionsDialog);
531  openBitcoinConfButton->setObjectName(QStringLiteral("openBitcoinConfButton"));
532  openBitcoinConfButton->setAutoDefault(false);
533 
534  verticalLayout_Buttons->addWidget(openBitcoinConfButton);
535 
536  resetButton = new QPushButton(OptionsDialog);
537  resetButton->setObjectName(QStringLiteral("resetButton"));
538  resetButton->setAutoDefault(false);
539 
540  verticalLayout_Buttons->addWidget(resetButton);
541 
542 
543  horizontalLayout_Buttons->addLayout(verticalLayout_Buttons);
544 
545  horizontalSpacer_1 = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
546 
547  horizontalLayout_Buttons->addItem(horizontalSpacer_1);
548 
549  statusLabel = new QLabel(OptionsDialog);
550  statusLabel->setObjectName(QStringLiteral("statusLabel"));
551  statusLabel->setMinimumSize(QSize(200, 0));
552  QFont font;
553  font.setBold(true);
554  font.setWeight(75);
555  statusLabel->setFont(font);
556  statusLabel->setTextFormat(Qt::PlainText);
557  statusLabel->setWordWrap(true);
558 
559  horizontalLayout_Buttons->addWidget(statusLabel);
560 
561  horizontalSpacer_2 = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
562 
563  horizontalLayout_Buttons->addItem(horizontalSpacer_2);
564 
565  verticalLayout_4 = new QVBoxLayout();
566  verticalLayout_4->setObjectName(QStringLiteral("verticalLayout_4"));
567  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
568 
569  verticalLayout_4->addItem(verticalSpacer);
570 
571  horizontalLayout = new QHBoxLayout();
572  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
573  okButton = new QPushButton(OptionsDialog);
574  okButton->setObjectName(QStringLiteral("okButton"));
575  okButton->setAutoDefault(false);
576 
577  horizontalLayout->addWidget(okButton);
578 
579  cancelButton = new QPushButton(OptionsDialog);
580  cancelButton->setObjectName(QStringLiteral("cancelButton"));
581  cancelButton->setAutoDefault(false);
582 
583  horizontalLayout->addWidget(cancelButton);
584 
585 
586  verticalLayout_4->addLayout(horizontalLayout);
587 
588 
589  horizontalLayout_Buttons->addLayout(verticalLayout_4);
590 
591 
592  verticalLayout->addLayout(horizontalLayout_Buttons);
593 
594 #ifndef QT_NO_SHORTCUT
595  databaseCacheLabel->setBuddy(databaseCache);
596  threadsScriptVerifLabel->setBuddy(threadsScriptVerif);
597  proxyIpLabel->setBuddy(proxyIp);
598  proxyPortLabel->setBuddy(proxyPort);
599  proxyIpTorLabel->setBuddy(proxyIpTor);
600  proxyPortTorLabel->setBuddy(proxyPortTor);
601  langLabel->setBuddy(lang);
602  unitLabel->setBuddy(unit);
603  thirdPartyTxUrlsLabel->setBuddy(thirdPartyTxUrls);
604 #endif // QT_NO_SHORTCUT
605 
606  retranslateUi(OptionsDialog);
607 
608  tabWidget->setCurrentIndex(0);
609  okButton->setDefault(true);
610 
611 
612  QMetaObject::connectSlotsByName(OptionsDialog);
613  } // setupUi
614 
616  {
617  OptionsDialog->setWindowTitle(QApplication::translate("OptionsDialog", "Options", 0));
618 #ifndef QT_NO_TOOLTIP
619  bitcoinAtStartup->setToolTip(QApplication::translate("OptionsDialog", "Automatically start %1 after logging in to the system.", 0));
620 #endif // QT_NO_TOOLTIP
621  bitcoinAtStartup->setText(QApplication::translate("OptionsDialog", "&Start %1 on system login", 0));
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.", 0));
624 #endif // QT_NO_TOOLTIP
625  prune->setText(QApplication::translate("OptionsDialog", "Prune &block storage to", 0));
626  pruneSizeUnitLabel->setText(QApplication::translate("OptionsDialog", "GB", 0));
627  pruneWarning->setText(QApplication::translate("OptionsDialog", "Reverting this setting requires re-downloading the entire blockchain.", 0));
628  databaseCacheLabel->setText(QApplication::translate("OptionsDialog", "Size of &database cache", 0));
629  databaseCacheUnitLabel->setText(QApplication::translate("OptionsDialog", "MiB", 0));
630  threadsScriptVerifLabel->setText(QApplication::translate("OptionsDialog", "Number of script &verification threads", 0));
631 #ifndef QT_NO_TOOLTIP
632  threadsScriptVerif->setToolTip(QApplication::translate("OptionsDialog", "(0 = auto, <0 = leave that many cores free)", 0));
633 #endif // QT_NO_TOOLTIP
634  tabWidget->setTabText(tabWidget->indexOf(tabMain), QApplication::translate("OptionsDialog", "&Main", 0));
635  groupBox->setTitle(QApplication::translate("OptionsDialog", "Expert", 0));
636 #ifndef QT_NO_TOOLTIP
637  coinControlFeatures->setToolTip(QApplication::translate("OptionsDialog", "Whether to show coin control features or not.", 0));
638 #endif // QT_NO_TOOLTIP
639  coinControlFeatures->setText(QApplication::translate("OptionsDialog", "Enable coin &control features", 0));
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.", 0));
642 #endif // QT_NO_TOOLTIP
643  spendZeroConfChange->setText(QApplication::translate("OptionsDialog", "&Spend unconfirmed change", 0));
644  tabWidget->setTabText(tabWidget->indexOf(tabWallet), QApplication::translate("OptionsDialog", "W&allet", 0));
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.", 0));
647 #endif // QT_NO_TOOLTIP
648  mapPortUpnp->setText(QApplication::translate("OptionsDialog", "Map port using &UPnP", 0));
649 #ifndef QT_NO_TOOLTIP
650  allowIncoming->setToolTip(QApplication::translate("OptionsDialog", "Accept connections from outside.", 0));
651 #endif // QT_NO_TOOLTIP
652  allowIncoming->setText(QApplication::translate("OptionsDialog", "Allow incomin&g connections", 0));
653 #ifndef QT_NO_TOOLTIP
654  connectSocks->setToolTip(QApplication::translate("OptionsDialog", "Connect to the Bitcoin network through a SOCKS5 proxy.", 0));
655 #endif // QT_NO_TOOLTIP
656  connectSocks->setText(QApplication::translate("OptionsDialog", "&Connect through SOCKS5 proxy (default proxy):", 0));
657  proxyIpLabel->setText(QApplication::translate("OptionsDialog", "Proxy &IP:", 0));
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)", 0));
660 #endif // QT_NO_TOOLTIP
661  proxyPortLabel->setText(QApplication::translate("OptionsDialog", "&Port:", 0));
662 #ifndef QT_NO_TOOLTIP
663  proxyPort->setToolTip(QApplication::translate("OptionsDialog", "Port of the proxy (e.g. 9050)", 0));
664 #endif // QT_NO_TOOLTIP
665  proxyActiveNets->setText(QApplication::translate("OptionsDialog", "Used for reaching peers via:", 0));
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.", 0));
668 #endif // QT_NO_TOOLTIP
669  proxyReachIPv4->setText(QString());
670  proxyReachIPv4Label->setText(QApplication::translate("OptionsDialog", "IPv4", 0));
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.", 0));
673 #endif // QT_NO_TOOLTIP
674  proxyReachIPv6->setText(QString());
675  proxyReachIPv6Label->setText(QApplication::translate("OptionsDialog", "IPv6", 0));
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.", 0));
678 #endif // QT_NO_TOOLTIP
679  proxyReachTor->setText(QString());
680  proxyReachTorLabel->setText(QApplication::translate("OptionsDialog", "Tor", 0));
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.", 0));
683 #endif // QT_NO_TOOLTIP
684  connectSocksTor->setText(QApplication::translate("OptionsDialog", "Use separate SOCKS&5 proxy to reach peers via Tor onion services:", 0));
685  proxyIpTorLabel->setText(QApplication::translate("OptionsDialog", "Proxy &IP:", 0));
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)", 0));
688 #endif // QT_NO_TOOLTIP
689  proxyPortTorLabel->setText(QApplication::translate("OptionsDialog", "&Port:", 0));
690 #ifndef QT_NO_TOOLTIP
691  proxyPortTor->setToolTip(QApplication::translate("OptionsDialog", "Port of the proxy (e.g. 9050)", 0));
692 #endif // QT_NO_TOOLTIP
693  tabWidget->setTabText(tabWidget->indexOf(tabNetwork), QApplication::translate("OptionsDialog", "&Network", 0));
694 #ifndef QT_NO_TOOLTIP
695  hideTrayIcon->setToolTip(QApplication::translate("OptionsDialog", "Hide the icon from the system tray.", 0));
696 #endif // QT_NO_TOOLTIP
697  hideTrayIcon->setText(QApplication::translate("OptionsDialog", "&Hide tray icon", 0));
698 #ifndef QT_NO_TOOLTIP
699  minimizeToTray->setToolTip(QApplication::translate("OptionsDialog", "Show only a tray icon after minimizing the window.", 0));
700 #endif // QT_NO_TOOLTIP
701  minimizeToTray->setText(QApplication::translate("OptionsDialog", "&Minimize to the tray instead of the taskbar", 0));
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.", 0));
704 #endif // QT_NO_TOOLTIP
705  minimizeOnClose->setText(QApplication::translate("OptionsDialog", "M&inimize on close", 0));
706  tabWidget->setTabText(tabWidget->indexOf(tabWindow), QApplication::translate("OptionsDialog", "&Window", 0));
707  langLabel->setText(QApplication::translate("OptionsDialog", "User Interface &language:", 0));
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.", 0));
710 #endif // QT_NO_TOOLTIP
711  unitLabel->setText(QApplication::translate("OptionsDialog", "&Unit to show amounts in:", 0));
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.", 0));
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 |.", 0));
717 #endif // QT_NO_TOOLTIP
718  thirdPartyTxUrlsLabel->setText(QApplication::translate("OptionsDialog", "&Third party transaction URLs", 0));
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 |.", 0));
721 #endif // QT_NO_TOOLTIP
722  tabWidget->setTabText(tabWidget->indexOf(tabDisplay), QApplication::translate("OptionsDialog", "&Display", 0));
723  overriddenByCommandLineInfoLabel->setText(QApplication::translate("OptionsDialog", "Options set in this dialog are overridden by the command line or in the configuration file:", 0));
724  overriddenByCommandLineLabel->setText(QString());
725 #ifndef QT_NO_TOOLTIP
726  openBitcoinConfButton->setToolTip(QApplication::translate("OptionsDialog", "Open the %1 configuration file from the working directory.", 0));
727 #endif // QT_NO_TOOLTIP
728  openBitcoinConfButton->setText(QApplication::translate("OptionsDialog", "Open Configuration File", 0));
729 #ifndef QT_NO_TOOLTIP
730  resetButton->setToolTip(QApplication::translate("OptionsDialog", "Reset all client options to default.", 0));
731 #endif // QT_NO_TOOLTIP
732  resetButton->setText(QApplication::translate("OptionsDialog", "&Reset Options", 0));
733  statusLabel->setText(QString());
734  okButton->setText(QApplication::translate("OptionsDialog", "&OK", 0));
735  cancelButton->setText(QApplication::translate("OptionsDialog", "&Cancel", 0));
736  } // retranslateUi
737 
738 };
739 
740 namespace Ui {
741  class OptionsDialog: public Ui_OptionsDialog {};
742 } // namespace Ui
743 
744 QT_END_NAMESPACE
745 
746 #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
QPushButton * cancelButton
QLineEdit * proxyPortTor
QVBoxLayout * verticalLayout_Wallet
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.
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
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
QCheckBox * mapPortUpnp
QValueComboBox * lang
QSpacerItem * verticalSpacer
QCheckBox * connectSocksTor
QVBoxLayout * verticalLayout_Buttons
QLabel * proxyIpTorLabel
QSpacerItem * verticalSpacer_Wallet
QLabel * overriddenByCommandLineLabel
QLabel * databaseCacheLabel
QHBoxLayout * horizontalLayout_1_Display
QValidatedLineEdit * proxyIpTor
QPushButton * okButton
QCheckBox * hideTrayIcon
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
QSpacerItem * verticalSpacer_Main
Preferences dialog.
Definition: optionsdialog.h:35
QCheckBox * coinControlFeatures
QPushButton * resetButton
QHBoxLayout * horizontalLayout_2_Display
void retranslateUi(QDialog *OptionsDialog)
QHBoxLayout * horizontalLayout_3_Network
QSpacerItem * horizontalSpacer_Bottom