Bitcoin Core  0.21.1
P2P Digital Currency
ui_addressbookpage.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'addressbookpage.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_ADDRESSBOOKPAGE_H
10 #define UI_ADDRESSBOOKPAGE_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QHBoxLayout>
17 #include <QtWidgets/QHeaderView>
18 #include <QtWidgets/QLabel>
19 #include <QtWidgets/QLineEdit>
20 #include <QtWidgets/QPushButton>
21 #include <QtWidgets/QSpacerItem>
22 #include <QtWidgets/QTableView>
23 #include <QtWidgets/QVBoxLayout>
24 #include <QtWidgets/QWidget>
25 
26 QT_BEGIN_NAMESPACE
27 
29 {
30 public:
31  QVBoxLayout *verticalLayout;
33  QLineEdit *searchLineEdit;
34  QTableView *tableView;
35  QHBoxLayout *horizontalLayout;
36  QPushButton *newAddress;
37  QPushButton *copyAddress;
38  QPushButton *deleteAddress;
39  QSpacerItem *horizontalSpacer;
40  QPushButton *exportButton;
41  QPushButton *closeButton;
42 
43  void setupUi(QWidget *AddressBookPage)
44  {
45  if (AddressBookPage->objectName().isEmpty())
46  AddressBookPage->setObjectName(QStringLiteral("AddressBookPage"));
47  AddressBookPage->resize(760, 380);
48  verticalLayout = new QVBoxLayout(AddressBookPage);
49  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
50  labelExplanation = new QLabel(AddressBookPage);
51  labelExplanation->setObjectName(QStringLiteral("labelExplanation"));
52  labelExplanation->setTextFormat(Qt::PlainText);
53  labelExplanation->setWordWrap(true);
54 
55  verticalLayout->addWidget(labelExplanation);
56 
57  searchLineEdit = new QLineEdit(AddressBookPage);
58  searchLineEdit->setObjectName(QStringLiteral("searchLineEdit"));
59 
60  verticalLayout->addWidget(searchLineEdit);
61 
62  tableView = new QTableView(AddressBookPage);
63  tableView->setObjectName(QStringLiteral("tableView"));
64  tableView->setContextMenuPolicy(Qt::CustomContextMenu);
65  tableView->setTabKeyNavigation(false);
66  tableView->setAlternatingRowColors(true);
67  tableView->setSelectionMode(QAbstractItemView::SingleSelection);
68  tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
69  tableView->setSortingEnabled(true);
70  tableView->verticalHeader()->setVisible(false);
71 
72  verticalLayout->addWidget(tableView);
73 
74  horizontalLayout = new QHBoxLayout();
75  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
76  newAddress = new QPushButton(AddressBookPage);
77  newAddress->setObjectName(QStringLiteral("newAddress"));
78  QIcon icon;
79  icon.addFile(QStringLiteral(":/icons/add"), QSize(), QIcon::Normal, QIcon::Off);
80  newAddress->setIcon(icon);
81  newAddress->setAutoDefault(false);
82 
83  horizontalLayout->addWidget(newAddress);
84 
85  copyAddress = new QPushButton(AddressBookPage);
86  copyAddress->setObjectName(QStringLiteral("copyAddress"));
87  QIcon icon1;
88  icon1.addFile(QStringLiteral(":/icons/editcopy"), QSize(), QIcon::Normal, QIcon::Off);
89  copyAddress->setIcon(icon1);
90  copyAddress->setAutoDefault(false);
91 
92  horizontalLayout->addWidget(copyAddress);
93 
94  deleteAddress = new QPushButton(AddressBookPage);
95  deleteAddress->setObjectName(QStringLiteral("deleteAddress"));
96  QIcon icon2;
97  icon2.addFile(QStringLiteral(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
98  deleteAddress->setIcon(icon2);
99  deleteAddress->setAutoDefault(false);
100 
101  horizontalLayout->addWidget(deleteAddress);
102 
103  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
104 
105  horizontalLayout->addItem(horizontalSpacer);
106 
107  exportButton = new QPushButton(AddressBookPage);
108  exportButton->setObjectName(QStringLiteral("exportButton"));
109  QIcon icon3;
110  icon3.addFile(QStringLiteral(":/icons/export"), QSize(), QIcon::Normal, QIcon::Off);
111  exportButton->setIcon(icon3);
112  exportButton->setAutoDefault(false);
113 
114  horizontalLayout->addWidget(exportButton);
115 
116  closeButton = new QPushButton(AddressBookPage);
117  closeButton->setObjectName(QStringLiteral("closeButton"));
118  QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
119  sizePolicy.setHorizontalStretch(0);
120  sizePolicy.setVerticalStretch(0);
121  sizePolicy.setHeightForWidth(closeButton->sizePolicy().hasHeightForWidth());
122  closeButton->setSizePolicy(sizePolicy);
123  closeButton->setAutoDefault(false);
124 
125  horizontalLayout->addWidget(closeButton);
126 
127 
128  verticalLayout->addLayout(horizontalLayout);
129 
130 
131  retranslateUi(AddressBookPage);
132 
133  QMetaObject::connectSlotsByName(AddressBookPage);
134  } // setupUi
135 
137  {
138  searchLineEdit->setPlaceholderText(QApplication::translate("AddressBookPage", "Enter address or label to search", 0));
139 #ifndef QT_NO_TOOLTIP
140  tableView->setToolTip(QApplication::translate("AddressBookPage", "Right-click to edit address or label", 0));
141 #endif // QT_NO_TOOLTIP
142 #ifndef QT_NO_TOOLTIP
143  newAddress->setToolTip(QApplication::translate("AddressBookPage", "Create a new address", 0));
144 #endif // QT_NO_TOOLTIP
145  newAddress->setText(QApplication::translate("AddressBookPage", "&New", 0));
146 #ifndef QT_NO_TOOLTIP
147  copyAddress->setToolTip(QApplication::translate("AddressBookPage", "Copy the currently selected address to the system clipboard", 0));
148 #endif // QT_NO_TOOLTIP
149  copyAddress->setText(QApplication::translate("AddressBookPage", "&Copy", 0));
150 #ifndef QT_NO_TOOLTIP
151  deleteAddress->setToolTip(QApplication::translate("AddressBookPage", "Delete the currently selected address from the list", 0));
152 #endif // QT_NO_TOOLTIP
153  deleteAddress->setText(QApplication::translate("AddressBookPage", "&Delete", 0));
154 #ifndef QT_NO_TOOLTIP
155  exportButton->setToolTip(QApplication::translate("AddressBookPage", "Export the data in the current tab to a file", 0));
156 #endif // QT_NO_TOOLTIP
157  exportButton->setText(QApplication::translate("AddressBookPage", "&Export", 0));
158  closeButton->setText(QApplication::translate("AddressBookPage", "C&lose", 0));
159  Q_UNUSED(AddressBookPage);
160  } // retranslateUi
161 
162 };
163 
164 namespace Ui {
166 } // namespace Ui
167 
168 QT_END_NAMESPACE
169 
170 #endif // UI_ADDRESSBOOKPAGE_H
QPushButton * newAddress
void retranslateUi(QWidget *AddressBookPage)
QPushButton * copyAddress
QSpacerItem * horizontalSpacer
QHBoxLayout * horizontalLayout
QVBoxLayout * verticalLayout
QPushButton * closeButton
QLineEdit * searchLineEdit
void setupUi(QWidget *AddressBookPage)
QPushButton * deleteAddress
Widget that shows a list of sending or receiving addresses.
QPushButton * exportButton