8 #ifndef UI_OPTIONSDIALOG_H
9 #define UI_OPTIONSDIALOG_H
11 #include <QtCore/QVariant>
12 #include <QtGui/QAction>
13 #include <QtGui/QApplication>
14 #include <QtGui/QButtonGroup>
15 #include <QtGui/QCheckBox>
16 #include <QtGui/QDialog>
17 #include <QtGui/QFrame>
18 #include <QtGui/QGroupBox>
19 #include <QtGui/QHBoxLayout>
20 #include <QtGui/QHeaderView>
21 #include <QtGui/QLabel>
22 #include <QtGui/QLineEdit>
23 #include <QtGui/QPushButton>
24 #include <QtGui/QSpacerItem>
25 #include <QtGui/QSpinBox>
26 #include <QtGui/QTabWidget>
27 #include <QtGui/QVBoxLayout>
28 #include <QtGui/QWidget>
112 if (OptionsDialog->objectName().isEmpty())
113 OptionsDialog->setObjectName(QString::fromUtf8(
"OptionsDialog"));
114 OptionsDialog->resize(560, 400);
115 OptionsDialog->setModal(
true);
116 verticalLayout =
new QVBoxLayout(OptionsDialog);
117 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
118 tabWidget =
new QTabWidget(OptionsDialog);
119 tabWidget->setObjectName(QString::fromUtf8(
"tabWidget"));
121 tabMain->setObjectName(QString::fromUtf8(
"tabMain"));
122 verticalLayout_Main =
new QVBoxLayout(tabMain);
123 verticalLayout_Main->setObjectName(QString::fromUtf8(
"verticalLayout_Main"));
124 bitcoinAtStartup =
new QCheckBox(tabMain);
125 bitcoinAtStartup->setObjectName(QString::fromUtf8(
"bitcoinAtStartup"));
127 verticalLayout_Main->addWidget(bitcoinAtStartup);
129 horizontalLayout_2_Main =
new QHBoxLayout();
130 horizontalLayout_2_Main->setObjectName(QString::fromUtf8(
"horizontalLayout_2_Main"));
131 databaseCacheLabel =
new QLabel(tabMain);
132 databaseCacheLabel->setObjectName(QString::fromUtf8(
"databaseCacheLabel"));
133 databaseCacheLabel->setTextFormat(Qt::PlainText);
135 horizontalLayout_2_Main->addWidget(databaseCacheLabel);
137 databaseCache =
new QSpinBox(tabMain);
138 databaseCache->setObjectName(QString::fromUtf8(
"databaseCache"));
140 horizontalLayout_2_Main->addWidget(databaseCache);
142 databaseCacheUnitLabel =
new QLabel(tabMain);
143 databaseCacheUnitLabel->setObjectName(QString::fromUtf8(
"databaseCacheUnitLabel"));
144 databaseCacheUnitLabel->setTextFormat(Qt::PlainText);
146 horizontalLayout_2_Main->addWidget(databaseCacheUnitLabel);
148 horizontalSpacer_2_Main =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
150 horizontalLayout_2_Main->addItem(horizontalSpacer_2_Main);
153 verticalLayout_Main->addLayout(horizontalLayout_2_Main);
155 horizontalLayout_3_Main =
new QHBoxLayout();
156 horizontalLayout_3_Main->setObjectName(QString::fromUtf8(
"horizontalLayout_3_Main"));
157 threadsScriptVerifLabel =
new QLabel(tabMain);
158 threadsScriptVerifLabel->setObjectName(QString::fromUtf8(
"threadsScriptVerifLabel"));
159 threadsScriptVerifLabel->setTextFormat(Qt::PlainText);
161 horizontalLayout_3_Main->addWidget(threadsScriptVerifLabel);
163 threadsScriptVerif =
new QSpinBox(tabMain);
164 threadsScriptVerif->setObjectName(QString::fromUtf8(
"threadsScriptVerif"));
166 horizontalLayout_3_Main->addWidget(threadsScriptVerif);
168 horizontalSpacer_3_Main =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
170 horizontalLayout_3_Main->addItem(horizontalSpacer_3_Main);
173 verticalLayout_Main->addLayout(horizontalLayout_3_Main);
175 verticalSpacer_Main =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
177 verticalLayout_Main->addItem(verticalSpacer_Main);
179 tabWidget->addTab(tabMain, QString());
181 tabWallet->setObjectName(QString::fromUtf8(
"tabWallet"));
182 verticalLayout_Wallet =
new QVBoxLayout(tabWallet);
183 verticalLayout_Wallet->setObjectName(QString::fromUtf8(
"verticalLayout_Wallet"));
184 transactionFeeInfoLabel =
new QLabel(tabWallet);
185 transactionFeeInfoLabel->setObjectName(QString::fromUtf8(
"transactionFeeInfoLabel"));
186 transactionFeeInfoLabel->setTextFormat(Qt::PlainText);
187 transactionFeeInfoLabel->setWordWrap(
true);
189 verticalLayout_Wallet->addWidget(transactionFeeInfoLabel);
191 horizontalLayout_1_Wallet =
new QHBoxLayout();
192 horizontalLayout_1_Wallet->setObjectName(QString::fromUtf8(
"horizontalLayout_1_Wallet"));
193 transactionFeeLabel =
new QLabel(tabWallet);
194 transactionFeeLabel->setObjectName(QString::fromUtf8(
"transactionFeeLabel"));
195 transactionFeeLabel->setTextFormat(Qt::PlainText);
197 horizontalLayout_1_Wallet->addWidget(transactionFeeLabel);
200 transactionFee->setObjectName(QString::fromUtf8(
"transactionFee"));
202 horizontalLayout_1_Wallet->addWidget(transactionFee);
204 horizontalSpacer_1_Wallet =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
206 horizontalLayout_1_Wallet->addItem(horizontalSpacer_1_Wallet);
209 verticalLayout_Wallet->addLayout(horizontalLayout_1_Wallet);
211 verticalSpacer_Wallet =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
213 verticalLayout_Wallet->addItem(verticalSpacer_Wallet);
215 groupBox =
new QGroupBox(tabWallet);
216 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
217 verticalLayout_2 =
new QVBoxLayout(groupBox);
218 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
219 coinControlFeatures =
new QCheckBox(groupBox);
220 coinControlFeatures->setObjectName(QString::fromUtf8(
"coinControlFeatures"));
222 verticalLayout_2->addWidget(coinControlFeatures);
224 spendZeroConfChange =
new QCheckBox(groupBox);
225 spendZeroConfChange->setObjectName(QString::fromUtf8(
"spendZeroConfChange"));
227 verticalLayout_2->addWidget(spendZeroConfChange);
230 verticalLayout_Wallet->addWidget(groupBox);
232 tabWidget->addTab(tabWallet, QString());
234 tabNetwork->setObjectName(QString::fromUtf8(
"tabNetwork"));
235 verticalLayout_Network =
new QVBoxLayout(tabNetwork);
236 verticalLayout_Network->setObjectName(QString::fromUtf8(
"verticalLayout_Network"));
237 mapPortUpnp =
new QCheckBox(tabNetwork);
238 mapPortUpnp->setObjectName(QString::fromUtf8(
"mapPortUpnp"));
240 verticalLayout_Network->addWidget(mapPortUpnp);
242 connectSocks =
new QCheckBox(tabNetwork);
243 connectSocks->setObjectName(QString::fromUtf8(
"connectSocks"));
245 verticalLayout_Network->addWidget(connectSocks);
247 horizontalLayout_1_Network =
new QHBoxLayout();
248 horizontalLayout_1_Network->setObjectName(QString::fromUtf8(
"horizontalLayout_1_Network"));
249 proxyIpLabel =
new QLabel(tabNetwork);
250 proxyIpLabel->setObjectName(QString::fromUtf8(
"proxyIpLabel"));
251 proxyIpLabel->setTextFormat(Qt::PlainText);
253 horizontalLayout_1_Network->addWidget(proxyIpLabel);
256 proxyIp->setObjectName(QString::fromUtf8(
"proxyIp"));
257 proxyIp->setMinimumSize(QSize(140, 0));
258 proxyIp->setMaximumSize(QSize(140, 16777215));
260 horizontalLayout_1_Network->addWidget(proxyIp);
262 proxyPortLabel =
new QLabel(tabNetwork);
263 proxyPortLabel->setObjectName(QString::fromUtf8(
"proxyPortLabel"));
264 proxyPortLabel->setTextFormat(Qt::PlainText);
266 horizontalLayout_1_Network->addWidget(proxyPortLabel);
269 proxyPort->setObjectName(QString::fromUtf8(
"proxyPort"));
270 proxyPort->setMinimumSize(QSize(55, 0));
271 proxyPort->setMaximumSize(QSize(55, 16777215));
273 horizontalLayout_1_Network->addWidget(proxyPort);
275 socksVersionLabel =
new QLabel(tabNetwork);
276 socksVersionLabel->setObjectName(QString::fromUtf8(
"socksVersionLabel"));
277 socksVersionLabel->setTextFormat(Qt::PlainText);
279 horizontalLayout_1_Network->addWidget(socksVersionLabel);
282 socksVersion->setObjectName(QString::fromUtf8(
"socksVersion"));
284 horizontalLayout_1_Network->addWidget(socksVersion);
286 horizontalSpacer_1_Network =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
288 horizontalLayout_1_Network->addItem(horizontalSpacer_1_Network);
291 verticalLayout_Network->addLayout(horizontalLayout_1_Network);
293 verticalSpacer_Network =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
295 verticalLayout_Network->addItem(verticalSpacer_Network);
297 tabWidget->addTab(tabNetwork, QString());
299 tabWindow->setObjectName(QString::fromUtf8(
"tabWindow"));
300 verticalLayout_Window =
new QVBoxLayout(tabWindow);
301 verticalLayout_Window->setObjectName(QString::fromUtf8(
"verticalLayout_Window"));
302 minimizeToTray =
new QCheckBox(tabWindow);
303 minimizeToTray->setObjectName(QString::fromUtf8(
"minimizeToTray"));
305 verticalLayout_Window->addWidget(minimizeToTray);
307 minimizeOnClose =
new QCheckBox(tabWindow);
308 minimizeOnClose->setObjectName(QString::fromUtf8(
"minimizeOnClose"));
310 verticalLayout_Window->addWidget(minimizeOnClose);
312 verticalSpacer_Window =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
314 verticalLayout_Window->addItem(verticalSpacer_Window);
316 tabWidget->addTab(tabWindow, QString());
318 tabDisplay->setObjectName(QString::fromUtf8(
"tabDisplay"));
319 verticalLayout_Display =
new QVBoxLayout(tabDisplay);
320 verticalLayout_Display->setObjectName(QString::fromUtf8(
"verticalLayout_Display"));
321 horizontalLayout_1_Display =
new QHBoxLayout();
322 horizontalLayout_1_Display->setObjectName(QString::fromUtf8(
"horizontalLayout_1_Display"));
323 langLabel =
new QLabel(tabDisplay);
324 langLabel->setObjectName(QString::fromUtf8(
"langLabel"));
325 langLabel->setTextFormat(Qt::PlainText);
327 horizontalLayout_1_Display->addWidget(langLabel);
330 lang->setObjectName(QString::fromUtf8(
"lang"));
332 horizontalLayout_1_Display->addWidget(lang);
335 verticalLayout_Display->addLayout(horizontalLayout_1_Display);
337 horizontalLayout_2_Display =
new QHBoxLayout();
338 horizontalLayout_2_Display->setObjectName(QString::fromUtf8(
"horizontalLayout_2_Display"));
339 unitLabel =
new QLabel(tabDisplay);
340 unitLabel->setObjectName(QString::fromUtf8(
"unitLabel"));
341 unitLabel->setTextFormat(Qt::PlainText);
343 horizontalLayout_2_Display->addWidget(unitLabel);
346 unit->setObjectName(QString::fromUtf8(
"unit"));
348 horizontalLayout_2_Display->addWidget(unit);
351 verticalLayout_Display->addLayout(horizontalLayout_2_Display);
353 displayAddresses =
new QCheckBox(tabDisplay);
354 displayAddresses->setObjectName(QString::fromUtf8(
"displayAddresses"));
356 verticalLayout_Display->addWidget(displayAddresses);
358 horizontalLayout_3_Display =
new QHBoxLayout();
359 horizontalLayout_3_Display->setObjectName(QString::fromUtf8(
"horizontalLayout_3_Display"));
360 thirdPartyTxUrlsLabel =
new QLabel(tabDisplay);
361 thirdPartyTxUrlsLabel->setObjectName(QString::fromUtf8(
"thirdPartyTxUrlsLabel"));
363 horizontalLayout_3_Display->addWidget(thirdPartyTxUrlsLabel);
365 thirdPartyTxUrls =
new QLineEdit(tabDisplay);
366 thirdPartyTxUrls->setObjectName(QString::fromUtf8(
"thirdPartyTxUrls"));
368 horizontalLayout_3_Display->addWidget(thirdPartyTxUrls);
371 verticalLayout_Display->addLayout(horizontalLayout_3_Display);
373 verticalSpacer_Display =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
375 verticalLayout_Display->addItem(verticalSpacer_Display);
377 tabWidget->addTab(tabDisplay, QString());
379 verticalLayout->addWidget(tabWidget);
381 frame =
new QFrame(OptionsDialog);
382 frame->setObjectName(QString::fromUtf8(
"frame"));
383 verticalLayout_Bottom =
new QVBoxLayout(frame);
384 verticalLayout_Bottom->setObjectName(QString::fromUtf8(
"verticalLayout_Bottom"));
385 horizontalLayout_Bottom =
new QHBoxLayout();
386 horizontalLayout_Bottom->setObjectName(QString::fromUtf8(
"horizontalLayout_Bottom"));
387 overriddenByCommandLineInfoLabel =
new QLabel(frame);
388 overriddenByCommandLineInfoLabel->setObjectName(QString::fromUtf8(
"overriddenByCommandLineInfoLabel"));
389 overriddenByCommandLineInfoLabel->setTextFormat(Qt::PlainText);
391 horizontalLayout_Bottom->addWidget(overriddenByCommandLineInfoLabel);
393 horizontalSpacer_Bottom =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
395 horizontalLayout_Bottom->addItem(horizontalSpacer_Bottom);
398 verticalLayout_Bottom->addLayout(horizontalLayout_Bottom);
400 overriddenByCommandLineLabel =
new QLabel(frame);
401 overriddenByCommandLineLabel->setObjectName(QString::fromUtf8(
"overriddenByCommandLineLabel"));
402 overriddenByCommandLineLabel->setTextFormat(Qt::PlainText);
403 overriddenByCommandLineLabel->setWordWrap(
true);
405 verticalLayout_Bottom->addWidget(overriddenByCommandLineLabel);
408 verticalLayout->addWidget(frame);
410 horizontalLayout_Buttons =
new QHBoxLayout();
411 horizontalLayout_Buttons->setObjectName(QString::fromUtf8(
"horizontalLayout_Buttons"));
412 resetButton =
new QPushButton(OptionsDialog);
413 resetButton->setObjectName(QString::fromUtf8(
"resetButton"));
414 resetButton->setAutoDefault(
false);
416 horizontalLayout_Buttons->addWidget(resetButton);
418 horizontalSpacer_1 =
new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
420 horizontalLayout_Buttons->addItem(horizontalSpacer_1);
422 statusLabel =
new QLabel(OptionsDialog);
423 statusLabel->setObjectName(QString::fromUtf8(
"statusLabel"));
424 statusLabel->setMinimumSize(QSize(200, 0));
428 statusLabel->setFont(font);
429 statusLabel->setTextFormat(Qt::PlainText);
430 statusLabel->setWordWrap(
true);
432 horizontalLayout_Buttons->addWidget(statusLabel);
434 horizontalSpacer_2 =
new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
436 horizontalLayout_Buttons->addItem(horizontalSpacer_2);
438 okButton =
new QPushButton(OptionsDialog);
439 okButton->setObjectName(QString::fromUtf8(
"okButton"));
441 horizontalLayout_Buttons->addWidget(okButton);
443 cancelButton =
new QPushButton(OptionsDialog);
444 cancelButton->setObjectName(QString::fromUtf8(
"cancelButton"));
445 cancelButton->setAutoDefault(
false);
447 horizontalLayout_Buttons->addWidget(cancelButton);
450 verticalLayout->addLayout(horizontalLayout_Buttons);
452 #ifndef QT_NO_SHORTCUT
453 databaseCacheLabel->setBuddy(databaseCache);
454 threadsScriptVerifLabel->setBuddy(threadsScriptVerif);
455 transactionFeeLabel->setBuddy(transactionFee);
456 proxyIpLabel->setBuddy(proxyIp);
457 proxyPortLabel->setBuddy(proxyPort);
458 socksVersionLabel->setBuddy(socksVersion);
459 langLabel->setBuddy(lang);
460 unitLabel->setBuddy(unit);
461 thirdPartyTxUrlsLabel->setBuddy(thirdPartyTxUrls);
462 #endif // QT_NO_SHORTCUT
466 tabWidget->setCurrentIndex(0);
469 QMetaObject::connectSlotsByName(OptionsDialog);
474 OptionsDialog->setWindowTitle(QApplication::translate(
"OptionsDialog",
"Options", 0, QApplication::UnicodeUTF8));
475 #ifndef QT_NO_TOOLTIP
476 bitcoinAtStartup->setToolTip(QApplication::translate(
"OptionsDialog",
"Automatically start Bitcoin after logging in to the system.", 0, QApplication::UnicodeUTF8));
477 #endif // QT_NO_TOOLTIP
478 bitcoinAtStartup->setText(QApplication::translate(
"OptionsDialog",
"&Start Bitcoin on system login", 0, QApplication::UnicodeUTF8));
479 databaseCacheLabel->setText(QApplication::translate(
"OptionsDialog",
"Size of &database cache", 0, QApplication::UnicodeUTF8));
480 databaseCacheUnitLabel->setText(QApplication::translate(
"OptionsDialog",
"MB", 0, QApplication::UnicodeUTF8));
481 threadsScriptVerifLabel->setText(QApplication::translate(
"OptionsDialog",
"Number of script &verification threads", 0, QApplication::UnicodeUTF8));
482 #ifndef QT_NO_TOOLTIP
483 threadsScriptVerif->setToolTip(QApplication::translate(
"OptionsDialog",
"(0 = auto, <0 = leave that many cores free)", 0, QApplication::UnicodeUTF8));
484 #endif // QT_NO_TOOLTIP
485 tabWidget->setTabText(tabWidget->indexOf(tabMain), QApplication::translate(
"OptionsDialog",
"&Main", 0, QApplication::UnicodeUTF8));
486 transactionFeeInfoLabel->setText(QApplication::translate(
"OptionsDialog",
"Optional transaction fee per kB that helps make sure your transactions are processed quickly. Most transactions are 1 kB.", 0, QApplication::UnicodeUTF8));
487 transactionFeeLabel->setText(QApplication::translate(
"OptionsDialog",
"Pay transaction &fee", 0, QApplication::UnicodeUTF8));
488 groupBox->setTitle(QApplication::translate(
"OptionsDialog",
"Expert", 0, QApplication::UnicodeUTF8));
489 #ifndef QT_NO_TOOLTIP
490 coinControlFeatures->setToolTip(QApplication::translate(
"OptionsDialog",
"Whether to show coin control features or not.", 0, QApplication::UnicodeUTF8));
491 #endif // QT_NO_TOOLTIP
492 coinControlFeatures->setText(QApplication::translate(
"OptionsDialog",
"Enable coin &control features", 0, QApplication::UnicodeUTF8));
493 #ifndef QT_NO_TOOLTIP
494 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, QApplication::UnicodeUTF8));
495 #endif // QT_NO_TOOLTIP
496 spendZeroConfChange->setText(QApplication::translate(
"OptionsDialog",
"&Spend unconfirmed change", 0, QApplication::UnicodeUTF8));
497 tabWidget->setTabText(tabWidget->indexOf(tabWallet), QApplication::translate(
"OptionsDialog",
"W&allet", 0, QApplication::UnicodeUTF8));
498 #ifndef QT_NO_TOOLTIP
499 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, QApplication::UnicodeUTF8));
500 #endif // QT_NO_TOOLTIP
501 mapPortUpnp->setText(QApplication::translate(
"OptionsDialog",
"Map port using &UPnP", 0, QApplication::UnicodeUTF8));
502 #ifndef QT_NO_TOOLTIP
503 connectSocks->setToolTip(QApplication::translate(
"OptionsDialog",
"Connect to the Bitcoin network through a SOCKS proxy.", 0, QApplication::UnicodeUTF8));
504 #endif // QT_NO_TOOLTIP
505 connectSocks->setText(QApplication::translate(
"OptionsDialog",
"&Connect through SOCKS proxy (default proxy):", 0, QApplication::UnicodeUTF8));
506 proxyIpLabel->setText(QApplication::translate(
"OptionsDialog",
"Proxy &IP:", 0, QApplication::UnicodeUTF8));
507 #ifndef QT_NO_TOOLTIP
508 proxyIp->setToolTip(QApplication::translate(
"OptionsDialog",
"IP address of the proxy (e.g. IPv4: 127.0.0.1 / IPv6: ::1)", 0, QApplication::UnicodeUTF8));
509 #endif // QT_NO_TOOLTIP
510 proxyPortLabel->setText(QApplication::translate(
"OptionsDialog",
"&Port:", 0, QApplication::UnicodeUTF8));
511 #ifndef QT_NO_TOOLTIP
512 proxyPort->setToolTip(QApplication::translate(
"OptionsDialog",
"Port of the proxy (e.g. 9050)", 0, QApplication::UnicodeUTF8));
513 #endif // QT_NO_TOOLTIP
514 socksVersionLabel->setText(QApplication::translate(
"OptionsDialog",
"SOCKS &Version:", 0, QApplication::UnicodeUTF8));
515 #ifndef QT_NO_TOOLTIP
516 socksVersion->setToolTip(QApplication::translate(
"OptionsDialog",
"SOCKS version of the proxy (e.g. 5)", 0, QApplication::UnicodeUTF8));
517 #endif // QT_NO_TOOLTIP
518 tabWidget->setTabText(tabWidget->indexOf(tabNetwork), QApplication::translate(
"OptionsDialog",
"&Network", 0, QApplication::UnicodeUTF8));
519 #ifndef QT_NO_TOOLTIP
520 minimizeToTray->setToolTip(QApplication::translate(
"OptionsDialog",
"Show only a tray icon after minimizing the window.", 0, QApplication::UnicodeUTF8));
521 #endif // QT_NO_TOOLTIP
522 minimizeToTray->setText(QApplication::translate(
"OptionsDialog",
"&Minimize to the tray instead of the taskbar", 0, QApplication::UnicodeUTF8));
523 #ifndef QT_NO_TOOLTIP
524 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 Quit in the menu.", 0, QApplication::UnicodeUTF8));
525 #endif // QT_NO_TOOLTIP
526 minimizeOnClose->setText(QApplication::translate(
"OptionsDialog",
"M&inimize on close", 0, QApplication::UnicodeUTF8));
527 tabWidget->setTabText(tabWidget->indexOf(tabWindow), QApplication::translate(
"OptionsDialog",
"&Window", 0, QApplication::UnicodeUTF8));
528 langLabel->setText(QApplication::translate(
"OptionsDialog",
"User Interface &language:", 0, QApplication::UnicodeUTF8));
529 #ifndef QT_NO_TOOLTIP
530 lang->setToolTip(QApplication::translate(
"OptionsDialog",
"The user interface language can be set here. This setting will take effect after restarting Bitcoin.", 0, QApplication::UnicodeUTF8));
531 #endif // QT_NO_TOOLTIP
532 unitLabel->setText(QApplication::translate(
"OptionsDialog",
"&Unit to show amounts in:", 0, QApplication::UnicodeUTF8));
533 #ifndef QT_NO_TOOLTIP
534 unit->setToolTip(QApplication::translate(
"OptionsDialog",
"Choose the default subdivision unit to show in the interface and when sending coins.", 0, QApplication::UnicodeUTF8));
535 #endif // QT_NO_TOOLTIP
536 #ifndef QT_NO_TOOLTIP
537 displayAddresses->setToolTip(QApplication::translate(
"OptionsDialog",
"Whether to show Bitcoin addresses in the transaction list or not.", 0, QApplication::UnicodeUTF8));
538 #endif // QT_NO_TOOLTIP
539 displayAddresses->setText(QApplication::translate(
"OptionsDialog",
"&Display addresses in transaction list", 0, QApplication::UnicodeUTF8));
540 #ifndef QT_NO_TOOLTIP
541 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, QApplication::UnicodeUTF8));
542 #endif // QT_NO_TOOLTIP
543 thirdPartyTxUrlsLabel->setText(QApplication::translate(
"OptionsDialog",
"Third party transaction URLs", 0, QApplication::UnicodeUTF8));
544 #ifndef QT_NO_TOOLTIP
545 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, QApplication::UnicodeUTF8));
546 #endif // QT_NO_TOOLTIP
547 tabWidget->setTabText(tabWidget->indexOf(tabDisplay), QApplication::translate(
"OptionsDialog",
"&Display", 0, QApplication::UnicodeUTF8));
548 overriddenByCommandLineInfoLabel->setText(QApplication::translate(
"OptionsDialog",
"Active command-line options that override above options:", 0, QApplication::UnicodeUTF8));
549 overriddenByCommandLineLabel->setText(QString());
550 #ifndef QT_NO_TOOLTIP
551 resetButton->setToolTip(QApplication::translate(
"OptionsDialog",
"Reset all client options to default.", 0, QApplication::UnicodeUTF8));
552 #endif // QT_NO_TOOLTIP
553 resetButton->setText(QApplication::translate(
"OptionsDialog",
"&Reset Options", 0, QApplication::UnicodeUTF8));
554 statusLabel->setText(QString());
555 okButton->setText(QApplication::translate(
"OptionsDialog",
"&OK", 0, QApplication::UnicodeUTF8));
556 cancelButton->setText(QApplication::translate(
"OptionsDialog",
"&Cancel", 0, QApplication::UnicodeUTF8));
567 #endif // UI_OPTIONSDIALOG_H
QCheckBox * spendZeroConfChange
Widget for entering bitcoin amounts.
QHBoxLayout * horizontalLayout_3_Display
QVBoxLayout * verticalLayout
QSpacerItem * horizontalSpacer_1
QSpinBox * threadsScriptVerif
void setupUi(QDialog *OptionsDialog)
QPushButton * cancelButton
QHBoxLayout * horizontalLayout_3_Main
QVBoxLayout * verticalLayout_Wallet
QSpacerItem * horizontalSpacer_1_Network
QVBoxLayout * verticalLayout_Display
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.
QValueComboBox * socksVersion
QLabel * transactionFeeInfoLabel
QSpacerItem * verticalSpacer_Network
QHBoxLayout * horizontalLayout_1_Network
QLabel * socksVersionLabel
QHBoxLayout * horizontalLayout_Bottom
QSpacerItem * horizontalSpacer_2
QVBoxLayout * verticalLayout_Window
QLabel * overriddenByCommandLineInfoLabel
QSpacerItem * verticalSpacer_Window
QCheckBox * displayAddresses
BitcoinAmountField * transactionFee
QHBoxLayout * horizontalLayout_Buttons
QVBoxLayout * verticalLayout_Network
QSpacerItem * horizontalSpacer_1_Wallet
QSpacerItem * horizontalSpacer_3_Main
QSpacerItem * horizontalSpacer_2_Main
QSpacerItem * verticalSpacer_Wallet
QLabel * overriddenByCommandLineLabel
QLabel * databaseCacheLabel
QHBoxLayout * horizontalLayout_1_Display
QCheckBox * minimizeOnClose
QLineEdit * thirdPartyTxUrls
QSpacerItem * verticalSpacer_Display
QLabel * thirdPartyTxUrlsLabel
QCheckBox * bitcoinAtStartup
QVBoxLayout * verticalLayout_Main
QVBoxLayout * verticalLayout_Bottom
QLabel * transactionFeeLabel
QValidatedLineEdit * proxyIp
QSpacerItem * verticalSpacer_Main
QCheckBox * coinControlFeatures
QPushButton * resetButton
QHBoxLayout * horizontalLayout_2_Display
QHBoxLayout * horizontalLayout_1_Wallet
void retranslateUi(QDialog *OptionsDialog)
QSpacerItem * horizontalSpacer_Bottom