9 #ifndef UI_CONTACTGROUPEDITOR_H
10 #define UI_CONTACTGROUPEDITOR_H
12 #include <QtCore/QVariant>
13 #include <QtGui/QAction>
14 #include <QtGui/QApplication>
15 #include <QtGui/QButtonGroup>
16 #include <QtGui/QGridLayout>
17 #include <QtGui/QHeaderView>
18 #include <QtGui/QLabel>
19 #include <QtGui/QSpacerItem>
20 #include <QtGui/QTreeView>
21 #include <QtGui/QWidget>
22 #include "klineedit.h"
26 class Ui_ContactGroupEditor
29 QGridLayout *gridLayout;
30 QLabel *groupNameLabel;
32 QSpacerItem *verticalSpacer;
34 QTreeView *membersView;
36 void setupUi(QWidget *ContactGroupEditor)
38 if (ContactGroupEditor->objectName().isEmpty())
39 ContactGroupEditor->setObjectName(QString::fromUtf8(
"ContactGroupEditor"));
40 ContactGroupEditor->resize(392, 289);
41 gridLayout =
new QGridLayout(ContactGroupEditor);
42 gridLayout->setContentsMargins(0, 0, 0, 0);
43 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
44 groupNameLabel =
new QLabel(ContactGroupEditor);
45 groupNameLabel->setObjectName(QString::fromUtf8(
"groupNameLabel"));
47 gridLayout->addWidget(groupNameLabel, 0, 0, 1, 1);
49 groupName =
new KLineEdit(ContactGroupEditor);
50 groupName->setObjectName(QString::fromUtf8(
"groupName"));
52 gridLayout->addWidget(groupName, 0, 1, 1, 1);
54 verticalSpacer =
new QSpacerItem(0, 20, QSizePolicy::Minimum, QSizePolicy::Fixed);
56 gridLayout->addItem(verticalSpacer, 1, 1, 1, 1);
58 label =
new QLabel(ContactGroupEditor);
59 label->setObjectName(QString::fromUtf8(
"label"));
61 gridLayout->addWidget(label, 2, 0, 1, 2);
63 membersView =
new QTreeView(ContactGroupEditor);
64 membersView->setObjectName(QString::fromUtf8(
"membersView"));
65 membersView->setRootIsDecorated(
false);
66 membersView->setItemsExpandable(
false);
67 membersView->setAllColumnsShowFocus(
true);
69 gridLayout->addWidget(membersView, 3, 0, 1, 2);
72 retranslateUi(ContactGroupEditor);
74 QMetaObject::connectSlotsByName(ContactGroupEditor);
77 void retranslateUi(QWidget *ContactGroupEditor)
79 groupNameLabel->setText(QApplication::translate(
"ContactGroupEditor",
"Name:",
"@label The name of a contact group", QApplication::UnicodeUTF8));
80 label->setText(QApplication::translate(
"ContactGroupEditor",
"Contact group members:",
"@label", QApplication::UnicodeUTF8));
81 Q_UNUSED(ContactGroupEditor);
87 class ContactGroupEditor:
public Ui_ContactGroupEditor {};
92 #endif // UI_CONTACTGROUPEDITOR_H