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> 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"));
149 verticalLayout_Main->addWidget(bitcoinAtStartup);
151 horizontalSpacer_0_Main =
new QSpacerItem(40, 5, QSizePolicy::Expanding, QSizePolicy::Minimum);
153 verticalLayout_Main->addItem(horizontalSpacer_0_Main);
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"));
160 horizontalLayout_Main_Prune->addWidget(prune);
162 pruneSize =
new QSpinBox(tabMain);
163 pruneSize->setObjectName(QStringLiteral(
"pruneSize"));
165 horizontalLayout_Main_Prune->addWidget(pruneSize);
167 pruneSizeUnitLabel =
new QLabel(tabMain);
168 pruneSizeUnitLabel->setObjectName(QStringLiteral(
"pruneSizeUnitLabel"));
169 pruneSizeUnitLabel->setTextFormat(Qt::PlainText);
171 horizontalLayout_Main_Prune->addWidget(pruneSizeUnitLabel);
173 horizontalSpacer_Main_Prune =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
175 horizontalLayout_Main_Prune->addItem(horizontalSpacer_Main_Prune);
178 verticalLayout_Main->addLayout(horizontalLayout_Main_Prune);
180 pruneWarning =
new QLabel(tabMain);
181 pruneWarning->setObjectName(QStringLiteral(
"pruneWarning"));
182 pruneWarning->setTextFormat(Qt::PlainText);
184 verticalLayout_Main->addWidget(pruneWarning);
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);
192 horizontalLayout_2_Main->addWidget(databaseCacheLabel);
194 databaseCache =
new QSpinBox(tabMain);
195 databaseCache->setObjectName(QStringLiteral(
"databaseCache"));
197 horizontalLayout_2_Main->addWidget(databaseCache);
199 databaseCacheUnitLabel =
new QLabel(tabMain);
200 databaseCacheUnitLabel->setObjectName(QStringLiteral(
"databaseCacheUnitLabel"));
201 databaseCacheUnitLabel->setTextFormat(Qt::PlainText);
203 horizontalLayout_2_Main->addWidget(databaseCacheUnitLabel);
205 horizontalSpacer_2_Main =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
207 horizontalLayout_2_Main->addItem(horizontalSpacer_2_Main);
210 verticalLayout_Main->addLayout(horizontalLayout_2_Main);
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);
218 horizontalLayout_Main_VerifyLabel->addWidget(threadsScriptVerifLabel);
220 threadsScriptVerif =
new QSpinBox(tabMain);
221 threadsScriptVerif->setObjectName(QStringLiteral(
"threadsScriptVerif"));
223 horizontalLayout_Main_VerifyLabel->addWidget(threadsScriptVerif);
225 horizontalSpacer_Main_Threads =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
227 horizontalLayout_Main_VerifyLabel->addItem(horizontalSpacer_Main_Threads);
230 verticalLayout_Main->addLayout(horizontalLayout_Main_VerifyLabel);
232 verticalSpacer_Main =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
234 verticalLayout_Main->addItem(verticalSpacer_Main);
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"));
248 verticalLayout_2->addWidget(coinControlFeatures);
250 spendZeroConfChange =
new QCheckBox(groupBox);
251 spendZeroConfChange->setObjectName(QStringLiteral(
"spendZeroConfChange"));
253 verticalLayout_2->addWidget(spendZeroConfChange);
256 verticalLayout_Wallet->addWidget(groupBox);
258 verticalSpacer_Wallet =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
260 verticalLayout_Wallet->addItem(verticalSpacer_Wallet);
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"));
270 verticalLayout_Network->addWidget(mapPortUpnp);
272 allowIncoming =
new QCheckBox(tabNetwork);
273 allowIncoming->setObjectName(QStringLiteral(
"allowIncoming"));
275 verticalLayout_Network->addWidget(allowIncoming);
277 connectSocks =
new QCheckBox(tabNetwork);
278 connectSocks->setObjectName(QStringLiteral(
"connectSocks"));
280 verticalLayout_Network->addWidget(connectSocks);
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);
288 horizontalLayout_1_Network->addWidget(proxyIpLabel);
291 proxyIp->setObjectName(QStringLiteral(
"proxyIp"));
292 proxyIp->setMinimumSize(QSize(140, 0));
293 proxyIp->setMaximumSize(QSize(140, 16777215));
295 horizontalLayout_1_Network->addWidget(proxyIp);
297 proxyPortLabel =
new QLabel(tabNetwork);
298 proxyPortLabel->setObjectName(QStringLiteral(
"proxyPortLabel"));
299 proxyPortLabel->setTextFormat(Qt::PlainText);
301 horizontalLayout_1_Network->addWidget(proxyPortLabel);
303 proxyPort =
new QLineEdit(tabNetwork);
304 proxyPort->setObjectName(QStringLiteral(
"proxyPort"));
305 proxyPort->setMinimumSize(QSize(55, 0));
306 proxyPort->setMaximumSize(QSize(55, 16777215));
308 horizontalLayout_1_Network->addWidget(proxyPort);
310 horizontalSpacer_1_Network =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
312 horizontalLayout_1_Network->addItem(horizontalSpacer_1_Network);
315 verticalLayout_Network->addLayout(horizontalLayout_1_Network);
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);
323 horizontalLayout_2_Network->addWidget(proxyActiveNets);
325 proxyReachIPv4 =
new QCheckBox(tabNetwork);
326 proxyReachIPv4->setObjectName(QStringLiteral(
"proxyReachIPv4"));
327 proxyReachIPv4->setEnabled(
false);
329 horizontalLayout_2_Network->addWidget(proxyReachIPv4);
331 proxyReachIPv4Label =
new QLabel(tabNetwork);
332 proxyReachIPv4Label->setObjectName(QStringLiteral(
"proxyReachIPv4Label"));
333 proxyReachIPv4Label->setTextFormat(Qt::PlainText);
335 horizontalLayout_2_Network->addWidget(proxyReachIPv4Label);
337 proxyReachIPv6 =
new QCheckBox(tabNetwork);
338 proxyReachIPv6->setObjectName(QStringLiteral(
"proxyReachIPv6"));
339 proxyReachIPv6->setEnabled(
false);
341 horizontalLayout_2_Network->addWidget(proxyReachIPv6);
343 proxyReachIPv6Label =
new QLabel(tabNetwork);
344 proxyReachIPv6Label->setObjectName(QStringLiteral(
"proxyReachIPv6Label"));
345 proxyReachIPv6Label->setTextFormat(Qt::PlainText);
347 horizontalLayout_2_Network->addWidget(proxyReachIPv6Label);
349 proxyReachTor =
new QCheckBox(tabNetwork);
350 proxyReachTor->setObjectName(QStringLiteral(
"proxyReachTor"));
351 proxyReachTor->setEnabled(
false);
353 horizontalLayout_2_Network->addWidget(proxyReachTor);
355 proxyReachTorLabel =
new QLabel(tabNetwork);
356 proxyReachTorLabel->setObjectName(QStringLiteral(
"proxyReachTorLabel"));
357 proxyReachTorLabel->setTextFormat(Qt::PlainText);
359 horizontalLayout_2_Network->addWidget(proxyReachTorLabel);
361 horizontalSpacer_2_Network =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
363 horizontalLayout_2_Network->addItem(horizontalSpacer_2_Network);
366 verticalLayout_Network->addLayout(horizontalLayout_2_Network);
368 connectSocksTor =
new QCheckBox(tabNetwork);
369 connectSocksTor->setObjectName(QStringLiteral(
"connectSocksTor"));
371 verticalLayout_Network->addWidget(connectSocksTor);
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);
379 horizontalLayout_3_Network->addWidget(proxyIpTorLabel);
382 proxyIpTor->setObjectName(QStringLiteral(
"proxyIpTor"));
383 proxyIpTor->setMinimumSize(QSize(140, 0));
384 proxyIpTor->setMaximumSize(QSize(140, 16777215));
386 horizontalLayout_3_Network->addWidget(proxyIpTor);
388 proxyPortTorLabel =
new QLabel(tabNetwork);
389 proxyPortTorLabel->setObjectName(QStringLiteral(
"proxyPortTorLabel"));
390 proxyPortTorLabel->setTextFormat(Qt::PlainText);
392 horizontalLayout_3_Network->addWidget(proxyPortTorLabel);
394 proxyPortTor =
new QLineEdit(tabNetwork);
395 proxyPortTor->setObjectName(QStringLiteral(
"proxyPortTor"));
396 proxyPortTor->setMinimumSize(QSize(55, 0));
397 proxyPortTor->setMaximumSize(QSize(55, 16777215));
399 horizontalLayout_3_Network->addWidget(proxyPortTor);
401 horizontalSpacer_4_Network =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
403 horizontalLayout_3_Network->addItem(horizontalSpacer_4_Network);
406 verticalLayout_Network->addLayout(horizontalLayout_3_Network);
408 verticalSpacer_Network =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
410 verticalLayout_Network->addItem(verticalSpacer_Network);
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"));
420 verticalLayout_Window->addWidget(hideTrayIcon);
422 minimizeToTray =
new QCheckBox(tabWindow);
423 minimizeToTray->setObjectName(QStringLiteral(
"minimizeToTray"));
425 verticalLayout_Window->addWidget(minimizeToTray);
427 minimizeOnClose =
new QCheckBox(tabWindow);
428 minimizeOnClose->setObjectName(QStringLiteral(
"minimizeOnClose"));
430 verticalLayout_Window->addWidget(minimizeOnClose);
432 verticalSpacer_Window =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
434 verticalLayout_Window->addItem(verticalSpacer_Window);
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);
447 horizontalLayout_1_Display->addWidget(langLabel);
450 lang->setObjectName(QStringLiteral(
"lang"));
452 horizontalLayout_1_Display->addWidget(lang);
455 verticalLayout_Display->addLayout(horizontalLayout_1_Display);
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);
463 horizontalLayout_2_Display->addWidget(unitLabel);
466 unit->setObjectName(QStringLiteral(
"unit"));
468 horizontalLayout_2_Display->addWidget(unit);
471 verticalLayout_Display->addLayout(horizontalLayout_2_Display);
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"));
478 horizontalLayout_3_Display->addWidget(thirdPartyTxUrlsLabel);
480 thirdPartyTxUrls =
new QLineEdit(tabDisplay);
481 thirdPartyTxUrls->setObjectName(QStringLiteral(
"thirdPartyTxUrls"));
482 thirdPartyTxUrls->setPlaceholderText(QStringLiteral(
"https://example.com/tx/%s"));
484 horizontalLayout_3_Display->addWidget(thirdPartyTxUrls);
487 verticalLayout_Display->addLayout(horizontalLayout_3_Display);
489 verticalSpacer_Display =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
491 verticalLayout_Display->addItem(verticalSpacer_Display);
493 tabWidget->addTab(tabDisplay, QString());
495 verticalLayout->addWidget(tabWidget);
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);
507 horizontalLayout_Bottom->addWidget(overriddenByCommandLineInfoLabel);
509 horizontalSpacer_Bottom =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
511 horizontalLayout_Bottom->addItem(horizontalSpacer_Bottom);
514 verticalLayout_Bottom->addLayout(horizontalLayout_Bottom);
516 overriddenByCommandLineLabel =
new QLabel(frame);
517 overriddenByCommandLineLabel->setObjectName(QStringLiteral(
"overriddenByCommandLineLabel"));
518 overriddenByCommandLineLabel->setTextFormat(Qt::PlainText);
519 overriddenByCommandLineLabel->setWordWrap(
true);
521 verticalLayout_Bottom->addWidget(overriddenByCommandLineLabel);
524 verticalLayout->addWidget(frame);
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);
534 verticalLayout_Buttons->addWidget(openBitcoinConfButton);
536 resetButton =
new QPushButton(OptionsDialog);
537 resetButton->setObjectName(QStringLiteral(
"resetButton"));
538 resetButton->setAutoDefault(
false);
540 verticalLayout_Buttons->addWidget(resetButton);
543 horizontalLayout_Buttons->addLayout(verticalLayout_Buttons);
545 horizontalSpacer_1 =
new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
547 horizontalLayout_Buttons->addItem(horizontalSpacer_1);
549 statusLabel =
new QLabel(OptionsDialog);
550 statusLabel->setObjectName(QStringLiteral(
"statusLabel"));
551 statusLabel->setMinimumSize(QSize(200, 0));
555 statusLabel->setFont(font);
556 statusLabel->setTextFormat(Qt::PlainText);
557 statusLabel->setWordWrap(
true);
559 horizontalLayout_Buttons->addWidget(statusLabel);
561 horizontalSpacer_2 =
new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
563 horizontalLayout_Buttons->addItem(horizontalSpacer_2);
565 verticalLayout_4 =
new QVBoxLayout();
566 verticalLayout_4->setObjectName(QStringLiteral(
"verticalLayout_4"));
567 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
569 verticalLayout_4->addItem(verticalSpacer);
571 horizontalLayout =
new QHBoxLayout();
572 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
573 okButton =
new QPushButton(OptionsDialog);
574 okButton->setObjectName(QStringLiteral(
"okButton"));
575 okButton->setAutoDefault(
false);
577 horizontalLayout->addWidget(okButton);
579 cancelButton =
new QPushButton(OptionsDialog);
580 cancelButton->setObjectName(QStringLiteral(
"cancelButton"));
581 cancelButton->setAutoDefault(
false);
583 horizontalLayout->addWidget(cancelButton);
586 verticalLayout_4->addLayout(horizontalLayout);
589 horizontalLayout_Buttons->addLayout(verticalLayout_4);
592 verticalLayout->addLayout(horizontalLayout_Buttons);
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 608 tabWidget->setCurrentIndex(0);
609 okButton->setDefault(
true);
612 QMetaObject::connectSlotsByName(OptionsDialog);
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));
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