9 #ifndef UI_OVERVIEWPAGE_H 10 #define UI_OVERVIEWPAGE_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QFrame> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QListView> 20 #include <QtWidgets/QPushButton> 21 #include <QtWidgets/QSpacerItem> 22 #include <QtWidgets/QVBoxLayout> 23 #include <QtWidgets/QWidget> 72 OverviewPage->setObjectName(QString::fromUtf8(
"OverviewPage"));
75 topLayout->setObjectName(QString::fromUtf8(
"topLayout"));
77 labelAlerts->setObjectName(QString::fromUtf8(
"labelAlerts"));
79 labelAlerts->setStyleSheet(QString::fromUtf8(
"QLabel { background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop:0 #F0D0A0, stop:1 #F8D488); color:#000000; }"));
82 labelAlerts->setTextInteractionFlags(Qt::TextSelectableByMouse);
91 frame->setObjectName(QString::fromUtf8(
"frame"));
92 frame->setFrameShape(QFrame::StyledPanel);
93 frame->setFrameShadow(QFrame::Raised);
99 label_5->setObjectName(QString::fromUtf8(
"label_5"));
112 icon.addFile(QString::fromUtf8(
":/icons/warning"), QSize(), QIcon::Normal, QIcon::Off);
113 icon.addFile(QString::fromUtf8(
":/icons/warning"), QSize(), QIcon::Disabled, QIcon::Off);
120 horizontalSpacer_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
129 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
134 labelWatchPending->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
135 labelWatchPending->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
136 labelWatchPending->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
144 labelUnconfirmed->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
145 labelUnconfirmed->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
146 labelUnconfirmed->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
154 labelWatchImmature->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
156 labelWatchImmature->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
161 line->setObjectName(QString::fromUtf8(
"line"));
162 line->setFrameShape(QFrame::HLine);
163 line->setFrameShadow(QFrame::Sunken);
169 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
170 sizePolicy.setHorizontalStretch(0);
171 sizePolicy.setVerticalStretch(0);
172 sizePolicy.setHeightForWidth(
lineWatchBalance->sizePolicy().hasHeightForWidth());
181 labelTotalText->setObjectName(QString::fromUtf8(
"labelTotalText"));
186 labelImmature->setObjectName(QString::fromUtf8(
"labelImmature"));
189 labelImmature->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
190 labelImmature->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
191 labelImmature->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
195 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
205 labelTotal->setObjectName(QString::fromUtf8(
"labelTotal"));
207 labelTotal->setCursor(QCursor(Qt::IBeamCursor));
208 labelTotal->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
209 labelTotal->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
210 labelTotal->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
218 labelWatchTotal->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
219 labelWatchTotal->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
220 labelWatchTotal->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
225 labelWatchonly->setObjectName(QString::fromUtf8(
"labelWatchonly"));
226 labelWatchonly->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
236 labelBalance->setObjectName(QString::fromUtf8(
"labelBalance"));
239 labelBalance->setText(QString::fromUtf8(
"0.000\342\200\211000\342\200\21100 BTC"));
240 labelBalance->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
241 labelBalance->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
251 labelWatchAvailable->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
261 labelSpendable->setObjectName(QString::fromUtf8(
"labelSpendable"));
262 labelSpendable->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
272 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
282 frame_2->setObjectName(QString::fromUtf8(
"frame_2"));
283 frame_2->setFrameShape(QFrame::StyledPanel);
284 frame_2->setFrameShadow(QFrame::Raised);
286 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
290 label_4->setObjectName(QString::fromUtf8(
"label_4"));
305 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
314 listTransactions->setStyleSheet(QString::fromUtf8(
"QListView { background: transparent; }"));
325 verticalSpacer_2 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
345 OverviewPage->setWindowTitle(QCoreApplication::translate(
"OverviewPage",
"Form",
nullptr));
346 label_5->setText(QCoreApplication::translate(
"OverviewPage",
"Balances",
nullptr));
347 #if QT_CONFIG(tooltip) 348 labelWalletStatus->setToolTip(QCoreApplication::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.",
nullptr));
349 #endif // QT_CONFIG(tooltip) 351 #if QT_CONFIG(tooltip) 352 labelWatchPending->setToolTip(QCoreApplication::translate(
"OverviewPage",
"Unconfirmed transactions to watch-only addresses",
nullptr));
353 #endif // QT_CONFIG(tooltip) 354 #if QT_CONFIG(tooltip) 355 labelUnconfirmed->setToolTip(QCoreApplication::translate(
"OverviewPage",
"Total of transactions that have yet to be confirmed, and do not yet count toward the spendable balance",
nullptr));
356 #endif // QT_CONFIG(tooltip) 357 #if QT_CONFIG(tooltip) 358 labelWatchImmature->setToolTip(QCoreApplication::translate(
"OverviewPage",
"Mined balance in watch-only addresses that has not yet matured",
nullptr));
359 #endif // QT_CONFIG(tooltip) 360 labelTotalText->setText(QCoreApplication::translate(
"OverviewPage",
"Total:",
nullptr));
361 #if QT_CONFIG(tooltip) 362 labelImmature->setToolTip(QCoreApplication::translate(
"OverviewPage",
"Mined balance that has not yet matured",
nullptr));
363 #endif // QT_CONFIG(tooltip) 364 labelImmatureText->setText(QCoreApplication::translate(
"OverviewPage",
"Immature:",
nullptr));
365 #if QT_CONFIG(tooltip) 366 labelTotal->setToolTip(QCoreApplication::translate(
"OverviewPage",
"Your current total balance",
nullptr));
367 #endif // QT_CONFIG(tooltip) 368 #if QT_CONFIG(tooltip) 369 labelWatchTotal->setToolTip(QCoreApplication::translate(
"OverviewPage",
"Current total balance in watch-only addresses",
nullptr));
370 #endif // QT_CONFIG(tooltip) 371 labelWatchonly->setText(QCoreApplication::translate(
"OverviewPage",
"Watch-only:",
nullptr));
372 labelBalanceText->setText(QCoreApplication::translate(
"OverviewPage",
"Available:",
nullptr));
373 #if QT_CONFIG(tooltip) 374 labelBalance->setToolTip(QCoreApplication::translate(
"OverviewPage",
"Your current spendable balance",
nullptr));
375 #endif // QT_CONFIG(tooltip) 376 #if QT_CONFIG(tooltip) 377 labelWatchAvailable->setToolTip(QCoreApplication::translate(
"OverviewPage",
"Your current balance in watch-only addresses",
nullptr));
378 #endif // QT_CONFIG(tooltip) 379 labelPendingText->setText(QCoreApplication::translate(
"OverviewPage",
"Pending:",
nullptr));
380 labelSpendable->setText(QCoreApplication::translate(
"OverviewPage",
"Spendable:",
nullptr));
381 label_4->setText(QCoreApplication::translate(
"OverviewPage",
"Recent transactions",
nullptr));
382 #if QT_CONFIG(tooltip) 383 labelTransactionsStatus->setToolTip(QCoreApplication::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.",
nullptr));
384 #endif // QT_CONFIG(tooltip) 396 #endif // UI_OVERVIEWPAGE_H Definition: overviewpage.h:28
QVBoxLayout * verticalLayout_3
Definition: ui_overviewpage.h:59
QLabel * labelPendingText
Definition: ui_overviewpage.h:56
Definition: ui_overviewpage.h:27
QFrame * lineWatchBalance
Definition: ui_overviewpage.h:45
QSpacerItem * horizontalSpacer
Definition: ui_overviewpage.h:65
void setupUi(QWidget *OverviewPage)
Definition: ui_overviewpage.h:69
QVBoxLayout * verticalLayout_2
Definition: ui_overviewpage.h:33
Definition: addressbookpage.h:14
QVBoxLayout * verticalLayout_4
Definition: ui_overviewpage.h:35
QLabel * labelBalanceText
Definition: ui_overviewpage.h:53
QHBoxLayout * horizontalLayout_2
Definition: ui_overviewpage.h:62
QGridLayout * gridLayout
Definition: ui_overviewpage.h:40
QPushButton * labelTransactionsStatus
Definition: ui_overviewpage.h:64
void retranslateUi(QWidget *OverviewPage)
Definition: ui_overviewpage.h:343
QLabel * labelWatchPending
Definition: ui_overviewpage.h:41
QLabel * labelWatchTotal
Definition: ui_overviewpage.h:51
QLabel * labelTotalText
Definition: ui_overviewpage.h:46
QLabel * labelWatchAvailable
Definition: ui_overviewpage.h:55
QVBoxLayout * topLayout
Definition: ui_overviewpage.h:30
QLabel * labelImmature
Definition: ui_overviewpage.h:47
QLabel * labelWatchImmature
Definition: ui_overviewpage.h:43
Definition: ui_overviewpage.h:391
QPushButton * labelWalletStatus
Definition: ui_overviewpage.h:38
QLabel * labelWatchonly
Definition: ui_overviewpage.h:52
QSpacerItem * verticalSpacer_2
Definition: ui_overviewpage.h:67
QFrame * frame
Definition: ui_overviewpage.h:34
QLabel * label_5
Definition: ui_overviewpage.h:37
QLabel * labelImmatureText
Definition: ui_overviewpage.h:49
QLabel * labelBalance
Definition: ui_overviewpage.h:54
QLabel * labelUnconfirmed
Definition: ui_overviewpage.h:42
QHBoxLayout * horizontalLayout_4
Definition: ui_overviewpage.h:36
QLabel * labelAlerts
Definition: ui_overviewpage.h:31
QLabel * labelSpendable
Definition: ui_overviewpage.h:57
QHBoxLayout * horizontalLayout
Definition: ui_overviewpage.h:32
QSpacerItem * verticalSpacer
Definition: ui_overviewpage.h:58
QFrame * frame_2
Definition: ui_overviewpage.h:60
QSpacerItem * horizontalSpacer_3
Definition: ui_overviewpage.h:39
QLabel * label_4
Definition: ui_overviewpage.h:63
QFrame * line
Definition: ui_overviewpage.h:44
QVBoxLayout * verticalLayout
Definition: ui_overviewpage.h:61
QListView * listTransactions
Definition: ui_overviewpage.h:66
QLabel * labelTotal
Definition: ui_overviewpage.h:50
QSpacerItem * horizontalSpacer_2
Definition: ui_overviewpage.h:48