12 #ifndef UI_PUBLISHDIALOG_BASE_H
13 #define UI_PUBLISHDIALOG_BASE_H
15 #include <QtCore/QVariant>
16 #include <QtGui/QAction>
17 #include <QtGui/QApplication>
18 #include <QtGui/QButtonGroup>
19 #include <QtGui/QGridLayout>
20 #include <QtGui/QHeaderView>
21 #include <QtGui/QLabel>
22 #include <QtGui/QListWidget>
23 #include <QtGui/QPushButton>
24 #include <QtGui/QSpacerItem>
25 #include <QtGui/QVBoxLayout>
26 #include <QtGui/QWidget>
27 #include "klineedit.h"
31 class Ui_PublishDialog_base
34 QGridLayout *gridLayout_2;
35 QListWidget *mListWidget;
36 QVBoxLayout *verticalLayout_2;
37 QVBoxLayout *verticalLayout;
40 QPushButton *mSelectAddressee;
41 QSpacerItem *spacerItem;
42 QGridLayout *gridLayout;
44 KLineEdit *mNameLineEdit;
46 KLineEdit *mEmailLineEdit;
48 void setupUi(QWidget *PublishDialog_base)
50 if (PublishDialog_base->objectName().isEmpty())
51 PublishDialog_base->setObjectName(QString::fromUtf8(
"PublishDialog_base"));
52 PublishDialog_base->resize(410, 326);
53 gridLayout_2 =
new QGridLayout(PublishDialog_base);
54 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
55 mListWidget =
new QListWidget(PublishDialog_base);
56 mListWidget->setObjectName(QString::fromUtf8(
"mListWidget"));
57 mListWidget->setMinimumSize(QSize(300, 250));
59 gridLayout_2->addWidget(mListWidget, 0, 0, 1, 1);
61 verticalLayout_2 =
new QVBoxLayout();
62 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
63 verticalLayout =
new QVBoxLayout();
64 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
65 mNew =
new QPushButton(PublishDialog_base);
66 mNew->setObjectName(QString::fromUtf8(
"mNew"));
68 verticalLayout->addWidget(mNew);
70 mRemove =
new QPushButton(PublishDialog_base);
71 mRemove->setObjectName(QString::fromUtf8(
"mRemove"));
73 verticalLayout->addWidget(mRemove);
75 mSelectAddressee =
new QPushButton(PublishDialog_base);
76 mSelectAddressee->setObjectName(QString::fromUtf8(
"mSelectAddressee"));
78 verticalLayout->addWidget(mSelectAddressee);
81 verticalLayout_2->addLayout(verticalLayout);
83 spacerItem =
new QSpacerItem(14, 258, QSizePolicy::Minimum, QSizePolicy::Expanding);
85 verticalLayout_2->addItem(spacerItem);
88 gridLayout_2->addLayout(verticalLayout_2, 0, 1, 2, 1);
90 gridLayout =
new QGridLayout();
91 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
92 TextLabel1 =
new QLabel(PublishDialog_base);
93 TextLabel1->setObjectName(QString::fromUtf8(
"TextLabel1"));
95 gridLayout->addWidget(TextLabel1, 0, 0, 1, 1);
97 mNameLineEdit =
new KLineEdit(PublishDialog_base);
98 mNameLineEdit->setObjectName(QString::fromUtf8(
"mNameLineEdit"));
99 mNameLineEdit->setProperty(
"showClearButton", QVariant(
true));
100 mNameLineEdit->setProperty(
"ClearButtonShown", QVariant(
true));
102 gridLayout->addWidget(mNameLineEdit, 0, 1, 1, 1);
104 TextLabel2 =
new QLabel(PublishDialog_base);
105 TextLabel2->setObjectName(QString::fromUtf8(
"TextLabel2"));
107 gridLayout->addWidget(TextLabel2, 1, 0, 1, 1);
109 mEmailLineEdit =
new KLineEdit(PublishDialog_base);
110 mEmailLineEdit->setObjectName(QString::fromUtf8(
"mEmailLineEdit"));
111 mEmailLineEdit->setProperty(
"showClearButton", QVariant(
true));
112 mEmailLineEdit->setProperty(
"ClearButtonShown", QVariant(
true));
114 gridLayout->addWidget(mEmailLineEdit, 1, 1, 1, 1);
117 gridLayout_2->addLayout(gridLayout, 1, 0, 1, 1);
119 #ifndef UI_QT_NO_SHORTCUT
120 TextLabel1->setBuddy(mNameLineEdit);
121 TextLabel2->setBuddy(mEmailLineEdit);
122 #endif // QT_NO_SHORTCUT
123 QWidget::setTabOrder(mListWidget, mNew);
124 QWidget::setTabOrder(mNew, mRemove);
125 QWidget::setTabOrder(mRemove, mSelectAddressee);
126 QWidget::setTabOrder(mSelectAddressee, mNameLineEdit);
127 QWidget::setTabOrder(mNameLineEdit, mEmailLineEdit);
129 retranslateUi(PublishDialog_base);
131 QMetaObject::connectSlotsByName(PublishDialog_base);
134 void retranslateUi(QWidget *PublishDialog_base)
136 #ifndef UI_QT_NO_TOOLTIP
137 mListWidget->setToolTip(tr2i18n(
"The list of addressees to receive the invitation", 0));
138 #endif // QT_NO_TOOLTIP
139 #ifndef UI_QT_NO_WHATSTHIS
140 mListWidget->setWhatsThis(tr2i18n(
"This is a list of all the addresses you have currently selected to receive the iCalendar invitation.", 0));
141 #endif // QT_NO_WHATSTHIS
142 #ifndef UI_QT_NO_TOOLTIP
143 mNew->setToolTip(tr2i18n(
"Create a new recipient", 0));
144 #endif // QT_NO_TOOLTIP
145 #ifndef UI_QT_NO_WHATSTHIS
146 mNew->setWhatsThis(tr2i18n(
"Click this button and you will be able to enter a name and email for a new addressee to add to the recipients list", 0));
147 #endif // QT_NO_WHATSTHIS
148 mNew->setText(tr2i18n(
"&New", 0));
149 #ifndef UI_QT_NO_TOOLTIP
150 mRemove->setToolTip(tr2i18n(
"Remove the recipient currently selected", 0));
151 #endif // QT_NO_TOOLTIP
152 #ifndef UI_QT_NO_WHATSTHIS
153 mRemove->setWhatsThis(tr2i18n(
"Click this button to remove the recipient currently selected from the list", 0));
154 #endif // QT_NO_WHATSTHIS
155 mRemove->setText(tr2i18n(
"&Remove", 0));
156 #ifndef UI_QT_NO_TOOLTIP
157 mSelectAddressee->setToolTip(tr2i18n(
"Select a recipient from your address book", 0));
158 #endif // QT_NO_TOOLTIP
159 #ifndef UI_QT_NO_WHATSTHIS
160 mSelectAddressee->setWhatsThis(tr2i18n(
"Click this button to show another dialog where you will be able to select a recipient from your address book", 0));
161 #endif // QT_NO_WHATSTHIS
162 mSelectAddressee->setText(tr2i18n(
"&Select...", 0));
163 TextLabel1->setText(tr2i18n(
"Name:",
"recipient name"));
164 #ifndef UI_QT_NO_TOOLTIP
165 mNameLineEdit->setToolTip(tr2i18n(
"The recipient's name", 0));
166 #endif // QT_NO_TOOLTIP
167 #ifndef UI_QT_NO_WHATSTHIS
168 mNameLineEdit->setWhatsThis(tr2i18n(
"This field contains the name of the recipient", 0));
169 #endif // QT_NO_WHATSTHIS
170 TextLabel2->setText(tr2i18n(
"Email:",
"recipient email"));
171 #ifndef UI_QT_NO_TOOLTIP
172 mEmailLineEdit->setToolTip(tr2i18n(
"The recipient's email address", 0));
173 #endif // QT_NO_TOOLTIP
174 #ifndef UI_QT_NO_WHATSTHIS
175 mEmailLineEdit->setWhatsThis(tr2i18n(
"This field contains the email address of the recipient", 0));
176 #endif // QT_NO_WHATSTHIS
177 mEmailLineEdit->setText(QString());
178 Q_UNUSED(PublishDialog_base);
184 class PublishDialog_base:
public Ui_PublishDialog_base {};
189 #endif // PUBLISHDIALOG_BASE_H