• Skip to content
  • Skip to link menu
  • KDE API Reference
  • KDE Home
  • Contact Us
 

Nepomuk-Core

  • build
  • KTp
  • Widgets
ui_join-chat-room-dialog.h
Go to the documentation of this file.
1 #include <kdialog.h>
2 #include <klocale.h>
3 
4 /********************************************************************************
5 ** Form generated from reading UI file 'join-chat-room-dialog.ui'
6 **
7 ** Created: Thu Mar 7 00:48:34 2013
8 ** by: Qt User Interface Compiler version 4.8.3
9 **
10 ** WARNING! All changes made in this file will be lost when recompiling UI file!
11 ********************************************************************************/
12 
13 #ifndef UI_JOIN_2D_CHAT_2D_ROOM_2D_DIALOG_H
14 #define UI_JOIN_2D_CHAT_2D_ROOM_2D_DIALOG_H
15 
16 #include <QtCore/QVariant>
17 #include <QtGui/QAction>
18 #include <QtGui/QApplication>
19 #include <QtGui/QButtonGroup>
20 #include <QtGui/QHBoxLayout>
21 #include <QtGui/QHeaderView>
22 #include <QtGui/QLabel>
23 #include <QtGui/QListView>
24 #include <QtGui/QListWidget>
25 #include <QtGui/QPushButton>
26 #include <QtGui/QSpacerItem>
27 #include <QtGui/QTabWidget>
28 #include <QtGui/QTreeView>
29 #include <QtGui/QVBoxLayout>
30 #include <QtGui/QWidget>
31 #include "accounts-combo-box.h"
32 #include "klineedit.h"
33 
34 QT_BEGIN_NAMESPACE
35 
36 class Ui_JoinChatRoomDialog
37 {
38 public:
39  QVBoxLayout *verticalLayout;
40  KTp::AccountsComboBox *comboBox;
41  QLabel *label;
42  KLineEdit *lineEdit;
43  QTabWidget *tabWidget;
44  QWidget *favoritesTab;
45  QVBoxLayout *verticalLayout_3;
46  QHBoxLayout *horizontalLayout_2;
47  QListView *listView;
48  QVBoxLayout *verticalLayout_4;
49  QPushButton *addFavoritePushButton;
50  QPushButton *removeFavoritePushButton;
51  QSpacerItem *verticalSpacer;
52  QWidget *recentTab;
53  QHBoxLayout *horizontalLayout_3;
54  QListWidget *recentListWidget;
55  QVBoxLayout *verticalLayout_5;
56  QPushButton *removeRecentPushButton;
57  QPushButton *clearRecentPushButton;
58  QSpacerItem *verticalSpacer_2;
59  QWidget *queryTab;
60  QVBoxLayout *verticalLayout_2;
61  QLabel *serverLabel;
62  QHBoxLayout *horizontalLayout;
63  KLineEdit *serverLineEdit;
64  QPushButton *queryPushButton;
65  QPushButton *stopPushButton;
66  QTreeView *treeView;
67  KLineEdit *filterBar;
68 
69  void setupUi(QWidget *JoinChatRoomDialog)
70  {
71  if (JoinChatRoomDialog->objectName().isEmpty())
72  JoinChatRoomDialog->setObjectName(QString::fromUtf8("JoinChatRoomDialog"));
73  JoinChatRoomDialog->resize(525, 325);
74  JoinChatRoomDialog->setMinimumSize(QSize(525, 0));
75  verticalLayout = new QVBoxLayout(JoinChatRoomDialog);
76  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
77  comboBox = new KTp::AccountsComboBox(JoinChatRoomDialog);
78  comboBox->setObjectName(QString::fromUtf8("comboBox"));
79 
80  verticalLayout->addWidget(comboBox);
81 
82  label = new QLabel(JoinChatRoomDialog);
83  label->setObjectName(QString::fromUtf8("label"));
84 
85  verticalLayout->addWidget(label);
86 
87  lineEdit = new KLineEdit(JoinChatRoomDialog);
88  lineEdit->setObjectName(QString::fromUtf8("lineEdit"));
89  lineEdit->setProperty("showClearButton", QVariant(true));
90 
91  verticalLayout->addWidget(lineEdit);
92 
93  tabWidget = new QTabWidget(JoinChatRoomDialog);
94  tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
95  favoritesTab = new QWidget();
96  favoritesTab->setObjectName(QString::fromUtf8("favoritesTab"));
97  verticalLayout_3 = new QVBoxLayout(favoritesTab);
98  verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
99  horizontalLayout_2 = new QHBoxLayout();
100  horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
101  listView = new QListView(favoritesTab);
102  listView->setObjectName(QString::fromUtf8("listView"));
103 
104  horizontalLayout_2->addWidget(listView);
105 
106  verticalLayout_4 = new QVBoxLayout();
107  verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
108  addFavoritePushButton = new QPushButton(favoritesTab);
109  addFavoritePushButton->setObjectName(QString::fromUtf8("addFavoritePushButton"));
110  addFavoritePushButton->setEnabled(false);
111 
112  verticalLayout_4->addWidget(addFavoritePushButton);
113 
114  removeFavoritePushButton = new QPushButton(favoritesTab);
115  removeFavoritePushButton->setObjectName(QString::fromUtf8("removeFavoritePushButton"));
116  removeFavoritePushButton->setEnabled(false);
117 
118  verticalLayout_4->addWidget(removeFavoritePushButton);
119 
120  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
121 
122  verticalLayout_4->addItem(verticalSpacer);
123 
124 
125  horizontalLayout_2->addLayout(verticalLayout_4);
126 
127 
128  verticalLayout_3->addLayout(horizontalLayout_2);
129 
130  tabWidget->addTab(favoritesTab, QString());
131  recentTab = new QWidget();
132  recentTab->setObjectName(QString::fromUtf8("recentTab"));
133  horizontalLayout_3 = new QHBoxLayout(recentTab);
134  horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
135  recentListWidget = new QListWidget(recentTab);
136  recentListWidget->setObjectName(QString::fromUtf8("recentListWidget"));
137 
138  horizontalLayout_3->addWidget(recentListWidget);
139 
140  verticalLayout_5 = new QVBoxLayout();
141  verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
142  removeRecentPushButton = new QPushButton(recentTab);
143  removeRecentPushButton->setObjectName(QString::fromUtf8("removeRecentPushButton"));
144  removeRecentPushButton->setEnabled(false);
145 
146  verticalLayout_5->addWidget(removeRecentPushButton);
147 
148  clearRecentPushButton = new QPushButton(recentTab);
149  clearRecentPushButton->setObjectName(QString::fromUtf8("clearRecentPushButton"));
150  clearRecentPushButton->setEnabled(false);
151 
152  verticalLayout_5->addWidget(clearRecentPushButton);
153 
154  verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
155 
156  verticalLayout_5->addItem(verticalSpacer_2);
157 
158 
159  horizontalLayout_3->addLayout(verticalLayout_5);
160 
161  tabWidget->addTab(recentTab, QString());
162  queryTab = new QWidget();
163  queryTab->setObjectName(QString::fromUtf8("queryTab"));
164  verticalLayout_2 = new QVBoxLayout(queryTab);
165  verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
166  serverLabel = new QLabel(queryTab);
167  serverLabel->setObjectName(QString::fromUtf8("serverLabel"));
168 
169  verticalLayout_2->addWidget(serverLabel);
170 
171  horizontalLayout = new QHBoxLayout();
172  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
173  serverLineEdit = new KLineEdit(queryTab);
174  serverLineEdit->setObjectName(QString::fromUtf8("serverLineEdit"));
175  serverLineEdit->setProperty("showClearButton", QVariant(true));
176 
177  horizontalLayout->addWidget(serverLineEdit);
178 
179  queryPushButton = new QPushButton(queryTab);
180  queryPushButton->setObjectName(QString::fromUtf8("queryPushButton"));
181  queryPushButton->setEnabled(false);
182 
183  horizontalLayout->addWidget(queryPushButton);
184 
185  stopPushButton = new QPushButton(queryTab);
186  stopPushButton->setObjectName(QString::fromUtf8("stopPushButton"));
187  stopPushButton->setEnabled(false);
188 
189  horizontalLayout->addWidget(stopPushButton);
190 
191 
192  verticalLayout_2->addLayout(horizontalLayout);
193 
194  treeView = new QTreeView(queryTab);
195  treeView->setObjectName(QString::fromUtf8("treeView"));
196  treeView->setAlternatingRowColors(true);
197  treeView->setSelectionMode(QAbstractItemView::ExtendedSelection);
198  treeView->setRootIsDecorated(false);
199  treeView->setUniformRowHeights(true);
200  treeView->setAllColumnsShowFocus(true);
201 
202  verticalLayout_2->addWidget(treeView);
203 
204  filterBar = new KLineEdit(queryTab);
205  filterBar->setObjectName(QString::fromUtf8("filterBar"));
206  filterBar->setProperty("showClearButton", QVariant(true));
207 
208  verticalLayout_2->addWidget(filterBar);
209 
210  tabWidget->addTab(queryTab, QString());
211 
212  verticalLayout->addWidget(tabWidget);
213 
214 
215  retranslateUi(JoinChatRoomDialog);
216 
217  tabWidget->setCurrentIndex(0);
218 
219 
220  QMetaObject::connectSlotsByName(JoinChatRoomDialog);
221  } // setupUi
222 
223  void retranslateUi(QWidget *JoinChatRoomDialog)
224  {
225  JoinChatRoomDialog->setWindowTitle(tr2i18n("Join Chatroom", 0));
226  label->setText(tr2i18n("Enter chat room:", 0));
227  addFavoritePushButton->setText(tr2i18n("Add Room", 0));
228  removeFavoritePushButton->setText(tr2i18n("Remove Room", 0));
229  tabWidget->setTabText(tabWidget->indexOf(favoritesTab), tr2i18n("Favorites", 0));
230  removeRecentPushButton->setText(tr2i18n("Remove", 0));
231  clearRecentPushButton->setText(tr2i18n("Clear list", 0));
232  tabWidget->setTabText(tabWidget->indexOf(recentTab), tr2i18n("Recent", 0));
233  serverLabel->setText(tr2i18n("Server to be queried:", 0));
234  serverLineEdit->setPlaceholderText(QString());
235  serverLineEdit->setClickMessage(tr2i18n("Leave blank for the selected account's default server", 0));
236  queryPushButton->setText(tr2i18n("Query", 0));
237  stopPushButton->setText(tr2i18n("Stop", 0));
238  filterBar->setPlaceholderText(QString());
239  filterBar->setClickMessage(tr2i18n("Search rooms", 0));
240  tabWidget->setTabText(tabWidget->indexOf(queryTab), tr2i18n("Query", 0));
241  } // retranslateUi
242 
243 };
244 
245 namespace Ui {
246  class JoinChatRoomDialog: public Ui_JoinChatRoomDialog {};
247 } // namespace Ui
248 
249 QT_END_NAMESPACE
250 
251 #endif // JOIN_2D_CHAT_2D_ROOM_2D_DIALOG_H
252 
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ktp-common-internals API Reference

Skip menu "ktp-common-internals API Reference"
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal