Anoncoin  0.9.4
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.2.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/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  QTableView *tableView;
33  QHBoxLayout *horizontalLayout;
34  QPushButton *newAddress;
35  QPushButton *copyAddress;
36  QPushButton *deleteAddress;
37  QSpacerItem *horizontalSpacer;
38  QPushButton *exportButton;
39  QPushButton *closeButton;
40 
41  void setupUi(QWidget *AddressBookPage)
42  {
43  if (AddressBookPage->objectName().isEmpty())
44  AddressBookPage->setObjectName(QStringLiteral("AddressBookPage"));
45  AddressBookPage->resize(760, 380);
46  verticalLayout = new QVBoxLayout(AddressBookPage);
47  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
48  labelExplanation = new QLabel(AddressBookPage);
49  labelExplanation->setObjectName(QStringLiteral("labelExplanation"));
50  labelExplanation->setTextFormat(Qt::PlainText);
51  labelExplanation->setWordWrap(true);
52 
53  verticalLayout->addWidget(labelExplanation);
54 
55  tableView = new QTableView(AddressBookPage);
56  tableView->setObjectName(QStringLiteral("tableView"));
57  tableView->setContextMenuPolicy(Qt::CustomContextMenu);
58  tableView->setTabKeyNavigation(false);
59  tableView->setAlternatingRowColors(true);
60  tableView->setSelectionMode(QAbstractItemView::SingleSelection);
61  tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
62  tableView->setSortingEnabled(true);
63  tableView->verticalHeader()->setVisible(false);
64 
65  verticalLayout->addWidget(tableView);
66 
67  horizontalLayout = new QHBoxLayout();
68  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
69  newAddress = new QPushButton(AddressBookPage);
70  newAddress->setObjectName(QStringLiteral("newAddress"));
71  QIcon icon;
72  icon.addFile(QStringLiteral(":/icons/add"), QSize(), QIcon::Normal, QIcon::Off);
73  newAddress->setIcon(icon);
74 
75  horizontalLayout->addWidget(newAddress);
76 
77  copyAddress = new QPushButton(AddressBookPage);
78  copyAddress->setObjectName(QStringLiteral("copyAddress"));
79  QIcon icon1;
80  icon1.addFile(QStringLiteral(":/icons/editcopy"), QSize(), QIcon::Normal, QIcon::Off);
81  copyAddress->setIcon(icon1);
82 
83  horizontalLayout->addWidget(copyAddress);
84 
85  deleteAddress = new QPushButton(AddressBookPage);
86  deleteAddress->setObjectName(QStringLiteral("deleteAddress"));
87  QIcon icon2;
88  icon2.addFile(QStringLiteral(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
89  deleteAddress->setIcon(icon2);
90 
91  horizontalLayout->addWidget(deleteAddress);
92 
93  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
94 
95  horizontalLayout->addItem(horizontalSpacer);
96 
97  exportButton = new QPushButton(AddressBookPage);
98  exportButton->setObjectName(QStringLiteral("exportButton"));
99  QIcon icon3;
100  icon3.addFile(QStringLiteral(":/icons/export"), QSize(), QIcon::Normal, QIcon::Off);
101  exportButton->setIcon(icon3);
102 
103  horizontalLayout->addWidget(exportButton);
104 
105  closeButton = new QPushButton(AddressBookPage);
106  closeButton->setObjectName(QStringLiteral("closeButton"));
107  QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
108  sizePolicy.setHorizontalStretch(0);
109  sizePolicy.setVerticalStretch(0);
110  sizePolicy.setHeightForWidth(closeButton->sizePolicy().hasHeightForWidth());
111  closeButton->setSizePolicy(sizePolicy);
112 
113  horizontalLayout->addWidget(closeButton);
114 
115 
116  verticalLayout->addLayout(horizontalLayout);
117 
118 
119  retranslateUi(AddressBookPage);
120 
121  QMetaObject::connectSlotsByName(AddressBookPage);
122  } // setupUi
123 
125  {
126 #ifndef QT_NO_TOOLTIP
127  tableView->setToolTip(QApplication::translate("AddressBookPage", "Double-click to edit address or label", 0));
128 #endif // QT_NO_TOOLTIP
129 #ifndef QT_NO_TOOLTIP
130  newAddress->setToolTip(QApplication::translate("AddressBookPage", "Create a new address", 0));
131 #endif // QT_NO_TOOLTIP
132  newAddress->setText(QApplication::translate("AddressBookPage", "&New", 0));
133 #ifndef QT_NO_TOOLTIP
134  copyAddress->setToolTip(QApplication::translate("AddressBookPage", "Copy the currently selected address to the system clipboard", 0));
135 #endif // QT_NO_TOOLTIP
136  copyAddress->setText(QApplication::translate("AddressBookPage", "&Copy", 0));
137 #ifndef QT_NO_TOOLTIP
138  deleteAddress->setToolTip(QApplication::translate("AddressBookPage", "Delete the currently selected address from the list", 0));
139 #endif // QT_NO_TOOLTIP
140  deleteAddress->setText(QApplication::translate("AddressBookPage", "&Delete", 0));
141 #ifndef QT_NO_TOOLTIP
142  exportButton->setToolTip(QApplication::translate("AddressBookPage", "Export the data in the current tab to a file", 0));
143 #endif // QT_NO_TOOLTIP
144  exportButton->setText(QApplication::translate("AddressBookPage", "&Export", 0));
145  closeButton->setText(QApplication::translate("AddressBookPage", "C&lose", 0));
146  Q_UNUSED(AddressBookPage);
147  } // retranslateUi
148 
149 };
150 
151 namespace Ui {
153 } // namespace Ui
154 
155 QT_END_NAMESPACE
156 
157 #endif // UI_ADDRESSBOOKPAGE_H
QPushButton * newAddress
void retranslateUi(QWidget *AddressBookPage)
QPushButton * copyAddress
QSpacerItem * horizontalSpacer
QHBoxLayout * horizontalLayout
QVBoxLayout * verticalLayout
QPushButton * closeButton
void setupUi(QWidget *AddressBookPage)
QPushButton * deleteAddress
Widget that shows a list of sending or receiving addresses.
QPushButton * exportButton