source: SMSSender/ui_vcaddressbook.h @ 43:10dd65d71f7f

3.0
Last change on this file since 43:10dd65d71f7f was 43:10dd65d71f7f, checked in by Sämy Zehnder <saemy.zehnder@…>, 12 years ago
  • Did a lot of work...
File size: 12.5 KB
Line 
1/********************************************************************************
2** Form generated from reading ui file 'vcaddressbook.ui'
3**
4** Created: Tue Jan 26 20:40:59 2010
5**      by: Qt User Interface Compiler version 4.5.2
6**
7** WARNING! All changes made in this file will be lost when recompiling ui file!
8********************************************************************************/
9
10#ifndef UI_VCADDRESSBOOK_H
11#define UI_VCADDRESSBOOK_H
12
13#include <QtCore/QVariant>
14#include <QtGui/QAction>
15#include <QtGui/QApplication>
16#include <QtGui/QButtonGroup>
17#include <QtGui/QDialog>
18#include <QtGui/QGridLayout>
19#include <QtGui/QHeaderView>
20#include <QtGui/QLineEdit>
21#include <QtGui/QPushButton>
22#include <QtGui/QSpacerItem>
23#include <QtGui/QTabWidget>
24#include <QtGui/QTableWidget>
25#include <QtGui/QWidget>
26
27QT_BEGIN_NAMESPACE
28
29class Ui_VCAddressBookClass
30{
31public:
32    QGridLayout *gridLayout_2;
33    QSpacerItem *horizontalSpacer_13;
34    QPushButton *btnClose;
35    QSpacerItem *verticalSpacer;
36    QTabWidget *tabWidget;
37    QWidget *tab_contacts;
38    QGridLayout *gridLayout;
39    QPushButton *btnAddContact;
40    QPushButton *btnRemoveContact;
41    QSpacerItem *horizontalSpacer;
42    QLineEdit *edtContactFilter;
43    QTableWidget *tblContacts;
44    QWidget *tab_contactGroups;
45    QGridLayout *gridLayout_3;
46    QPushButton *btnAddGroup;
47    QPushButton *btnRemoveGroup;
48    QSpacerItem *horizontalSpacer_2;
49    QLineEdit *edtGroupFilter;
50    QTableWidget *tblGroups;
51
52    void setupUi(QDialog *VCAddressBookClass)
53    {
54        if (VCAddressBookClass->objectName().isEmpty())
55            VCAddressBookClass->setObjectName(QString::fromUtf8("VCAddressBookClass"));
56        VCAddressBookClass->setWindowModality(Qt::ApplicationModal);
57        VCAddressBookClass->resize(614, 400);
58        VCAddressBookClass->setModal(true);
59        gridLayout_2 = new QGridLayout(VCAddressBookClass);
60        gridLayout_2->setSpacing(6);
61        gridLayout_2->setMargin(11);
62        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
63        horizontalSpacer_13 = new QSpacerItem(495, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
64
65        gridLayout_2->addItem(horizontalSpacer_13, 2, 0, 1, 1);
66
67        btnClose = new QPushButton(VCAddressBookClass);
68        btnClose->setObjectName(QString::fromUtf8("btnClose"));
69        btnClose->setMinimumSize(QSize(92, 0));
70        QIcon icon;
71        icon.addFile(QString::fromUtf8(":/ico/close_cancel.png"), QSize(), QIcon::Normal, QIcon::Off);
72        btnClose->setIcon(icon);
73
74        gridLayout_2->addWidget(btnClose, 2, 1, 1, 1);
75
76        verticalSpacer = new QSpacerItem(20, 3, QSizePolicy::Minimum, QSizePolicy::Fixed);
77
78        gridLayout_2->addItem(verticalSpacer, 1, 1, 1, 1);
79
80        tabWidget = new QTabWidget(VCAddressBookClass);
81        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
82        tab_contacts = new QWidget();
83        tab_contacts->setObjectName(QString::fromUtf8("tab_contacts"));
84        gridLayout = new QGridLayout(tab_contacts);
85        gridLayout->setSpacing(6);
86        gridLayout->setMargin(11);
87        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
88        btnAddContact = new QPushButton(tab_contacts);
89        btnAddContact->setObjectName(QString::fromUtf8("btnAddContact"));
90        btnAddContact->setMinimumSize(QSize(34, 34));
91        btnAddContact->setMaximumSize(QSize(34, 34));
92        QIcon icon1;
93        icon1.addFile(QString::fromUtf8(":/ico/add.png"), QSize(), QIcon::Normal, QIcon::Off);
94        btnAddContact->setIcon(icon1);
95
96        gridLayout->addWidget(btnAddContact, 0, 0, 1, 1);
97
98        btnRemoveContact = new QPushButton(tab_contacts);
99        btnRemoveContact->setObjectName(QString::fromUtf8("btnRemoveContact"));
100        btnRemoveContact->setMinimumSize(QSize(34, 34));
101        btnRemoveContact->setMaximumSize(QSize(34, 34));
102        QIcon icon2;
103        icon2.addFile(QString::fromUtf8(":/ico/remove.png"), QSize(), QIcon::Normal, QIcon::Off);
104        btnRemoveContact->setIcon(icon2);
105
106        gridLayout->addWidget(btnRemoveContact, 0, 1, 1, 1);
107
108        horizontalSpacer = new QSpacerItem(328, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
109
110        gridLayout->addItem(horizontalSpacer, 0, 2, 1, 1);
111
112        edtContactFilter = new QLineEdit(tab_contacts);
113        edtContactFilter->setObjectName(QString::fromUtf8("edtContactFilter"));
114        edtContactFilter->setMinimumSize(QSize(141, 26));
115        edtContactFilter->setMaximumSize(QSize(16777215, 26));
116
117        gridLayout->addWidget(edtContactFilter, 0, 3, 1, 1);
118
119        tblContacts = new QTableWidget(tab_contacts);
120        if (tblContacts->columnCount() < 3)
121            tblContacts->setColumnCount(3);
122        QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
123        __qtablewidgetitem->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter|Qt::AlignCenter);
124        tblContacts->setHorizontalHeaderItem(0, __qtablewidgetitem);
125        QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
126        __qtablewidgetitem1->setTextAlignment(Qt::AlignLeft|Qt::AlignVCenter);
127        tblContacts->setHorizontalHeaderItem(1, __qtablewidgetitem1);
128        QTableWidgetItem *__qtablewidgetitem2 = new QTableWidgetItem();
129        __qtablewidgetitem2->setTextAlignment(Qt::AlignLeft|Qt::AlignVCenter);
130        tblContacts->setHorizontalHeaderItem(2, __qtablewidgetitem2);
131        tblContacts->setObjectName(QString::fromUtf8("tblContacts"));
132        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
133        sizePolicy.setHorizontalStretch(0);
134        sizePolicy.setVerticalStretch(0);
135        sizePolicy.setHeightForWidth(tblContacts->sizePolicy().hasHeightForWidth());
136        tblContacts->setSizePolicy(sizePolicy);
137        tblContacts->setEditTriggers(QAbstractItemView::NoEditTriggers);
138        tblContacts->setAlternatingRowColors(true);
139        tblContacts->setSelectionMode(QAbstractItemView::SingleSelection);
140        tblContacts->setSelectionBehavior(QAbstractItemView::SelectRows);
141        tblContacts->setIconSize(QSize(50, 64));
142        tblContacts->setShowGrid(false);
143        tblContacts->setGridStyle(Qt::SolidLine);
144        tblContacts->setSortingEnabled(true);
145        tblContacts->setWordWrap(false);
146        tblContacts->horizontalHeader()->setStretchLastSection(true);
147        tblContacts->verticalHeader()->setVisible(false);
148
149        gridLayout->addWidget(tblContacts, 1, 0, 1, 4);
150
151        QIcon icon3;
152        icon3.addFile(QString::fromUtf8(":/ico/user.png"), QSize(), QIcon::Normal, QIcon::Off);
153        tabWidget->addTab(tab_contacts, icon3, QString());
154        tab_contactGroups = new QWidget();
155        tab_contactGroups->setObjectName(QString::fromUtf8("tab_contactGroups"));
156        gridLayout_3 = new QGridLayout(tab_contactGroups);
157        gridLayout_3->setSpacing(6);
158        gridLayout_3->setMargin(11);
159        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
160        btnAddGroup = new QPushButton(tab_contactGroups);
161        btnAddGroup->setObjectName(QString::fromUtf8("btnAddGroup"));
162        btnAddGroup->setMinimumSize(QSize(34, 34));
163        btnAddGroup->setMaximumSize(QSize(34, 34));
164        btnAddGroup->setIcon(icon1);
165
166        gridLayout_3->addWidget(btnAddGroup, 0, 0, 1, 1);
167
168        btnRemoveGroup = new QPushButton(tab_contactGroups);
169        btnRemoveGroup->setObjectName(QString::fromUtf8("btnRemoveGroup"));
170        btnRemoveGroup->setMinimumSize(QSize(34, 34));
171        btnRemoveGroup->setMaximumSize(QSize(34, 34));
172        btnRemoveGroup->setIcon(icon2);
173
174        gridLayout_3->addWidget(btnRemoveGroup, 0, 1, 1, 1);
175
176        horizontalSpacer_2 = new QSpacerItem(328, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
177
178        gridLayout_3->addItem(horizontalSpacer_2, 0, 2, 1, 1);
179
180        edtGroupFilter = new QLineEdit(tab_contactGroups);
181        edtGroupFilter->setObjectName(QString::fromUtf8("edtGroupFilter"));
182        edtGroupFilter->setMinimumSize(QSize(141, 26));
183        edtGroupFilter->setMaximumSize(QSize(16777215, 26));
184
185        gridLayout_3->addWidget(edtGroupFilter, 0, 3, 1, 1);
186
187        tblGroups = new QTableWidget(tab_contactGroups);
188        if (tblGroups->columnCount() < 3)
189            tblGroups->setColumnCount(3);
190        QTableWidgetItem *__qtablewidgetitem3 = new QTableWidgetItem();
191        __qtablewidgetitem3->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter|Qt::AlignCenter);
192        tblGroups->setHorizontalHeaderItem(0, __qtablewidgetitem3);
193        QTableWidgetItem *__qtablewidgetitem4 = new QTableWidgetItem();
194        __qtablewidgetitem4->setTextAlignment(Qt::AlignLeft|Qt::AlignVCenter);
195        tblGroups->setHorizontalHeaderItem(1, __qtablewidgetitem4);
196        QTableWidgetItem *__qtablewidgetitem5 = new QTableWidgetItem();
197        __qtablewidgetitem5->setTextAlignment(Qt::AlignLeft|Qt::AlignVCenter);
198        tblGroups->setHorizontalHeaderItem(2, __qtablewidgetitem5);
199        tblGroups->setObjectName(QString::fromUtf8("tblGroups"));
200        sizePolicy.setHeightForWidth(tblGroups->sizePolicy().hasHeightForWidth());
201        tblGroups->setSizePolicy(sizePolicy);
202        tblGroups->setEditTriggers(QAbstractItemView::NoEditTriggers);
203        tblGroups->setAlternatingRowColors(true);
204        tblGroups->setSelectionMode(QAbstractItemView::SingleSelection);
205        tblGroups->setSelectionBehavior(QAbstractItemView::SelectRows);
206        tblGroups->setIconSize(QSize(50, 64));
207        tblGroups->setShowGrid(false);
208        tblGroups->setGridStyle(Qt::SolidLine);
209        tblGroups->setSortingEnabled(true);
210        tblGroups->setWordWrap(false);
211        tblGroups->horizontalHeader()->setStretchLastSection(true);
212        tblGroups->verticalHeader()->setVisible(false);
213
214        gridLayout_3->addWidget(tblGroups, 1, 0, 1, 4);
215
216        QIcon icon4;
217        icon4.addFile(QString::fromUtf8(":/ico/users.png"), QSize(), QIcon::Normal, QIcon::Off);
218        tabWidget->addTab(tab_contactGroups, icon4, QString());
219
220        gridLayout_2->addWidget(tabWidget, 0, 0, 1, 2);
221
222
223        retranslateUi(VCAddressBookClass);
224        QObject::connect(btnClose, SIGNAL(clicked()), VCAddressBookClass, SLOT(close()));
225        QObject::connect(tblContacts, SIGNAL(cellClicked(int,int)), tblContacts, SLOT(resizeRowsToContents()));
226
227        tabWidget->setCurrentIndex(0);
228
229
230        QMetaObject::connectSlotsByName(VCAddressBookClass);
231    } // setupUi
232
233    void retranslateUi(QDialog *VCAddressBookClass)
234    {
235        VCAddressBookClass->setWindowTitle(QApplication::translate("VCAddressBookClass", "Address Book", 0, QApplication::UnicodeUTF8));
236        btnClose->setText(QApplication::translate("VCAddressBookClass", "Close", 0, QApplication::UnicodeUTF8));
237        btnAddContact->setText(QString());
238        btnRemoveContact->setText(QString());
239        edtContactFilter->setStyleSheet(QApplication::translate("VCAddressBookClass", "color: rgb(128, 128, 128);", 0, QApplication::UnicodeUTF8));
240        edtContactFilter->setText(QApplication::translate("VCAddressBookClass", "Filter...", 0, QApplication::UnicodeUTF8));
241        QTableWidgetItem *___qtablewidgetitem = tblContacts->horizontalHeaderItem(1);
242        ___qtablewidgetitem->setText(QApplication::translate("VCAddressBookClass", "Name", 0, QApplication::UnicodeUTF8));
243        QTableWidgetItem *___qtablewidgetitem1 = tblContacts->horizontalHeaderItem(2);
244        ___qtablewidgetitem1->setText(QApplication::translate("VCAddressBookClass", "Number", 0, QApplication::UnicodeUTF8));
245        tabWidget->setTabText(tabWidget->indexOf(tab_contacts), QApplication::translate("VCAddressBookClass", "Contacts", 0, QApplication::UnicodeUTF8));
246        btnAddGroup->setText(QString());
247        btnRemoveGroup->setText(QString());
248        edtGroupFilter->setStyleSheet(QApplication::translate("VCAddressBookClass", "color: rgb(128, 128, 128);", 0, QApplication::UnicodeUTF8));
249        edtGroupFilter->setText(QApplication::translate("VCAddressBookClass", "Filter...", 0, QApplication::UnicodeUTF8));
250        QTableWidgetItem *___qtablewidgetitem2 = tblGroups->horizontalHeaderItem(1);
251        ___qtablewidgetitem2->setText(QApplication::translate("VCAddressBookClass", "Name", 0, QApplication::UnicodeUTF8));
252        QTableWidgetItem *___qtablewidgetitem3 = tblGroups->horizontalHeaderItem(2);
253        ___qtablewidgetitem3->setText(QApplication::translate("VCAddressBookClass", "Members", 0, QApplication::UnicodeUTF8));
254        tabWidget->setTabText(tabWidget->indexOf(tab_contactGroups), QApplication::translate("VCAddressBookClass", "Groups", 0, QApplication::UnicodeUTF8));
255        Q_UNUSED(VCAddressBookClass);
256    } // retranslateUi
257
258};
259
260namespace Ui {
261    class VCAddressBookClass: public Ui_VCAddressBookClass {};
262} // namespace Ui
263
264QT_END_NAMESPACE
265
266#endif // UI_VCADDRESSBOOK_H
Note: See TracBrowser for help on using the repository browser.