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/QFrame> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QHBoxLayout> 19 #include <QtWidgets/QHeaderView> 20 #include <QtWidgets/QLabel> 21 #include <QtWidgets/QPushButton> 22 #include <QtWidgets/QSpacerItem> 23 #include <QtWidgets/QVBoxLayout> 24 #include <QtWidgets/QWidget> 74 OverviewPage->setObjectName(QStringLiteral(
"OverviewPage"));
77 topLayout->setObjectName(QStringLiteral(
"topLayout"));
79 labelAlerts->setObjectName(QStringLiteral(
"labelAlerts"));
81 labelAlerts->setStyleSheet(QStringLiteral(
"QLabel { background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop:0 #F0D0A0, stop:1 #F8D488); color:#000000; }"));
84 labelAlerts->setTextInteractionFlags(Qt::TextSelectableByMouse);
93 frame->setObjectName(QStringLiteral(
"frame"));
94 frame->setFrameShape(QFrame::StyledPanel);
95 frame->setFrameShadow(QFrame::Raised);
101 label_5->setObjectName(QStringLiteral(
"label_5"));
114 icon.addFile(QStringLiteral(
":/icons/warning"), QSize(), QIcon::Normal, QIcon::Off);
115 icon.addFile(QStringLiteral(
":/icons/warning"), QSize(), QIcon::Disabled, QIcon::Off);
122 horizontalSpacer_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
131 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
135 font1.setFamily(QStringLiteral(
"Monospace"));
141 labelWatchPending->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
142 labelWatchPending->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
151 labelUnconfirmed->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
152 labelUnconfirmed->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
162 labelWatchImmature->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
167 line->setObjectName(QStringLiteral(
"line"));
168 line->setFrameShape(QFrame::HLine);
169 line->setFrameShadow(QFrame::Sunken);
175 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
176 sizePolicy.setHorizontalStretch(0);
177 sizePolicy.setVerticalStretch(0);
178 sizePolicy.setHeightForWidth(
lineWatchBalance->sizePolicy().hasHeightForWidth());
192 labelImmature->setObjectName(QStringLiteral(
"labelImmature"));
196 labelImmature->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
197 labelImmature->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
201 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
211 labelTotal->setObjectName(QStringLiteral(
"labelTotal"));
213 labelTotal->setCursor(QCursor(Qt::IBeamCursor));
214 labelTotal->setText(QStringLiteral(
"21 000 000.00000000 BTC"));
215 labelTotal->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
216 labelTotal->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
225 labelWatchTotal->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
226 labelWatchTotal->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
232 labelWatchonly->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
242 labelBalance->setObjectName(QStringLiteral(
"labelBalance"));
245 labelBalance->setText(QStringLiteral(
"21 000 000.00000000 BTC"));
246 labelBalance->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
247 labelBalance->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
257 labelWatchAvailable->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
268 labelSpendable->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
278 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
288 frame_2->setObjectName(QStringLiteral(
"frame_2"));
289 frame_2->setFrameShape(QFrame::StyledPanel);
290 frame_2->setFrameShadow(QFrame::Raised);
296 label_4->setObjectName(QStringLiteral(
"label_4"));
311 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
320 listTransactions->setStyleSheet(QStringLiteral(
"QListView { background: transparent; }"));
324 listTransactions->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
333 verticalSpacer_2 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
353 OverviewPage->setWindowTitle(QApplication::translate(
"OverviewPage",
"Form", Q_NULLPTR));
354 label_5->setText(QApplication::translate(
"OverviewPage",
"Balances", Q_NULLPTR));
355 #ifndef QT_NO_TOOLTIP 356 labelWalletStatus->setToolTip(QApplication::translate(
"OverviewPage",
"The displayed information may be out of date. Your wallet automatically synchronizes with the Bitcoin network after a connection is established, but this process has not completed yet.", Q_NULLPTR));
357 #endif // QT_NO_TOOLTIP 359 #ifndef QT_NO_TOOLTIP 360 labelWatchPending->setToolTip(QApplication::translate(
"OverviewPage",
"Unconfirmed transactions to watch-only addresses", Q_NULLPTR));
361 #endif // QT_NO_TOOLTIP 362 #ifndef QT_NO_TOOLTIP 363 labelUnconfirmed->setToolTip(QApplication::translate(
"OverviewPage",
"Total of transactions that have yet to be confirmed, and do not yet count toward the spendable balance", Q_NULLPTR));
364 #endif // QT_NO_TOOLTIP 365 #ifndef QT_NO_TOOLTIP 366 labelWatchImmature->setToolTip(QApplication::translate(
"OverviewPage",
"Mined balance in watch-only addresses that has not yet matured", Q_NULLPTR));
367 #endif // QT_NO_TOOLTIP 368 labelTotalText->setText(QApplication::translate(
"OverviewPage",
"Total:", Q_NULLPTR));
369 #ifndef QT_NO_TOOLTIP 370 labelImmature->setToolTip(QApplication::translate(
"OverviewPage",
"Mined balance that has not yet matured", Q_NULLPTR));
371 #endif // QT_NO_TOOLTIP 372 labelImmatureText->setText(QApplication::translate(
"OverviewPage",
"Immature:", Q_NULLPTR));
373 #ifndef QT_NO_TOOLTIP 374 labelTotal->setToolTip(QApplication::translate(
"OverviewPage",
"Your current total balance", Q_NULLPTR));
375 #endif // QT_NO_TOOLTIP 376 #ifndef QT_NO_TOOLTIP 377 labelWatchTotal->setToolTip(QApplication::translate(
"OverviewPage",
"Current total balance in watch-only addresses", Q_NULLPTR));
378 #endif // QT_NO_TOOLTIP 379 labelWatchonly->setText(QApplication::translate(
"OverviewPage",
"Watch-only:", Q_NULLPTR));
380 labelBalanceText->setText(QApplication::translate(
"OverviewPage",
"Available:", Q_NULLPTR));
381 #ifndef QT_NO_TOOLTIP 382 labelBalance->setToolTip(QApplication::translate(
"OverviewPage",
"Your current spendable balance", Q_NULLPTR));
383 #endif // QT_NO_TOOLTIP 384 #ifndef QT_NO_TOOLTIP 385 labelWatchAvailable->setToolTip(QApplication::translate(
"OverviewPage",
"Your current balance in watch-only addresses", Q_NULLPTR));
386 #endif // QT_NO_TOOLTIP 387 labelPendingText->setText(QApplication::translate(
"OverviewPage",
"Pending:", Q_NULLPTR));
388 labelSpendable->setText(QApplication::translate(
"OverviewPage",
"Spendable:", Q_NULLPTR));
389 label_4->setText(QApplication::translate(
"OverviewPage",
"Recent transactions", Q_NULLPTR));
390 #ifndef QT_NO_TOOLTIP 391 labelTransactionsStatus->setToolTip(QApplication::translate(
"OverviewPage",
"The displayed information may be out of date. Your wallet automatically synchronizes with the Bitcoin network after a connection is established, but this process has not completed yet.", Q_NULLPTR));
392 #endif // QT_NO_TOOLTIP 404 #endif // UI_OVERVIEWPAGE_H
QVBoxLayout * verticalLayout_4
QLabel * labelUnconfirmed
TransactionOverviewWidget * listTransactions
QSpacerItem * verticalSpacer_2
QFrame * lineWatchBalance
void retranslateUi(QWidget *OverviewPage)
QVBoxLayout * verticalLayout_3
QHBoxLayout * horizontalLayout
QSpacerItem * horizontalSpacer_3
QVBoxLayout * verticalLayout_2
QLabel * labelBalanceText
QLabel * labelWatchPending
QHBoxLayout * horizontalLayout_4
QSpacerItem * verticalSpacer
QVBoxLayout * verticalLayout
QLabel * labelImmatureText
QLabel * labelPendingText
QLabel * labelWatchAvailable
QHBoxLayout * horizontalLayout_2
QLabel * labelWatchImmature
QPushButton * labelWalletStatus
QSpacerItem * horizontalSpacer
QSpacerItem * horizontalSpacer_2
Overview ("home") page widget.
void setupUi(QWidget *OverviewPage)
QPushButton * labelTransactionsStatus