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