9 #ifndef UI_OVERVIEWPAGE_H 10 #define UI_OVERVIEWPAGE_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QFormLayout> 17 #include <QtWidgets/QFrame> 18 #include <QtWidgets/QGridLayout> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QListView> 23 #include <QtWidgets/QProgressBar> 24 #include <QtWidgets/QPushButton> 25 #include <QtWidgets/QSpacerItem> 26 #include <QtWidgets/QVBoxLayout> 27 #include <QtWidgets/QWidget> 100 OverviewPage->setObjectName(QStringLiteral(
"OverviewPage"));
104 topLayout->setObjectName(QStringLiteral(
"topLayout"));
106 labelAlerts->setObjectName(QStringLiteral(
"labelAlerts"));
108 labelAlerts->setStyleSheet(QStringLiteral(
"QLabel { background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop:0 #F0D0A0, stop:1 #F8D488); color:#000000; }"));
111 labelAlerts->setTextInteractionFlags(Qt::TextSelectableByMouse);
120 frame->setObjectName(QStringLiteral(
"frame"));
121 frame->setFrameShape(QFrame::StyledPanel);
122 frame->setFrameShadow(QFrame::Raised);
128 label_5->setObjectName(QStringLiteral(
"label_5"));
140 labelWalletStatus->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
144 horizontalSpacer_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
153 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
158 labelWatchPending->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
159 labelWatchPending->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
160 labelWatchPending->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
168 labelUnconfirmed->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
169 labelUnconfirmed->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
170 labelUnconfirmed->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
178 labelWatchImmature->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
180 labelWatchImmature->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
193 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
194 sizePolicy.setHorizontalStretch(0);
195 sizePolicy.setVerticalStretch(0);
196 sizePolicy.setHeightForWidth(
lineWatchBalance->sizePolicy().hasHeightForWidth());
210 labelImmature->setObjectName(QStringLiteral(
"labelImmature"));
213 labelImmature->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
214 labelImmature->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
215 labelImmature->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
219 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
229 labelTotal->setObjectName(QStringLiteral(
"labelTotal"));
231 labelTotal->setCursor(QCursor(Qt::IBeamCursor));
232 labelTotal->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
233 labelTotal->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
234 labelTotal->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
242 labelWatchTotal->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
243 labelWatchTotal->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
244 labelWatchTotal->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
250 labelWatchonly->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
260 labelBalance->setObjectName(QStringLiteral(
"labelBalance"));
263 labelBalance->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
264 labelBalance->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
265 labelBalance->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
275 labelWatchAvailable->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
286 labelSpendable->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
319 horizontalSpacer_4 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
399 QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
400 sizePolicy1.setHorizontalStretch(0);
401 sizePolicy1.setVerticalStretch(0);
402 sizePolicy1.setHeightForWidth(
togglePrivateSend->sizePolicy().hasHeightForWidth());
411 sizePolicy1.setHeightForWidth(
privateSendAuto->sizePolicy().hasHeightForWidth());
418 sizePolicy1.setHeightForWidth(
privateSendReset->sizePolicy().hasHeightForWidth());
426 sizePolicy1.setHeightForWidth(
privateSendInfo->sizePolicy().hasHeightForWidth());
440 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
450 frame_2->setObjectName(QStringLiteral(
"frame_2"));
451 frame_2->setFrameShape(QFrame::StyledPanel);
452 frame_2->setFrameShadow(QFrame::Raised);
458 label_4->setObjectName(QStringLiteral(
"label_4"));
471 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
480 listTransactions->setStyleSheet(QStringLiteral(
"QListView { background: transparent; }"));
491 verticalSpacer_2 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
511 OverviewPage->setWindowTitle(QApplication::translate(
"OverviewPage",
"Form", 0));
512 label_5->setText(QApplication::translate(
"OverviewPage",
"Balances", 0));
513 #ifndef QT_NO_TOOLTIP 514 labelWalletStatus->setToolTip(QApplication::translate(
"OverviewPage",
"The displayed information may be out of date. Your wallet automatically synchronizes with the Dash network after a connection is established, but this process has not completed yet.", 0));
515 #endif // QT_NO_TOOLTIP 516 #ifndef QT_NO_TOOLTIP 517 labelWatchPending->setToolTip(QApplication::translate(
"OverviewPage",
"Unconfirmed transactions to watch-only addresses", 0));
518 #endif // QT_NO_TOOLTIP 519 #ifndef QT_NO_TOOLTIP 520 labelUnconfirmed->setToolTip(QApplication::translate(
"OverviewPage",
"Total of transactions that have yet to be confirmed, and do not yet count toward the spendable balance", 0));
521 #endif // QT_NO_TOOLTIP 522 #ifndef QT_NO_TOOLTIP 523 labelWatchImmature->setToolTip(QApplication::translate(
"OverviewPage",
"Mined balance in watch-only addresses that has not yet matured", 0));
524 #endif // QT_NO_TOOLTIP 525 labelTotalText->setText(QApplication::translate(
"OverviewPage",
"Total:", 0));
526 #ifndef QT_NO_TOOLTIP 527 labelImmature->setToolTip(QApplication::translate(
"OverviewPage",
"Mined balance that has not yet matured", 0));
528 #endif // QT_NO_TOOLTIP 529 labelImmatureText->setText(QApplication::translate(
"OverviewPage",
"Immature:", 0));
530 #ifndef QT_NO_TOOLTIP 531 labelTotal->setToolTip(QApplication::translate(
"OverviewPage",
"Your current total balance", 0));
532 #endif // QT_NO_TOOLTIP 533 #ifndef QT_NO_TOOLTIP 534 labelWatchTotal->setToolTip(QApplication::translate(
"OverviewPage",
"Current total balance in watch-only addresses", 0));
535 #endif // QT_NO_TOOLTIP 536 labelWatchonly->setText(QApplication::translate(
"OverviewPage",
"Watch-only:", 0));
537 labelBalanceText->setText(QApplication::translate(
"OverviewPage",
"Available:", 0));
538 #ifndef QT_NO_TOOLTIP 539 labelBalance->setToolTip(QApplication::translate(
"OverviewPage",
"Your current spendable balance", 0));
540 #endif // QT_NO_TOOLTIP 541 #ifndef QT_NO_TOOLTIP 542 labelWatchAvailable->setToolTip(QApplication::translate(
"OverviewPage",
"Your current balance in watch-only addresses", 0));
543 #endif // QT_NO_TOOLTIP 544 labelPendingText->setText(QApplication::translate(
"OverviewPage",
"Pending:", 0));
545 labelSpendable->setText(QApplication::translate(
"OverviewPage",
"Spendable:", 0));
547 #ifndef QT_NO_TOOLTIP 548 labelPrivateSendSyncStatus->setToolTip(QApplication::translate(
"OverviewPage",
"The displayed information may be out of date. Your wallet automatically synchronizes with the Dash network after a connection is established, but this process has not completed yet.", 0));
549 #endif // QT_NO_TOOLTIP 553 labelAnonymizedText->setText(QApplication::translate(
"OverviewPage",
"PrivateSend Balance:", 0));
555 labelAmountRounds->setText(QApplication::translate(
"OverviewPage",
"0 DASH / 0 Rounds", 0));
557 #ifndef QT_NO_TOOLTIP 558 labelSubmittedDenom->setToolTip(QApplication::translate(
"OverviewPage",
"The denominations you submitted to the Masternode.<br>To mix, other users must submit the exact same denominations.", 0));
559 #endif // QT_NO_TOOLTIP 562 togglePrivateSend->setText(QApplication::translate(
"OverviewPage",
"Start/Stop Mixing", 0));
563 #ifndef QT_NO_TOOLTIP 564 privateSendAuto->setToolTip(QApplication::translate(
"OverviewPage",
"Try to manually submit a PrivateSend request.", 0));
565 #endif // QT_NO_TOOLTIP 566 privateSendAuto->setText(QApplication::translate(
"OverviewPage",
"Try Mix", 0));
567 #ifndef QT_NO_TOOLTIP 568 privateSendReset->setToolTip(QApplication::translate(
"OverviewPage",
"Reset the current status of PrivateSend (can interrupt PrivateSend if it's in the process of Mixing, which can cost you money!)", 0));
569 #endif // QT_NO_TOOLTIP 570 privateSendReset->setText(QApplication::translate(
"OverviewPage",
"Reset", 0));
571 #ifndef QT_NO_TOOLTIP 572 privateSendInfo->setToolTip(QApplication::translate(
"OverviewPage",
"Information about PrivateSend and Mixing", 0));
573 #endif // QT_NO_TOOLTIP 574 privateSendInfo->setText(QApplication::translate(
"OverviewPage",
"Info", 0));
575 label_4->setText(QApplication::translate(
"OverviewPage",
"Recent transactions", 0));
576 #ifndef QT_NO_TOOLTIP 577 labelTransactionsStatus->setToolTip(QApplication::translate(
"OverviewPage",
"The displayed information may be out of date. Your wallet automatically synchronizes with the Dash network after a connection is established, but this process has not completed yet.", 0));
578 #endif // QT_NO_TOOLTIP 589 #endif // UI_OVERVIEWPAGE_H QLabel * labelSubmittedDenom
QPushButton * privateSendInfo
QPushButton * privateSendReset
QLabel * labelWalletStatus
QLabel * labelAmountAndRoundsText
QVBoxLayout * verticalLayout_3
QLabel * labelPendingText
QFrame * lineWatchBalance
QSpacerItem * horizontalSpacer
void setupUi(QWidget *OverviewPage)
QVBoxLayout * verticalLayout_2
QLabel * labelPrivateSendEnabledText
QVBoxLayout * verticalLayout_4
QLabel * labelBalanceText
QHBoxLayout * horizontalLayout_2
QLabel * labelAmountRounds
void retranslateUi(QWidget *OverviewPage)
QLabel * labelSubmittedDenomText
QLabel * labelWatchPending
QLabel * labelTransactionsStatus
QVBoxLayout * VerticalLayout_PS1
QLabel * labelWatchAvailable
QLabel * labelPrivateSendSyncStatus
QLabel * labelPrivateSendEnabled
QLabel * labelWatchImmature
QSpacerItem * horizontalSpacer_4
QVBoxLayout * VerticalLayout_PS
QPushButton * privateSendAuto
QSpacerItem * verticalSpacer_2
QLabel * labelAnonymizedText
QLabel * labelImmatureText
QHBoxLayout * horizontalLayout_debugbuttons
QLabel * labelCompletitionText
QLabel * labelUnconfirmed
QHBoxLayout * horizontalLayout_4
QLabel * labelPrivateSendHeader
QHBoxLayout * horizontalLayout
QSpacerItem * verticalSpacer
QSpacerItem * horizontalSpacer_3
QFrame * lineSpendableBalance
QFrame * framePrivateSend
QFormLayout * privateSendFormLayout
QHBoxLayout * horizontalLayout_5
QProgressBar * privateSendProgress
QPushButton * togglePrivateSend
QVBoxLayout * verticalLayout
QListView * listTransactions
QSpacerItem * horizontalSpacer_2
QLabel * labelPrivateSendLastMessage