Bitcoin Core  0.21.1
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.6.1
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 <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>
26 
27 QT_BEGIN_NAMESPACE
28 
30 {
31 public:
32  QVBoxLayout *topLayout;
33  QLabel *labelAlerts;
34  QHBoxLayout *horizontalLayout;
35  QVBoxLayout *verticalLayout_2;
36  QFrame *frame;
37  QVBoxLayout *verticalLayout_4;
38  QHBoxLayout *horizontalLayout_4;
39  QLabel *label_5;
40  QPushButton *labelWalletStatus;
41  QSpacerItem *horizontalSpacer_3;
42  QGridLayout *gridLayout;
46  QFrame *line;
48  QLabel *labelTotalText;
49  QLabel *labelImmature;
50  QSpacerItem *horizontalSpacer_2;
52  QLabel *labelTotal;
53  QLabel *labelWatchTotal;
54  QLabel *labelWatchonly;
56  QLabel *labelBalance;
59  QLabel *labelSpendable;
60  QSpacerItem *verticalSpacer;
61  QVBoxLayout *verticalLayout_3;
62  QFrame *frame_2;
63  QVBoxLayout *verticalLayout;
64  QHBoxLayout *horizontalLayout_2;
65  QLabel *label_4;
67  QSpacerItem *horizontalSpacer;
69  QSpacerItem *verticalSpacer_2;
70 
71  void setupUi(QWidget *OverviewPage)
72  {
73  if (OverviewPage->objectName().isEmpty())
74  OverviewPage->setObjectName(QStringLiteral("OverviewPage"));
75  OverviewPage->resize(798, 318);
76  topLayout = new QVBoxLayout(OverviewPage);
77  topLayout->setObjectName(QStringLiteral("topLayout"));
78  labelAlerts = new QLabel(OverviewPage);
79  labelAlerts->setObjectName(QStringLiteral("labelAlerts"));
80  labelAlerts->setVisible(false);
81  labelAlerts->setStyleSheet(QStringLiteral("QLabel { background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop:0 #F0D0A0, stop:1 #F8D488); color:#000000; }"));
82  labelAlerts->setWordWrap(true);
83  labelAlerts->setMargin(3);
84  labelAlerts->setTextInteractionFlags(Qt::TextSelectableByMouse);
85 
86  topLayout->addWidget(labelAlerts);
87 
88  horizontalLayout = new QHBoxLayout();
89  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
90  verticalLayout_2 = new QVBoxLayout();
91  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
92  frame = new QFrame(OverviewPage);
93  frame->setObjectName(QStringLiteral("frame"));
94  frame->setFrameShape(QFrame::StyledPanel);
95  frame->setFrameShadow(QFrame::Raised);
96  verticalLayout_4 = new QVBoxLayout(frame);
97  verticalLayout_4->setObjectName(QStringLiteral("verticalLayout_4"));
98  horizontalLayout_4 = new QHBoxLayout();
99  horizontalLayout_4->setObjectName(QStringLiteral("horizontalLayout_4"));
100  label_5 = new QLabel(frame);
101  label_5->setObjectName(QStringLiteral("label_5"));
102  QFont font;
103  font.setBold(true);
104  font.setWeight(75);
105  label_5->setFont(font);
106 
107  horizontalLayout_4->addWidget(label_5);
108 
109  labelWalletStatus = new QPushButton(frame);
110  labelWalletStatus->setObjectName(QStringLiteral("labelWalletStatus"));
111  labelWalletStatus->setEnabled(true);
112  labelWalletStatus->setMaximumSize(QSize(30, 16777215));
113  QIcon icon;
114  icon.addFile(QStringLiteral(":/icons/warning"), QSize(), QIcon::Normal, QIcon::Off);
115  icon.addFile(QStringLiteral(":/icons/warning"), QSize(), QIcon::Disabled, QIcon::Off);
116  labelWalletStatus->setIcon(icon);
117  labelWalletStatus->setIconSize(QSize(24, 24));
118  labelWalletStatus->setFlat(true);
119 
120  horizontalLayout_4->addWidget(labelWalletStatus);
121 
122  horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
123 
124  horizontalLayout_4->addItem(horizontalSpacer_3);
125 
126 
127  verticalLayout_4->addLayout(horizontalLayout_4);
128 
129  gridLayout = new QGridLayout();
130  gridLayout->setSpacing(12);
131  gridLayout->setObjectName(QStringLiteral("gridLayout"));
132  labelWatchPending = new QLabel(frame);
133  labelWatchPending->setObjectName(QStringLiteral("labelWatchPending"));
134  QFont font1;
135  font1.setFamily(QStringLiteral("Monospace"));
136  font1.setBold(true);
137  font1.setWeight(75);
138  labelWatchPending->setFont(font1);
139  labelWatchPending->setCursor(QCursor(Qt::IBeamCursor));
140  labelWatchPending->setText(QStringLiteral("0.00000000 BTC"));
141  labelWatchPending->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
142  labelWatchPending->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
143 
144  gridLayout->addWidget(labelWatchPending, 2, 2, 1, 1);
145 
146  labelUnconfirmed = new QLabel(frame);
147  labelUnconfirmed->setObjectName(QStringLiteral("labelUnconfirmed"));
148  labelUnconfirmed->setFont(font1);
149  labelUnconfirmed->setCursor(QCursor(Qt::IBeamCursor));
150  labelUnconfirmed->setText(QStringLiteral("0.00000000 BTC"));
151  labelUnconfirmed->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
152  labelUnconfirmed->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
153 
154  gridLayout->addWidget(labelUnconfirmed, 2, 1, 1, 1);
155 
156  labelWatchImmature = new QLabel(frame);
157  labelWatchImmature->setObjectName(QStringLiteral("labelWatchImmature"));
158  labelWatchImmature->setFont(font1);
159  labelWatchImmature->setCursor(QCursor(Qt::IBeamCursor));
160  labelWatchImmature->setText(QStringLiteral("0.00000000 BTC"));
161  labelWatchImmature->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
162  labelWatchImmature->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
163 
164  gridLayout->addWidget(labelWatchImmature, 3, 2, 1, 1);
165 
166  line = new QFrame(frame);
167  line->setObjectName(QStringLiteral("line"));
168  line->setFrameShape(QFrame::HLine);
169  line->setFrameShadow(QFrame::Sunken);
170 
171  gridLayout->addWidget(line, 4, 0, 1, 2);
172 
173  lineWatchBalance = new QFrame(frame);
174  lineWatchBalance->setObjectName(QStringLiteral("lineWatchBalance"));
175  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
176  sizePolicy.setHorizontalStretch(0);
177  sizePolicy.setVerticalStretch(0);
178  sizePolicy.setHeightForWidth(lineWatchBalance->sizePolicy().hasHeightForWidth());
179  lineWatchBalance->setSizePolicy(sizePolicy);
180  lineWatchBalance->setMinimumSize(QSize(140, 0));
181  lineWatchBalance->setFrameShape(QFrame::HLine);
182  lineWatchBalance->setFrameShadow(QFrame::Sunken);
183 
184  gridLayout->addWidget(lineWatchBalance, 4, 2, 1, 1);
185 
186  labelTotalText = new QLabel(frame);
187  labelTotalText->setObjectName(QStringLiteral("labelTotalText"));
188 
189  gridLayout->addWidget(labelTotalText, 5, 0, 1, 1);
190 
191  labelImmature = new QLabel(frame);
192  labelImmature->setObjectName(QStringLiteral("labelImmature"));
193  labelImmature->setFont(font1);
194  labelImmature->setCursor(QCursor(Qt::IBeamCursor));
195  labelImmature->setText(QStringLiteral("0.00000000 BTC"));
196  labelImmature->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
197  labelImmature->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
198 
199  gridLayout->addWidget(labelImmature, 3, 1, 1, 1);
200 
201  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
202 
203  gridLayout->addItem(horizontalSpacer_2, 2, 3, 1, 1);
204 
205  labelImmatureText = new QLabel(frame);
206  labelImmatureText->setObjectName(QStringLiteral("labelImmatureText"));
207 
208  gridLayout->addWidget(labelImmatureText, 3, 0, 1, 1);
209 
210  labelTotal = new QLabel(frame);
211  labelTotal->setObjectName(QStringLiteral("labelTotal"));
212  labelTotal->setFont(font1);
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);
217 
218  gridLayout->addWidget(labelTotal, 5, 1, 1, 1);
219 
220  labelWatchTotal = new QLabel(frame);
221  labelWatchTotal->setObjectName(QStringLiteral("labelWatchTotal"));
222  labelWatchTotal->setFont(font1);
223  labelWatchTotal->setCursor(QCursor(Qt::IBeamCursor));
224  labelWatchTotal->setText(QStringLiteral("21 000 000.00000000 BTC"));
225  labelWatchTotal->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
226  labelWatchTotal->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
227 
228  gridLayout->addWidget(labelWatchTotal, 5, 2, 1, 1);
229 
230  labelWatchonly = new QLabel(frame);
231  labelWatchonly->setObjectName(QStringLiteral("labelWatchonly"));
232  labelWatchonly->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
233 
234  gridLayout->addWidget(labelWatchonly, 0, 2, 1, 1);
235 
236  labelBalanceText = new QLabel(frame);
237  labelBalanceText->setObjectName(QStringLiteral("labelBalanceText"));
238 
239  gridLayout->addWidget(labelBalanceText, 1, 0, 1, 1);
240 
241  labelBalance = new QLabel(frame);
242  labelBalance->setObjectName(QStringLiteral("labelBalance"));
243  labelBalance->setFont(font1);
244  labelBalance->setCursor(QCursor(Qt::IBeamCursor));
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);
248 
249  gridLayout->addWidget(labelBalance, 1, 1, 1, 1);
250 
251  labelWatchAvailable = new QLabel(frame);
252  labelWatchAvailable->setObjectName(QStringLiteral("labelWatchAvailable"));
253  labelWatchAvailable->setFont(font1);
254  labelWatchAvailable->setCursor(QCursor(Qt::IBeamCursor));
255  labelWatchAvailable->setText(QStringLiteral("21 000 000.00000000 BTC"));
256  labelWatchAvailable->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
257  labelWatchAvailable->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
258 
259  gridLayout->addWidget(labelWatchAvailable, 1, 2, 1, 1);
260 
261  labelPendingText = new QLabel(frame);
262  labelPendingText->setObjectName(QStringLiteral("labelPendingText"));
263 
264  gridLayout->addWidget(labelPendingText, 2, 0, 1, 1);
265 
266  labelSpendable = new QLabel(frame);
267  labelSpendable->setObjectName(QStringLiteral("labelSpendable"));
268  labelSpendable->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
269 
270  gridLayout->addWidget(labelSpendable, 0, 1, 1, 1);
271 
272 
273  verticalLayout_4->addLayout(gridLayout);
274 
275 
276  verticalLayout_2->addWidget(frame);
277 
278  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
279 
280  verticalLayout_2->addItem(verticalSpacer);
281 
282 
283  horizontalLayout->addLayout(verticalLayout_2);
284 
285  verticalLayout_3 = new QVBoxLayout();
286  verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
287  frame_2 = new QFrame(OverviewPage);
288  frame_2->setObjectName(QStringLiteral("frame_2"));
289  frame_2->setFrameShape(QFrame::StyledPanel);
290  frame_2->setFrameShadow(QFrame::Raised);
291  verticalLayout = new QVBoxLayout(frame_2);
292  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
293  horizontalLayout_2 = new QHBoxLayout();
294  horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
295  label_4 = new QLabel(frame_2);
296  label_4->setObjectName(QStringLiteral("label_4"));
297  label_4->setFont(font);
298 
299  horizontalLayout_2->addWidget(label_4);
300 
301  labelTransactionsStatus = new QPushButton(frame_2);
302  labelTransactionsStatus->setObjectName(QStringLiteral("labelTransactionsStatus"));
303  labelTransactionsStatus->setEnabled(true);
304  labelTransactionsStatus->setMaximumSize(QSize(30, 16777215));
305  labelTransactionsStatus->setIcon(icon);
306  labelTransactionsStatus->setIconSize(QSize(24, 24));
307  labelTransactionsStatus->setFlat(true);
308 
309  horizontalLayout_2->addWidget(labelTransactionsStatus);
310 
311  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
312 
313  horizontalLayout_2->addItem(horizontalSpacer);
314 
315 
316  verticalLayout->addLayout(horizontalLayout_2);
317 
318  listTransactions = new TransactionOverviewWidget(frame_2);
319  listTransactions->setObjectName(QStringLiteral("listTransactions"));
320  listTransactions->setStyleSheet(QStringLiteral("QListView { background: transparent; }"));
321  listTransactions->setFrameShape(QFrame::NoFrame);
322  listTransactions->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
323  listTransactions->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
324  listTransactions->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
325  listTransactions->setSelectionMode(QAbstractItemView::NoSelection);
326  listTransactions->setUniformItemSizes(true);
327 
328  verticalLayout->addWidget(listTransactions);
329 
330 
331  verticalLayout_3->addWidget(frame_2);
332 
333  verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
334 
335  verticalLayout_3->addItem(verticalSpacer_2);
336 
337 
338  horizontalLayout->addLayout(verticalLayout_3);
339 
340  horizontalLayout->setStretch(0, 1);
341  horizontalLayout->setStretch(1, 1);
342 
343  topLayout->addLayout(horizontalLayout);
344 
345 
346  retranslateUi(OverviewPage);
347 
348  QMetaObject::connectSlotsByName(OverviewPage);
349  } // setupUi
350 
352  {
353  OverviewPage->setWindowTitle(QApplication::translate("OverviewPage", "Form", 0));
354  label_5->setText(QApplication::translate("OverviewPage", "Balances", 0));
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.", 0));
357 #endif // QT_NO_TOOLTIP
358  labelWalletStatus->setText(QString());
359 #ifndef QT_NO_TOOLTIP
360  labelWatchPending->setToolTip(QApplication::translate("OverviewPage", "Unconfirmed transactions to watch-only addresses", 0));
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", 0));
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", 0));
367 #endif // QT_NO_TOOLTIP
368  labelTotalText->setText(QApplication::translate("OverviewPage", "Total:", 0));
369 #ifndef QT_NO_TOOLTIP
370  labelImmature->setToolTip(QApplication::translate("OverviewPage", "Mined balance that has not yet matured", 0));
371 #endif // QT_NO_TOOLTIP
372  labelImmatureText->setText(QApplication::translate("OverviewPage", "Immature:", 0));
373 #ifndef QT_NO_TOOLTIP
374  labelTotal->setToolTip(QApplication::translate("OverviewPage", "Your current total balance", 0));
375 #endif // QT_NO_TOOLTIP
376 #ifndef QT_NO_TOOLTIP
377  labelWatchTotal->setToolTip(QApplication::translate("OverviewPage", "Current total balance in watch-only addresses", 0));
378 #endif // QT_NO_TOOLTIP
379  labelWatchonly->setText(QApplication::translate("OverviewPage", "Watch-only:", 0));
380  labelBalanceText->setText(QApplication::translate("OverviewPage", "Available:", 0));
381 #ifndef QT_NO_TOOLTIP
382  labelBalance->setToolTip(QApplication::translate("OverviewPage", "Your current spendable balance", 0));
383 #endif // QT_NO_TOOLTIP
384 #ifndef QT_NO_TOOLTIP
385  labelWatchAvailable->setToolTip(QApplication::translate("OverviewPage", "Your current balance in watch-only addresses", 0));
386 #endif // QT_NO_TOOLTIP
387  labelPendingText->setText(QApplication::translate("OverviewPage", "Pending:", 0));
388  labelSpendable->setText(QApplication::translate("OverviewPage", "Spendable:", 0));
389  label_4->setText(QApplication::translate("OverviewPage", "Recent transactions", 0));
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.", 0));
392 #endif // QT_NO_TOOLTIP
393  labelTransactionsStatus->setText(QString());
394  } // retranslateUi
395 
396 };
397 
398 namespace Ui {
399  class OverviewPage: public Ui_OverviewPage {};
400 } // namespace Ui
401 
402 QT_END_NAMESPACE
403 
404 #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