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