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/QGridLayout> 20 #include <QtWidgets/QGroupBox> 21 #include <QtWidgets/QHBoxLayout> 22 #include <QtWidgets/QHeaderView> 23 #include <QtWidgets/QLabel> 24 #include <QtWidgets/QLineEdit> 25 #include <QtWidgets/QPushButton> 26 #include <QtWidgets/QSpacerItem> 27 #include <QtWidgets/QSpinBox> 28 #include <QtWidgets/QTabWidget> 29 #include <QtWidgets/QVBoxLayout> 30 #include <QtWidgets/QWidget> 134 if (OptionsDialog->objectName().isEmpty())
135 OptionsDialog->setObjectName(QStringLiteral(
"OptionsDialog"));
136 OptionsDialog->resize(832, 468);
137 OptionsDialog->setModal(
true);
138 verticalLayout =
new QVBoxLayout(OptionsDialog);
139 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
140 verticalLayout->setContentsMargins(0, 0, 0, 0);
141 tabWidget =
new QTabWidget(OptionsDialog);
142 tabWidget->setObjectName(QStringLiteral(
"tabWidget"));
143 tabMain =
new QWidget();
144 tabMain->setObjectName(QStringLiteral(
"tabMain"));
145 verticalLayout_3 =
new QVBoxLayout(tabMain);
146 verticalLayout_3->setSpacing(10);
147 verticalLayout_3->setObjectName(QStringLiteral(
"verticalLayout_3"));
148 verticalLayout_3->setContentsMargins(30, 20, 30, 20);
149 fabcoinAtStartup =
new QCheckBox(tabMain);
150 fabcoinAtStartup->setObjectName(QStringLiteral(
"fabcoinAtStartup"));
152 verticalLayout_3->addWidget(fabcoinAtStartup);
154 gridLayout =
new QGridLayout();
155 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
156 gridLayout->setVerticalSpacing(10);
157 databaseCacheLabel =
new QLabel(tabMain);
158 databaseCacheLabel->setObjectName(QStringLiteral(
"databaseCacheLabel"));
159 databaseCacheLabel->setTextFormat(Qt::PlainText);
161 gridLayout->addWidget(databaseCacheLabel, 0, 0, 1, 1);
163 horizontalLayout_2_Main =
new QHBoxLayout();
164 horizontalLayout_2_Main->setObjectName(QStringLiteral(
"horizontalLayout_2_Main"));
165 databaseCache =
new QSpinBox(tabMain);
166 databaseCache->setObjectName(QStringLiteral(
"databaseCache"));
167 databaseCache->setMinimumSize(QSize(100, 0));
169 horizontalLayout_2_Main->addWidget(databaseCache);
171 databaseCacheUnitLabel =
new QLabel(tabMain);
172 databaseCacheUnitLabel->setObjectName(QStringLiteral(
"databaseCacheUnitLabel"));
173 databaseCacheUnitLabel->setTextFormat(Qt::PlainText);
175 horizontalLayout_2_Main->addWidget(databaseCacheUnitLabel);
177 horizontalSpacer_2_Main =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
179 horizontalLayout_2_Main->addItem(horizontalSpacer_2_Main);
182 gridLayout->addLayout(horizontalLayout_2_Main, 0, 1, 1, 1);
184 threadsScriptVerifLabel =
new QLabel(tabMain);
185 threadsScriptVerifLabel->setObjectName(QStringLiteral(
"threadsScriptVerifLabel"));
186 threadsScriptVerifLabel->setTextFormat(Qt::PlainText);
188 gridLayout->addWidget(threadsScriptVerifLabel, 1, 0, 1, 1);
190 horizontalLayout_3_Main =
new QHBoxLayout();
191 horizontalLayout_3_Main->setObjectName(QStringLiteral(
"horizontalLayout_3_Main"));
192 threadsScriptVerif =
new QSpinBox(tabMain);
193 threadsScriptVerif->setObjectName(QStringLiteral(
"threadsScriptVerif"));
194 threadsScriptVerif->setMinimumSize(QSize(100, 0));
196 horizontalLayout_3_Main->addWidget(threadsScriptVerif);
198 horizontalSpacer_3_Main =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
200 horizontalLayout_3_Main->addItem(horizontalSpacer_3_Main);
203 gridLayout->addLayout(horizontalLayout_3_Main, 1, 1, 1, 1);
205 reserveBalanceLabel =
new QLabel(tabMain);
206 reserveBalanceLabel->setObjectName(QStringLiteral(
"reserveBalanceLabel"));
207 reserveBalanceLabel->setTextFormat(Qt::PlainText);
209 gridLayout->addWidget(reserveBalanceLabel, 2, 0, 1, 1);
211 horizontalLayout_3_Main_3 =
new QHBoxLayout();
212 horizontalLayout_3_Main_3->setObjectName(QStringLiteral(
"horizontalLayout_3_Main_3"));
214 reserveBalance->setObjectName(QStringLiteral(
"reserveBalance"));
216 horizontalLayout_3_Main_3->addWidget(reserveBalance);
218 horizontalSpacer_3_Main_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
220 horizontalLayout_3_Main_3->addItem(horizontalSpacer_3_Main_3);
223 gridLayout->addLayout(horizontalLayout_3_Main_3, 2, 1, 1, 1);
226 verticalLayout_3->addLayout(gridLayout);
228 logEvents =
new QCheckBox(tabMain);
229 logEvents->setObjectName(QStringLiteral(
"logEvents"));
231 verticalLayout_3->addWidget(logEvents);
233 verticalSpacer_Main =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
235 verticalLayout_3->addItem(verticalSpacer_Main);
237 tabWidget->addTab(tabMain, QString());
238 tabWallet =
new QWidget();
239 tabWallet->setObjectName(QStringLiteral(
"tabWallet"));
240 verticalLayout_Wallet =
new QVBoxLayout(tabWallet);
241 verticalLayout_Wallet->setSpacing(10);
242 verticalLayout_Wallet->setObjectName(QStringLiteral(
"verticalLayout_Wallet"));
243 verticalLayout_Wallet->setContentsMargins(30, 20, 30, 20);
244 groupBox =
new QGroupBox(tabWallet);
245 groupBox->setObjectName(QStringLiteral(
"groupBox"));
246 verticalLayout_2 =
new QVBoxLayout(groupBox);
247 verticalLayout_2->setSpacing(10);
248 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
249 coinControlFeatures =
new QCheckBox(groupBox);
250 coinControlFeatures->setObjectName(QStringLiteral(
"coinControlFeatures"));
252 verticalLayout_2->addWidget(coinControlFeatures);
254 spendZeroConfChange =
new QCheckBox(groupBox);
255 spendZeroConfChange->setObjectName(QStringLiteral(
"spendZeroConfChange"));
257 verticalLayout_2->addWidget(spendZeroConfChange);
259 zeroBalanceAddressToken =
new QCheckBox(groupBox);
260 zeroBalanceAddressToken->setObjectName(QStringLiteral(
"zeroBalanceAddressToken"));
262 verticalLayout_2->addWidget(zeroBalanceAddressToken);
264 notUseChangeAddress =
new QCheckBox(groupBox);
265 notUseChangeAddress->setObjectName(QStringLiteral(
"notUseChangeAddress"));
267 verticalLayout_2->addWidget(notUseChangeAddress);
269 checkForUpdates =
new QCheckBox(groupBox);
270 checkForUpdates->setObjectName(QStringLiteral(
"checkForUpdates"));
272 verticalLayout_2->addWidget(checkForUpdates);
275 verticalLayout_Wallet->addWidget(groupBox);
277 verticalSpacer_Wallet =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
279 verticalLayout_Wallet->addItem(verticalSpacer_Wallet);
281 tabWidget->addTab(tabWallet, QString());
282 tabNetwork =
new QWidget();
283 tabNetwork->setObjectName(QStringLiteral(
"tabNetwork"));
284 verticalLayout_Network =
new QVBoxLayout(tabNetwork);
285 verticalLayout_Network->setSpacing(10);
286 verticalLayout_Network->setObjectName(QStringLiteral(
"verticalLayout_Network"));
287 verticalLayout_Network->setContentsMargins(30, 20, 30, 20);
288 mapPortUpnp =
new QCheckBox(tabNetwork);
289 mapPortUpnp->setObjectName(QStringLiteral(
"mapPortUpnp"));
291 verticalLayout_Network->addWidget(mapPortUpnp);
293 allowIncoming =
new QCheckBox(tabNetwork);
294 allowIncoming->setObjectName(QStringLiteral(
"allowIncoming"));
296 verticalLayout_Network->addWidget(allowIncoming);
298 connectSocks =
new QCheckBox(tabNetwork);
299 connectSocks->setObjectName(QStringLiteral(
"connectSocks"));
301 verticalLayout_Network->addWidget(connectSocks);
303 horizontalLayout_1_Network =
new QHBoxLayout();
304 horizontalLayout_1_Network->setObjectName(QStringLiteral(
"horizontalLayout_1_Network"));
305 proxyIpLabel =
new QLabel(tabNetwork);
306 proxyIpLabel->setObjectName(QStringLiteral(
"proxyIpLabel"));
307 proxyIpLabel->setTextFormat(Qt::PlainText);
309 horizontalLayout_1_Network->addWidget(proxyIpLabel);
312 proxyIp->setObjectName(QStringLiteral(
"proxyIp"));
313 proxyIp->setMinimumSize(QSize(140, 0));
314 proxyIp->setMaximumSize(QSize(140, 16777215));
316 horizontalLayout_1_Network->addWidget(proxyIp);
318 proxyPortLabel =
new QLabel(tabNetwork);
319 proxyPortLabel->setObjectName(QStringLiteral(
"proxyPortLabel"));
320 proxyPortLabel->setTextFormat(Qt::PlainText);
322 horizontalLayout_1_Network->addWidget(proxyPortLabel);
324 proxyPort =
new QLineEdit(tabNetwork);
325 proxyPort->setObjectName(QStringLiteral(
"proxyPort"));
326 proxyPort->setMinimumSize(QSize(55, 0));
327 proxyPort->setMaximumSize(QSize(55, 16777215));
329 horizontalLayout_1_Network->addWidget(proxyPort);
331 horizontalSpacer_1_Network =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
333 horizontalLayout_1_Network->addItem(horizontalSpacer_1_Network);
336 verticalLayout_Network->addLayout(horizontalLayout_1_Network);
338 horizontalLayout_2_Network =
new QHBoxLayout();
339 horizontalLayout_2_Network->setObjectName(QStringLiteral(
"horizontalLayout_2_Network"));
340 proxyActiveNets =
new QLabel(tabNetwork);
341 proxyActiveNets->setObjectName(QStringLiteral(
"proxyActiveNets"));
342 proxyActiveNets->setTextFormat(Qt::PlainText);
344 horizontalLayout_2_Network->addWidget(proxyActiveNets);
346 proxyReachIPv4 =
new QCheckBox(tabNetwork);
347 proxyReachIPv4->setObjectName(QStringLiteral(
"proxyReachIPv4"));
348 proxyReachIPv4->setEnabled(
false);
350 horizontalLayout_2_Network->addWidget(proxyReachIPv4);
352 proxyReachIPv4Label =
new QLabel(tabNetwork);
353 proxyReachIPv4Label->setObjectName(QStringLiteral(
"proxyReachIPv4Label"));
354 proxyReachIPv4Label->setTextFormat(Qt::PlainText);
356 horizontalLayout_2_Network->addWidget(proxyReachIPv4Label);
358 proxyReachIPv6 =
new QCheckBox(tabNetwork);
359 proxyReachIPv6->setObjectName(QStringLiteral(
"proxyReachIPv6"));
360 proxyReachIPv6->setEnabled(
false);
362 horizontalLayout_2_Network->addWidget(proxyReachIPv6);
364 proxyReachIPv6Label =
new QLabel(tabNetwork);
365 proxyReachIPv6Label->setObjectName(QStringLiteral(
"proxyReachIPv6Label"));
366 proxyReachIPv6Label->setTextFormat(Qt::PlainText);
368 horizontalLayout_2_Network->addWidget(proxyReachIPv6Label);
370 proxyReachTor =
new QCheckBox(tabNetwork);
371 proxyReachTor->setObjectName(QStringLiteral(
"proxyReachTor"));
372 proxyReachTor->setEnabled(
false);
374 horizontalLayout_2_Network->addWidget(proxyReachTor);
376 proxyReachTorLabel =
new QLabel(tabNetwork);
377 proxyReachTorLabel->setObjectName(QStringLiteral(
"proxyReachTorLabel"));
378 proxyReachTorLabel->setTextFormat(Qt::PlainText);
380 horizontalLayout_2_Network->addWidget(proxyReachTorLabel);
382 horizontalSpacer_2_Network =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
384 horizontalLayout_2_Network->addItem(horizontalSpacer_2_Network);
387 verticalLayout_Network->addLayout(horizontalLayout_2_Network);
389 connectSocksTor =
new QCheckBox(tabNetwork);
390 connectSocksTor->setObjectName(QStringLiteral(
"connectSocksTor"));
392 verticalLayout_Network->addWidget(connectSocksTor);
394 horizontalLayout_3_Network =
new QHBoxLayout();
395 horizontalLayout_3_Network->setObjectName(QStringLiteral(
"horizontalLayout_3_Network"));
396 proxyIpTorLabel =
new QLabel(tabNetwork);
397 proxyIpTorLabel->setObjectName(QStringLiteral(
"proxyIpTorLabel"));
398 proxyIpTorLabel->setTextFormat(Qt::PlainText);
400 horizontalLayout_3_Network->addWidget(proxyIpTorLabel);
403 proxyIpTor->setObjectName(QStringLiteral(
"proxyIpTor"));
404 proxyIpTor->setMinimumSize(QSize(140, 0));
405 proxyIpTor->setMaximumSize(QSize(140, 16777215));
407 horizontalLayout_3_Network->addWidget(proxyIpTor);
409 proxyPortTorLabel =
new QLabel(tabNetwork);
410 proxyPortTorLabel->setObjectName(QStringLiteral(
"proxyPortTorLabel"));
411 proxyPortTorLabel->setTextFormat(Qt::PlainText);
413 horizontalLayout_3_Network->addWidget(proxyPortTorLabel);
415 proxyPortTor =
new QLineEdit(tabNetwork);
416 proxyPortTor->setObjectName(QStringLiteral(
"proxyPortTor"));
417 proxyPortTor->setMinimumSize(QSize(55, 0));
418 proxyPortTor->setMaximumSize(QSize(55, 16777215));
420 horizontalLayout_3_Network->addWidget(proxyPortTor);
422 horizontalSpacer_4_Network =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
424 horizontalLayout_3_Network->addItem(horizontalSpacer_4_Network);
427 verticalLayout_Network->addLayout(horizontalLayout_3_Network);
429 verticalSpacer_Network =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
431 verticalLayout_Network->addItem(verticalSpacer_Network);
433 tabWidget->addTab(tabNetwork, QString());
434 tabWindow =
new QWidget();
435 tabWindow->setObjectName(QStringLiteral(
"tabWindow"));
436 verticalLayout_Window =
new QVBoxLayout(tabWindow);
437 verticalLayout_Window->setSpacing(10);
438 verticalLayout_Window->setObjectName(QStringLiteral(
"verticalLayout_Window"));
439 verticalLayout_Window->setContentsMargins(30, 20, 30, 20);
440 hideTrayIcon =
new QCheckBox(tabWindow);
441 hideTrayIcon->setObjectName(QStringLiteral(
"hideTrayIcon"));
443 verticalLayout_Window->addWidget(hideTrayIcon);
445 minimizeToTray =
new QCheckBox(tabWindow);
446 minimizeToTray->setObjectName(QStringLiteral(
"minimizeToTray"));
448 verticalLayout_Window->addWidget(minimizeToTray);
450 minimizeOnClose =
new QCheckBox(tabWindow);
451 minimizeOnClose->setObjectName(QStringLiteral(
"minimizeOnClose"));
453 verticalLayout_Window->addWidget(minimizeOnClose);
455 verticalSpacer_Window =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
457 verticalLayout_Window->addItem(verticalSpacer_Window);
459 tabWidget->addTab(tabWindow, QString());
460 tabDisplay =
new QWidget();
461 tabDisplay->setObjectName(QStringLiteral(
"tabDisplay"));
462 verticalLayout_Display =
new QVBoxLayout(tabDisplay);
463 verticalLayout_Display->setSpacing(10);
464 verticalLayout_Display->setObjectName(QStringLiteral(
"verticalLayout_Display"));
465 verticalLayout_Display->setContentsMargins(30, 20, 30, 20);
466 gridLayout_2 =
new QGridLayout();
467 gridLayout_2->setObjectName(QStringLiteral(
"gridLayout_2"));
468 gridLayout_2->setVerticalSpacing(10);
469 langLabel =
new QLabel(tabDisplay);
470 langLabel->setObjectName(QStringLiteral(
"langLabel"));
471 langLabel->setTextFormat(Qt::PlainText);
473 gridLayout_2->addWidget(langLabel, 0, 0, 1, 1);
476 lang->setObjectName(QStringLiteral(
"lang"));
478 gridLayout_2->addWidget(lang, 0, 1, 1, 1);
480 unitLabel =
new QLabel(tabDisplay);
481 unitLabel->setObjectName(QStringLiteral(
"unitLabel"));
482 unitLabel->setTextFormat(Qt::PlainText);
484 gridLayout_2->addWidget(unitLabel, 1, 0, 1, 1);
486 thirdPartyTxUrlsLabel =
new QLabel(tabDisplay);
487 thirdPartyTxUrlsLabel->setObjectName(QStringLiteral(
"thirdPartyTxUrlsLabel"));
489 gridLayout_2->addWidget(thirdPartyTxUrlsLabel, 2, 0, 1, 1);
492 unit->setObjectName(QStringLiteral(
"unit"));
494 gridLayout_2->addWidget(unit, 1, 1, 1, 1);
496 thirdPartyTxUrls =
new QLineEdit(tabDisplay);
497 thirdPartyTxUrls->setObjectName(QStringLiteral(
"thirdPartyTxUrls"));
499 gridLayout_2->addWidget(thirdPartyTxUrls, 2, 1, 1, 1);
502 verticalLayout_Display->addLayout(gridLayout_2);
504 verticalSpacer_Display =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
506 verticalLayout_Display->addItem(verticalSpacer_Display);
508 tabWidget->addTab(tabDisplay, QString());
510 verticalLayout->addWidget(tabWidget);
512 frame =
new QFrame(OptionsDialog);
513 frame->setObjectName(QStringLiteral(
"frame"));
514 verticalLayout_Bottom =
new QVBoxLayout(frame);
515 verticalLayout_Bottom->setObjectName(QStringLiteral(
"verticalLayout_Bottom"));
516 verticalLayout_Bottom->setContentsMargins(30, -1, 30, -1);
517 horizontalLayout_Bottom =
new QHBoxLayout();
518 horizontalLayout_Bottom->setObjectName(QStringLiteral(
"horizontalLayout_Bottom"));
519 overriddenByCommandLineInfoLabel =
new QLabel(frame);
520 overriddenByCommandLineInfoLabel->setObjectName(QStringLiteral(
"overriddenByCommandLineInfoLabel"));
521 overriddenByCommandLineInfoLabel->setTextFormat(Qt::PlainText);
523 horizontalLayout_Bottom->addWidget(overriddenByCommandLineInfoLabel);
525 horizontalSpacer_Bottom =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
527 horizontalLayout_Bottom->addItem(horizontalSpacer_Bottom);
530 verticalLayout_Bottom->addLayout(horizontalLayout_Bottom);
532 overriddenByCommandLineLabel =
new QLabel(frame);
533 overriddenByCommandLineLabel->setObjectName(QStringLiteral(
"overriddenByCommandLineLabel"));
534 overriddenByCommandLineLabel->setTextFormat(Qt::PlainText);
535 overriddenByCommandLineLabel->setWordWrap(
true);
537 verticalLayout_Bottom->addWidget(overriddenByCommandLineLabel);
540 verticalLayout->addWidget(frame);
542 buttonsContainerWhite =
new QWidget(OptionsDialog);
543 buttonsContainerWhite->setObjectName(QStringLiteral(
"buttonsContainerWhite"));
544 horizontalLayout_2 =
new QHBoxLayout(buttonsContainerWhite);
545 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
546 horizontalLayout_2->setContentsMargins(30, -1, 30, -1);
547 verticalLayout_Buttons =
new QVBoxLayout();
548 verticalLayout_Buttons->setObjectName(QStringLiteral(
"verticalLayout_Buttons"));
549 openFabcoinConfButton =
new QPushButton(buttonsContainerWhite);
550 openFabcoinConfButton->setObjectName(QStringLiteral(
"openFabcoinConfButton"));
551 openFabcoinConfButton->setAutoDefault(
false);
553 verticalLayout_Buttons->addWidget(openFabcoinConfButton);
555 resetButton =
new QPushButton(buttonsContainerWhite);
556 resetButton->setObjectName(QStringLiteral(
"resetButton"));
557 resetButton->setAutoDefault(
false);
559 verticalLayout_Buttons->addWidget(resetButton);
562 horizontalLayout_2->addLayout(verticalLayout_Buttons);
564 horizontalSpacer_3 =
new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
566 horizontalLayout_2->addItem(horizontalSpacer_3);
568 statusLabel =
new QLabel(buttonsContainerWhite);
569 statusLabel->setObjectName(QStringLiteral(
"statusLabel"));
570 statusLabel->setMinimumSize(QSize(200, 0));
574 statusLabel->setFont(font);
575 statusLabel->setTextFormat(Qt::PlainText);
576 statusLabel->setWordWrap(
true);
578 horizontalLayout_2->addWidget(statusLabel);
580 horizontalSpacer =
new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
582 horizontalLayout_2->addItem(horizontalSpacer);
584 okButton =
new QPushButton(buttonsContainerWhite);
585 okButton->setObjectName(QStringLiteral(
"okButton"));
586 okButton->setAutoDefault(
false);
588 horizontalLayout_2->addWidget(okButton);
590 cancelButton =
new QPushButton(buttonsContainerWhite);
591 cancelButton->setObjectName(QStringLiteral(
"cancelButton"));
592 cancelButton->setAutoDefault(
false);
594 horizontalLayout_2->addWidget(cancelButton);
597 verticalLayout->addWidget(buttonsContainerWhite);
599 #ifndef QT_NO_SHORTCUT 600 databaseCacheLabel->setBuddy(databaseCache);
601 threadsScriptVerifLabel->setBuddy(threadsScriptVerif);
602 reserveBalanceLabel->setBuddy(threadsScriptVerif);
603 proxyIpLabel->setBuddy(proxyIp);
604 proxyPortLabel->setBuddy(proxyPort);
605 proxyIpTorLabel->setBuddy(proxyIpTor);
606 proxyPortTorLabel->setBuddy(proxyPortTor);
607 langLabel->setBuddy(lang);
608 unitLabel->setBuddy(unit);
609 thirdPartyTxUrlsLabel->setBuddy(thirdPartyTxUrls);
610 #endif // QT_NO_SHORTCUT 614 tabWidget->setCurrentIndex(0);
615 okButton->setDefault(
true);
618 QMetaObject::connectSlotsByName(OptionsDialog);
623 OptionsDialog->setWindowTitle(QApplication::translate(
"OptionsDialog",
"Options", 0));
624 #ifndef QT_NO_TOOLTIP 625 fabcoinAtStartup->setToolTip(QApplication::translate(
"OptionsDialog",
"Automatically start %1 after logging in to the system.", 0));
626 #endif // QT_NO_TOOLTIP 627 fabcoinAtStartup->setText(QApplication::translate(
"OptionsDialog",
"&Start %1 on system login", 0));
628 databaseCacheLabel->setText(QApplication::translate(
"OptionsDialog",
"Size of &database cache", 0));
629 databaseCacheUnitLabel->setText(QApplication::translate(
"OptionsDialog",
"MB", 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 reserveBalanceLabel->setText(QApplication::translate(
"OptionsDialog",
"Reserve", 0));
635 #ifndef QT_NO_TOOLTIP 636 reserveBalance->setToolTip(QApplication::translate(
"OptionsDialog",
"(0 = auto, <0 = leave that many cores free)", 0));
637 #endif // QT_NO_TOOLTIP 638 logEvents->setText(QApplication::translate(
"OptionsDialog",
"Enable log &events", 0));
639 tabWidget->setTabText(tabWidget->indexOf(tabMain), QApplication::translate(
"OptionsDialog",
"&Main", 0));
640 groupBox->setTitle(QApplication::translate(
"OptionsDialog",
"Expert", 0));
641 #ifndef QT_NO_TOOLTIP 642 coinControlFeatures->setToolTip(QApplication::translate(
"OptionsDialog",
"Whether to show coin control features or not.", 0));
643 #endif // QT_NO_TOOLTIP 644 coinControlFeatures->setText(QApplication::translate(
"OptionsDialog",
"Enable coin &control features", 0));
645 #ifndef QT_NO_TOOLTIP 646 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));
647 #endif // QT_NO_TOOLTIP 648 spendZeroConfChange->setText(QApplication::translate(
"OptionsDialog",
"&Spend unconfirmed change", 0));
649 zeroBalanceAddressToken->setText(QApplication::translate(
"OptionsDialog",
"Enable &zero balance for receiver token address", 0));
650 notUseChangeAddress->setText(QApplication::translate(
"OptionsDialog",
"Don't use change &address", 0));
651 checkForUpdates->setText(QApplication::translate(
"OptionsDialog",
"Check for &updates", 0));
652 tabWidget->setTabText(tabWidget->indexOf(tabWallet), QApplication::translate(
"OptionsDialog",
"W&allet", 0));
653 #ifndef QT_NO_TOOLTIP 654 mapPortUpnp->setToolTip(QApplication::translate(
"OptionsDialog",
"Automatically open the Fabcoin client port on the router. This only works when your router supports UPnP and it is enabled.", 0));
655 #endif // QT_NO_TOOLTIP 656 mapPortUpnp->setText(QApplication::translate(
"OptionsDialog",
"Map port using &UPnP", 0));
657 #ifndef QT_NO_TOOLTIP 658 allowIncoming->setToolTip(QApplication::translate(
"OptionsDialog",
"Accept connections from outside", 0));
659 #endif // QT_NO_TOOLTIP 660 allowIncoming->setText(QApplication::translate(
"OptionsDialog",
"Allow incoming connections", 0));
661 #ifndef QT_NO_TOOLTIP 662 connectSocks->setToolTip(QApplication::translate(
"OptionsDialog",
"Connect to the Fabcoin network through a SOCKS5 proxy.", 0));
663 #endif // QT_NO_TOOLTIP 664 connectSocks->setText(QApplication::translate(
"OptionsDialog",
"&Connect through SOCKS5 proxy (default proxy):", 0));
665 proxyIpLabel->setText(QApplication::translate(
"OptionsDialog",
"Proxy &IP:", 0));
666 #ifndef QT_NO_TOOLTIP 667 proxyIp->setToolTip(QApplication::translate(
"OptionsDialog",
"IP address of the proxy (e.g. IPv4: 127.0.0.1 / IPv6: ::1)", 0));
668 #endif // QT_NO_TOOLTIP 669 proxyPortLabel->setText(QApplication::translate(
"OptionsDialog",
"&Port:", 0));
670 #ifndef QT_NO_TOOLTIP 671 proxyPort->setToolTip(QApplication::translate(
"OptionsDialog",
"Port of the proxy (e.g. 9050)", 0));
672 #endif // QT_NO_TOOLTIP 673 proxyActiveNets->setText(QApplication::translate(
"OptionsDialog",
"Used for reaching peers via:", 0));
674 #ifndef QT_NO_TOOLTIP 675 proxyReachIPv4->setToolTip(QApplication::translate(
"OptionsDialog",
"Shows if the supplied default SOCKS5 proxy is used to reach peers via this network type.", 0));
676 #endif // QT_NO_TOOLTIP 677 proxyReachIPv4->setText(QString());
678 proxyReachIPv4Label->setText(QApplication::translate(
"OptionsDialog",
"IPv4", 0));
679 #ifndef QT_NO_TOOLTIP 680 proxyReachIPv6->setToolTip(QApplication::translate(
"OptionsDialog",
"Shows if the supplied default SOCKS5 proxy is used to reach peers via this network type.", 0));
681 #endif // QT_NO_TOOLTIP 682 proxyReachIPv6->setText(QString());
683 proxyReachIPv6Label->setText(QApplication::translate(
"OptionsDialog",
"IPv6", 0));
684 #ifndef QT_NO_TOOLTIP 685 proxyReachTor->setToolTip(QApplication::translate(
"OptionsDialog",
"Shows if the supplied default SOCKS5 proxy is used to reach peers via this network type.", 0));
686 #endif // QT_NO_TOOLTIP 687 proxyReachTor->setText(QString());
688 proxyReachTorLabel->setText(QApplication::translate(
"OptionsDialog",
"Tor", 0));
689 #ifndef QT_NO_TOOLTIP 690 connectSocksTor->setToolTip(QApplication::translate(
"OptionsDialog",
"Connect to the Fabcoin network through a separate SOCKS5 proxy for Tor hidden services.", 0));
691 #endif // QT_NO_TOOLTIP 692 connectSocksTor->setText(QApplication::translate(
"OptionsDialog",
"Use separate SOCKS5 proxy to reach peers via Tor hidden services:", 0));
693 proxyIpTorLabel->setText(QApplication::translate(
"OptionsDialog",
"Proxy &IP:", 0));
694 #ifndef QT_NO_TOOLTIP 695 proxyIpTor->setToolTip(QApplication::translate(
"OptionsDialog",
"IP address of the proxy (e.g. IPv4: 127.0.0.1 / IPv6: ::1)", 0));
696 #endif // QT_NO_TOOLTIP 697 proxyPortTorLabel->setText(QApplication::translate(
"OptionsDialog",
"&Port:", 0));
698 #ifndef QT_NO_TOOLTIP 699 proxyPortTor->setToolTip(QApplication::translate(
"OptionsDialog",
"Port of the proxy (e.g. 9050)", 0));
700 #endif // QT_NO_TOOLTIP 701 tabWidget->setTabText(tabWidget->indexOf(tabNetwork), QApplication::translate(
"OptionsDialog",
"&Network", 0));
702 #ifndef QT_NO_TOOLTIP 703 hideTrayIcon->setToolTip(QApplication::translate(
"OptionsDialog",
"&Hide the icon from the system tray.", 0));
704 #endif // QT_NO_TOOLTIP 705 hideTrayIcon->setText(QApplication::translate(
"OptionsDialog",
"Hide tray icon", 0));
706 #ifndef QT_NO_TOOLTIP 707 minimizeToTray->setToolTip(QApplication::translate(
"OptionsDialog",
"Show only a tray icon after minimizing the window.", 0));
708 #endif // QT_NO_TOOLTIP 709 minimizeToTray->setText(QApplication::translate(
"OptionsDialog",
"&Minimize to the tray instead of the taskbar", 0));
710 #ifndef QT_NO_TOOLTIP 711 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));
712 #endif // QT_NO_TOOLTIP 713 minimizeOnClose->setText(QApplication::translate(
"OptionsDialog",
"M&inimize on close", 0));
714 tabWidget->setTabText(tabWidget->indexOf(tabWindow), QApplication::translate(
"OptionsDialog",
"&Window", 0));
715 langLabel->setText(QApplication::translate(
"OptionsDialog",
"User Interface &language:", 0));
716 #ifndef QT_NO_TOOLTIP 717 lang->setToolTip(QApplication::translate(
"OptionsDialog",
"The user interface language can be set here. This setting will take effect after restarting %1.", 0));
718 #endif // QT_NO_TOOLTIP 719 unitLabel->setText(QApplication::translate(
"OptionsDialog",
"&Unit to show amounts in:", 0));
720 #ifndef QT_NO_TOOLTIP 721 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));
722 #endif // QT_NO_TOOLTIP 723 thirdPartyTxUrlsLabel->setText(QApplication::translate(
"OptionsDialog",
"Third party transaction URLs", 0));
724 #ifndef QT_NO_TOOLTIP 725 unit->setToolTip(QApplication::translate(
"OptionsDialog",
"Choose the default subdivision unit to show in the interface and when sending coins.", 0));
726 #endif // QT_NO_TOOLTIP 727 #ifndef QT_NO_TOOLTIP 728 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));
729 #endif // QT_NO_TOOLTIP 730 tabWidget->setTabText(tabWidget->indexOf(tabDisplay), QApplication::translate(
"OptionsDialog",
"&Display", 0));
731 overriddenByCommandLineInfoLabel->setText(QApplication::translate(
"OptionsDialog",
"Active command-line options that override above options:", 0));
732 overriddenByCommandLineLabel->setText(QString());
733 #ifndef QT_NO_TOOLTIP 734 openFabcoinConfButton->setToolTip(QApplication::translate(
"OptionsDialog",
"Open the %1 configuration file from the working directory.", 0));
735 #endif // QT_NO_TOOLTIP 736 openFabcoinConfButton->setText(QApplication::translate(
"OptionsDialog",
"Open Configuration File", 0));
737 #ifndef QT_NO_TOOLTIP 738 resetButton->setToolTip(QApplication::translate(
"OptionsDialog",
"Reset all client options to default.", 0));
739 #endif // QT_NO_TOOLTIP 740 resetButton->setText(QApplication::translate(
"OptionsDialog",
"&Reset Options", 0));
741 statusLabel->setText(QString());
742 okButton->setText(QApplication::translate(
"OptionsDialog",
"&OK", 0));
743 cancelButton->setText(QApplication::translate(
"OptionsDialog",
"&Cancel", 0));
754 #endif // UI_OPTIONSDIALOG_H QCheckBox * spendZeroConfChange
Widget for entering fabcoin amounts.
QCheckBox * proxyReachIPv6
QVBoxLayout * verticalLayout
QSpinBox * threadsScriptVerif
void setupUi(QDialog *OptionsDialog)
QSpacerItem * horizontalSpacer_3
QPushButton * cancelButton
QHBoxLayout * horizontalLayout_3_Main
QWidget * buttonsContainerWhite
QHBoxLayout * horizontalLayout_2
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.
QPushButton * openFabcoinConfButton
QSpacerItem * verticalSpacer_Network
QCheckBox * checkForUpdates
QHBoxLayout * horizontalLayout_1_Network
QHBoxLayout * horizontalLayout_Bottom
QVBoxLayout * verticalLayout_3
QCheckBox * zeroBalanceAddressToken
QVBoxLayout * verticalLayout_Window
QLabel * proxyReachIPv4Label
QLabel * overriddenByCommandLineInfoLabel
QLabel * proxyPortTorLabel
QCheckBox * fabcoinAtStartup
QSpacerItem * verticalSpacer_Window
QLabel * proxyReachTorLabel
QHBoxLayout * horizontalLayout_2_Network
FabcoinAmountField * reserveBalance
QCheckBox * allowIncoming
QVBoxLayout * verticalLayout_Network
QCheckBox * proxyReachIPv4
QSpacerItem * horizontalSpacer_3_Main
QSpacerItem * horizontalSpacer_2_Main
QCheckBox * connectSocksTor
QVBoxLayout * verticalLayout_Buttons
QSpacerItem * verticalSpacer_Wallet
QLabel * overriddenByCommandLineLabel
QLabel * databaseCacheLabel
QValidatedLineEdit * proxyIpTor
QCheckBox * minimizeOnClose
QLineEdit * thirdPartyTxUrls
QSpacerItem * verticalSpacer_Display
QSpacerItem * horizontalSpacer
QLabel * thirdPartyTxUrlsLabel
QCheckBox * proxyReachTor
QGridLayout * gridLayout_2
QSpacerItem * horizontalSpacer_3_Main_3
QVBoxLayout * verticalLayout_Bottom
QLabel * proxyReachIPv6Label
QSpacerItem * horizontalSpacer_4_Network
QValidatedLineEdit * proxyIp
QSpacerItem * verticalSpacer_Main
QCheckBox * notUseChangeAddress
QLabel * reserveBalanceLabel
QCheckBox * coinControlFeatures
QPushButton * resetButton
void retranslateUi(QDialog *OptionsDialog)
QHBoxLayout * horizontalLayout_3_Main_3
QHBoxLayout * horizontalLayout_3_Network
QSpacerItem * horizontalSpacer_Bottom