Bitcoin Core  26.1.0
P2P Digital Currency
ui_overviewpage.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'overviewpage.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_OVERVIEWPAGE_H
10 #define UI_OVERVIEWPAGE_H
11 
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/QPushButton>
20 #include <QtWidgets/QSpacerItem>
21 #include <QtWidgets/QVBoxLayout>
22 #include <QtWidgets/QWidget>
24 
25 QT_BEGIN_NAMESPACE
26 
28 {
29 public:
30  QVBoxLayout *topLayout;
31  QLabel *labelAlerts;
32  QHBoxLayout *horizontalLayout;
33  QVBoxLayout *verticalLayout_2;
34  QFrame *frame;
35  QVBoxLayout *verticalLayout_4;
36  QHBoxLayout *horizontalLayout_4;
37  QLabel *label_5;
38  QPushButton *labelWalletStatus;
39  QSpacerItem *horizontalSpacer_3;
40  QGridLayout *gridLayout;
44  QFrame *line;
46  QLabel *labelTotalText;
47  QLabel *labelImmature;
48  QSpacerItem *horizontalSpacer_2;
50  QLabel *labelTotal;
51  QLabel *labelWatchTotal;
52  QLabel *labelWatchonly;
54  QLabel *labelBalance;
57  QLabel *labelSpendable;
58  QSpacerItem *verticalSpacer;
59  QVBoxLayout *verticalLayout_3;
60  QFrame *frame_2;
61  QVBoxLayout *verticalLayout;
62  QHBoxLayout *horizontalLayout_2;
63  QLabel *label_4;
65  QSpacerItem *horizontalSpacer;
67  QSpacerItem *verticalSpacer_2;
68 
69  void setupUi(QWidget *OverviewPage)
70  {
71  if (OverviewPage->objectName().isEmpty())
72  OverviewPage->setObjectName(QString::fromUtf8("OverviewPage"));
73  OverviewPage->resize(798, 318);
74  topLayout = new QVBoxLayout(OverviewPage);
75  topLayout->setObjectName(QString::fromUtf8("topLayout"));
76  labelAlerts = new QLabel(OverviewPage);
77  labelAlerts->setObjectName(QString::fromUtf8("labelAlerts"));
78  labelAlerts->setVisible(false);
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; }"));
80  labelAlerts->setWordWrap(true);
81  labelAlerts->setMargin(3);
82  labelAlerts->setTextInteractionFlags(Qt::TextSelectableByMouse);
83 
84  topLayout->addWidget(labelAlerts);
85 
86  horizontalLayout = new QHBoxLayout();
87  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
88  verticalLayout_2 = new QVBoxLayout();
89  verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
90  frame = new QFrame(OverviewPage);
91  frame->setObjectName(QString::fromUtf8("frame"));
92  frame->setFrameShape(QFrame::StyledPanel);
93  frame->setFrameShadow(QFrame::Raised);
94  verticalLayout_4 = new QVBoxLayout(frame);
95  verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
96  horizontalLayout_4 = new QHBoxLayout();
97  horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
98  label_5 = new QLabel(frame);
99  label_5->setObjectName(QString::fromUtf8("label_5"));
100  QFont font;
101  font.setBold(true);
102  font.setWeight(75);
103  label_5->setFont(font);
104 
105  horizontalLayout_4->addWidget(label_5);
106 
107  labelWalletStatus = new QPushButton(frame);
108  labelWalletStatus->setObjectName(QString::fromUtf8("labelWalletStatus"));
109  labelWalletStatus->setEnabled(true);
110  labelWalletStatus->setMaximumSize(QSize(45, 16777215));
111  QIcon icon;
112  icon.addFile(QString::fromUtf8(":/icons/warning"), QSize(), QIcon::Normal, QIcon::Off);
113  icon.addFile(QString::fromUtf8(":/icons/warning"), QSize(), QIcon::Disabled, QIcon::Off);
114  labelWalletStatus->setIcon(icon);
115  labelWalletStatus->setIconSize(QSize(24, 24));
116 
118 
119  horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
120 
122 
123 
125 
126  gridLayout = new QGridLayout();
127  gridLayout->setSpacing(12);
128  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
129  labelWatchPending = new QLabel(frame);
130  labelWatchPending->setObjectName(QString::fromUtf8("labelWatchPending"));
131  labelWatchPending->setCursor(QCursor(Qt::IBeamCursor));
132  labelWatchPending->setText(QString::fromUtf8("0.00000000 BTC"));
133  labelWatchPending->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
134  labelWatchPending->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
135 
136  gridLayout->addWidget(labelWatchPending, 2, 2, 1, 1);
137 
138  labelUnconfirmed = new QLabel(frame);
139  labelUnconfirmed->setObjectName(QString::fromUtf8("labelUnconfirmed"));
140  labelUnconfirmed->setCursor(QCursor(Qt::IBeamCursor));
141  labelUnconfirmed->setText(QString::fromUtf8("0.00000000 BTC"));
142  labelUnconfirmed->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
143  labelUnconfirmed->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
144 
145  gridLayout->addWidget(labelUnconfirmed, 2, 1, 1, 1);
146 
147  labelWatchImmature = new QLabel(frame);
148  labelWatchImmature->setObjectName(QString::fromUtf8("labelWatchImmature"));
149  labelWatchImmature->setCursor(QCursor(Qt::IBeamCursor));
150  labelWatchImmature->setText(QString::fromUtf8("0.00000000 BTC"));
151  labelWatchImmature->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
152  labelWatchImmature->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
153 
154  gridLayout->addWidget(labelWatchImmature, 3, 2, 1, 1);
155 
156  line = new QFrame(frame);
157  line->setObjectName(QString::fromUtf8("line"));
158  line->setFrameShape(QFrame::HLine);
159  line->setFrameShadow(QFrame::Sunken);
160 
161  gridLayout->addWidget(line, 4, 0, 1, 2);
162 
163  lineWatchBalance = new QFrame(frame);
164  lineWatchBalance->setObjectName(QString::fromUtf8("lineWatchBalance"));
165  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
166  sizePolicy.setHorizontalStretch(0);
167  sizePolicy.setVerticalStretch(0);
168  sizePolicy.setHeightForWidth(lineWatchBalance->sizePolicy().hasHeightForWidth());
169  lineWatchBalance->setSizePolicy(sizePolicy);
170  lineWatchBalance->setMinimumSize(QSize(140, 0));
171  lineWatchBalance->setFrameShape(QFrame::HLine);
172  lineWatchBalance->setFrameShadow(QFrame::Sunken);
173 
174  gridLayout->addWidget(lineWatchBalance, 4, 2, 1, 1);
175 
176  labelTotalText = new QLabel(frame);
177  labelTotalText->setObjectName(QString::fromUtf8("labelTotalText"));
178 
179  gridLayout->addWidget(labelTotalText, 5, 0, 1, 1);
180 
181  labelImmature = new QLabel(frame);
182  labelImmature->setObjectName(QString::fromUtf8("labelImmature"));
183  labelImmature->setCursor(QCursor(Qt::IBeamCursor));
184  labelImmature->setText(QString::fromUtf8("0.00000000 BTC"));
185  labelImmature->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
186  labelImmature->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
187 
188  gridLayout->addWidget(labelImmature, 3, 1, 1, 1);
189 
190  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
191 
192  gridLayout->addItem(horizontalSpacer_2, 2, 3, 1, 1);
193 
194  labelImmatureText = new QLabel(frame);
195  labelImmatureText->setObjectName(QString::fromUtf8("labelImmatureText"));
196 
197  gridLayout->addWidget(labelImmatureText, 3, 0, 1, 1);
198 
199  labelTotal = new QLabel(frame);
200  labelTotal->setObjectName(QString::fromUtf8("labelTotal"));
201  labelTotal->setCursor(QCursor(Qt::IBeamCursor));
202  labelTotal->setText(QString::fromUtf8("21 000 000.00000000 BTC"));
203  labelTotal->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
204  labelTotal->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
205 
206  gridLayout->addWidget(labelTotal, 5, 1, 1, 1);
207 
208  labelWatchTotal = new QLabel(frame);
209  labelWatchTotal->setObjectName(QString::fromUtf8("labelWatchTotal"));
210  labelWatchTotal->setCursor(QCursor(Qt::IBeamCursor));
211  labelWatchTotal->setText(QString::fromUtf8("21 000 000.00000000 BTC"));
212  labelWatchTotal->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
213  labelWatchTotal->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
214 
215  gridLayout->addWidget(labelWatchTotal, 5, 2, 1, 1);
216 
217  labelWatchonly = new QLabel(frame);
218  labelWatchonly->setObjectName(QString::fromUtf8("labelWatchonly"));
219  labelWatchonly->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
220 
221  gridLayout->addWidget(labelWatchonly, 0, 2, 1, 1);
222 
223  labelBalanceText = new QLabel(frame);
224  labelBalanceText->setObjectName(QString::fromUtf8("labelBalanceText"));
225 
226  gridLayout->addWidget(labelBalanceText, 1, 0, 1, 1);
227 
228  labelBalance = new QLabel(frame);
229  labelBalance->setObjectName(QString::fromUtf8("labelBalance"));
230  labelBalance->setCursor(QCursor(Qt::IBeamCursor));
231  labelBalance->setText(QString::fromUtf8("21 000 000.00000000 BTC"));
232  labelBalance->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
233  labelBalance->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
234 
235  gridLayout->addWidget(labelBalance, 1, 1, 1, 1);
236 
237  labelWatchAvailable = new QLabel(frame);
238  labelWatchAvailable->setObjectName(QString::fromUtf8("labelWatchAvailable"));
239  labelWatchAvailable->setCursor(QCursor(Qt::IBeamCursor));
240  labelWatchAvailable->setText(QString::fromUtf8("21 000 000.00000000 BTC"));
241  labelWatchAvailable->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
242  labelWatchAvailable->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
243 
244  gridLayout->addWidget(labelWatchAvailable, 1, 2, 1, 1);
245 
246  labelPendingText = new QLabel(frame);
247  labelPendingText->setObjectName(QString::fromUtf8("labelPendingText"));
248 
249  gridLayout->addWidget(labelPendingText, 2, 0, 1, 1);
250 
251  labelSpendable = new QLabel(frame);
252  labelSpendable->setObjectName(QString::fromUtf8("labelSpendable"));
253  labelSpendable->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
254 
255  gridLayout->addWidget(labelSpendable, 0, 1, 1, 1);
256 
257 
258  verticalLayout_4->addLayout(gridLayout);
259 
260 
261  verticalLayout_2->addWidget(frame);
262 
263  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
264 
266 
267 
269 
270  verticalLayout_3 = new QVBoxLayout();
271  verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
272  frame_2 = new QFrame(OverviewPage);
273  frame_2->setObjectName(QString::fromUtf8("frame_2"));
274  frame_2->setFrameShape(QFrame::StyledPanel);
275  frame_2->setFrameShadow(QFrame::Raised);
276  verticalLayout = new QVBoxLayout(frame_2);
277  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
278  horizontalLayout_2 = new QHBoxLayout();
279  horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
280  label_4 = new QLabel(frame_2);
281  label_4->setObjectName(QString::fromUtf8("label_4"));
282  label_4->setFont(font);
283 
284  horizontalLayout_2->addWidget(label_4);
285 
286  labelTransactionsStatus = new QPushButton(frame_2);
287  labelTransactionsStatus->setObjectName(QString::fromUtf8("labelTransactionsStatus"));
288  labelTransactionsStatus->setEnabled(true);
289  labelTransactionsStatus->setMaximumSize(QSize(45, 16777215));
290  labelTransactionsStatus->setIcon(icon);
291  labelTransactionsStatus->setIconSize(QSize(24, 24));
292 
294 
295  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
296 
298 
299 
301 
303  listTransactions->setObjectName(QString::fromUtf8("listTransactions"));
304  listTransactions->setStyleSheet(QString::fromUtf8("QListView { background: transparent; }"));
305  listTransactions->setFrameShape(QFrame::NoFrame);
306  listTransactions->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
307  listTransactions->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
308  listTransactions->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
309  listTransactions->setSelectionMode(QAbstractItemView::NoSelection);
310  listTransactions->setUniformItemSizes(true);
311 
312  verticalLayout->addWidget(listTransactions);
313 
314 
315  verticalLayout_3->addWidget(frame_2);
316 
317  verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
318 
320 
321 
323 
324  horizontalLayout->setStretch(0, 1);
325  horizontalLayout->setStretch(1, 1);
326 
327  topLayout->addLayout(horizontalLayout);
328 
329 
331 
332  QMetaObject::connectSlotsByName(OverviewPage);
333  } // setupUi
334 
336  {
337  OverviewPage->setWindowTitle(QCoreApplication::translate("OverviewPage", "Form", nullptr));
338  label_5->setText(QCoreApplication::translate("OverviewPage", "Balances", nullptr));
339 #if QT_CONFIG(tooltip)
340  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));
341 #endif // QT_CONFIG(tooltip)
342  labelWalletStatus->setText(QString());
343 #if QT_CONFIG(tooltip)
344  labelWatchPending->setToolTip(QCoreApplication::translate("OverviewPage", "Unconfirmed transactions to watch-only addresses", nullptr));
345 #endif // QT_CONFIG(tooltip)
346 #if QT_CONFIG(tooltip)
347  labelUnconfirmed->setToolTip(QCoreApplication::translate("OverviewPage", "Total of transactions that have yet to be confirmed, and do not yet count toward the spendable balance", nullptr));
348 #endif // QT_CONFIG(tooltip)
349 #if QT_CONFIG(tooltip)
350  labelWatchImmature->setToolTip(QCoreApplication::translate("OverviewPage", "Mined balance in watch-only addresses that has not yet matured", nullptr));
351 #endif // QT_CONFIG(tooltip)
352  labelTotalText->setText(QCoreApplication::translate("OverviewPage", "Total:", nullptr));
353 #if QT_CONFIG(tooltip)
354  labelImmature->setToolTip(QCoreApplication::translate("OverviewPage", "Mined balance that has not yet matured", nullptr));
355 #endif // QT_CONFIG(tooltip)
356  labelImmatureText->setText(QCoreApplication::translate("OverviewPage", "Immature:", nullptr));
357 #if QT_CONFIG(tooltip)
358  labelTotal->setToolTip(QCoreApplication::translate("OverviewPage", "Your current total balance", nullptr));
359 #endif // QT_CONFIG(tooltip)
360 #if QT_CONFIG(tooltip)
361  labelWatchTotal->setToolTip(QCoreApplication::translate("OverviewPage", "Current total balance in watch-only addresses", nullptr));
362 #endif // QT_CONFIG(tooltip)
363  labelWatchonly->setText(QCoreApplication::translate("OverviewPage", "Watch-only:", nullptr));
364  labelBalanceText->setText(QCoreApplication::translate("OverviewPage", "Available:", nullptr));
365 #if QT_CONFIG(tooltip)
366  labelBalance->setToolTip(QCoreApplication::translate("OverviewPage", "Your current spendable balance", nullptr));
367 #endif // QT_CONFIG(tooltip)
368 #if QT_CONFIG(tooltip)
369  labelWatchAvailable->setToolTip(QCoreApplication::translate("OverviewPage", "Your current balance in watch-only addresses", nullptr));
370 #endif // QT_CONFIG(tooltip)
371  labelPendingText->setText(QCoreApplication::translate("OverviewPage", "Pending:", nullptr));
372  labelSpendable->setText(QCoreApplication::translate("OverviewPage", "Spendable:", nullptr));
373  label_4->setText(QCoreApplication::translate("OverviewPage", "Recent transactions", nullptr));
374 #if QT_CONFIG(tooltip)
375  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));
376 #endif // QT_CONFIG(tooltip)
377  labelTransactionsStatus->setText(QString());
378  } // retranslateUi
379 
380 };
381 
382 namespace Ui {
383  class OverviewPage: public Ui_OverviewPage {};
384 } // namespace Ui
385 
386 QT_END_NAMESPACE
387 
388 #endif // UI_OVERVIEWPAGE_H
QLabel * labelSpendable
QVBoxLayout * verticalLayout_4
QLabel * labelUnconfirmed
TransactionOverviewWidget * listTransactions
QLabel * labelImmature
QSpacerItem * verticalSpacer_2
QFrame * lineWatchBalance
void retranslateUi(QWidget *OverviewPage)
QVBoxLayout * verticalLayout_3
QHBoxLayout * horizontalLayout
QSpacerItem * horizontalSpacer_3
QLabel * labelAlerts
QVBoxLayout * verticalLayout_2
QLabel * labelBalanceText
QLabel * labelWatchPending
QVBoxLayout * topLayout
QHBoxLayout * horizontalLayout_4
QSpacerItem * verticalSpacer
QVBoxLayout * verticalLayout
QLabel * labelWatchTotal
QLabel * labelImmatureText
QGridLayout * gridLayout
QLabel * labelPendingText
QLabel * labelWatchAvailable
QHBoxLayout * horizontalLayout_2
QLabel * labelWatchImmature
QLabel * labelTotalText
QPushButton * labelWalletStatus
QSpacerItem * horizontalSpacer
QSpacerItem * horizontalSpacer_2
Overview ("home") page widget.
Definition: overviewpage.h:28
QLabel * labelWatchonly
void setupUi(QWidget *OverviewPage)
QPushButton * labelTransactionsStatus
QLabel * labelBalance