|
1 /******************************************************************************** |
|
2 ** Form generated from reading UI file 'mainwindow.ui' |
|
3 ** |
|
4 ** Created: Wed Jul 21 14:18:57 2010 |
|
5 ** by: Qt User Interface Compiler version 4.6.3 |
|
6 ** |
|
7 ** WARNING! All changes made in this file will be lost when recompiling UI file! |
|
8 ********************************************************************************/ |
|
9 |
|
10 #ifndef UI_MAINWINDOW_H |
|
11 #define UI_MAINWINDOW_H |
|
12 |
|
13 #include <QtCore/QVariant> |
|
14 #include <QtGui/QAction> |
|
15 #include <QtGui/QApplication> |
|
16 #include <QtGui/QButtonGroup> |
|
17 #include <QtGui/QHeaderView> |
|
18 #include <QtGui/QLabel> |
|
19 #include <QtGui/QListWidget> |
|
20 #include <QtGui/QMainWindow> |
|
21 #include <QtGui/QPushButton> |
|
22 #include <QtGui/QTabWidget> |
|
23 #include <QtGui/QTextEdit> |
|
24 #include <QtGui/QTreeWidget> |
|
25 #include <QtGui/QWidget> |
|
26 |
|
27 QT_BEGIN_NAMESPACE |
|
28 |
|
29 class Ui_MainWindow |
|
30 { |
|
31 public: |
|
32 QWidget *centralWidget; |
|
33 QTabWidget *tabWidget; |
|
34 QWidget *tabVivek; |
|
35 QTextEdit *textEdit_2; |
|
36 QPushButton *pushBackContact; |
|
37 QWidget *tabContacts; |
|
38 QListWidget *listAvatars; |
|
39 QLabel *StatusLabel; |
|
40 QTextEdit *StatusTextBox; |
|
41 QPushButton *StatusUpdatebtn; |
|
42 QLabel *MyStatusLabel; |
|
43 QWidget *PhotoesTab; |
|
44 QTreeWidget *treeContactMusic_2; |
|
45 QTreeWidget *treeMusicAll_3; |
|
46 QPushButton *pushBackPhoto; |
|
47 QWidget *Music; |
|
48 QTreeWidget *treeMusicAll; |
|
49 QTreeWidget *treeContactMusic; |
|
50 QPushButton *pushBackMusic; |
|
51 QWidget *tabVideo; |
|
52 QTreeWidget *treeContactMusic_3; |
|
53 QTreeWidget *treeMusicAll_2; |
|
54 QPushButton *pushBackVideo; |
|
55 QWidget *tabChat; |
|
56 QTextEdit *textEdit; |
|
57 QTextEdit *textInput; |
|
58 QPushButton *pushButton_5; |
|
59 QPushButton *pushButton_6; |
|
60 QPushButton *pushButton_7; |
|
61 QPushButton *pushButton_8; |
|
62 QPushButton *pushBackChat; |
|
63 |
|
64 void setupUi(QMainWindow *MainWindow) |
|
65 { |
|
66 if (MainWindow->objectName().isEmpty()) |
|
67 MainWindow->setObjectName(QString::fromUtf8("MainWindow")); |
|
68 MainWindow->setWindowModality(Qt::ApplicationModal); |
|
69 MainWindow->resize(500, 285); |
|
70 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); |
|
71 sizePolicy.setHorizontalStretch(30); |
|
72 sizePolicy.setVerticalStretch(30); |
|
73 sizePolicy.setHeightForWidth(MainWindow->sizePolicy().hasHeightForWidth()); |
|
74 MainWindow->setSizePolicy(sizePolicy); |
|
75 MainWindow->setContextMenuPolicy(Qt::CustomContextMenu); |
|
76 QIcon icon; |
|
77 icon.addFile(QString::fromUtf8(":/Icons/Contacts"), QSize(), QIcon::Normal, QIcon::Off); |
|
78 MainWindow->setWindowIcon(icon); |
|
79 MainWindow->setAutoFillBackground(true); |
|
80 centralWidget = new QWidget(MainWindow); |
|
81 centralWidget->setObjectName(QString::fromUtf8("centralWidget")); |
|
82 tabWidget = new QTabWidget(centralWidget); |
|
83 tabWidget->setObjectName(QString::fromUtf8("tabWidget")); |
|
84 tabWidget->setGeometry(QRect(0, 0, 500, 285)); |
|
85 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding); |
|
86 sizePolicy1.setHorizontalStretch(0); |
|
87 sizePolicy1.setVerticalStretch(0); |
|
88 sizePolicy1.setHeightForWidth(tabWidget->sizePolicy().hasHeightForWidth()); |
|
89 tabWidget->setSizePolicy(sizePolicy1); |
|
90 tabWidget->setTabPosition(QTabWidget::North); |
|
91 tabWidget->setTabShape(QTabWidget::Triangular); |
|
92 tabWidget->setIconSize(QSize(32, 32)); |
|
93 tabWidget->setElideMode(Qt::ElideNone); |
|
94 tabWidget->setDocumentMode(false); |
|
95 tabWidget->setTabsClosable(false); |
|
96 tabVivek = new QWidget(); |
|
97 tabVivek->setObjectName(QString::fromUtf8("tabVivek")); |
|
98 textEdit_2 = new QTextEdit(tabVivek); |
|
99 textEdit_2->setObjectName(QString::fromUtf8("textEdit_2")); |
|
100 textEdit_2->setGeometry(QRect(10, 10, 401, 161)); |
|
101 QPalette palette; |
|
102 QBrush brush(QColor(255, 239, 10, 255)); |
|
103 brush.setStyle(Qt::SolidPattern); |
|
104 palette.setBrush(QPalette::Active, QPalette::Text, brush); |
|
105 palette.setBrush(QPalette::Inactive, QPalette::Text, brush); |
|
106 QBrush brush1(QColor(118, 116, 108, 255)); |
|
107 brush1.setStyle(Qt::SolidPattern); |
|
108 palette.setBrush(QPalette::Disabled, QPalette::Text, brush1); |
|
109 textEdit_2->setPalette(palette); |
|
110 textEdit_2->setHtml(QString::fromUtf8("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" |
|
111 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" |
|
112 "p, li { white-space: pre-wrap; }\n" |
|
113 "</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" |
|
114 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"></p></body></html>")); |
|
115 textEdit_2->setTextInteractionFlags(Qt::NoTextInteraction); |
|
116 pushBackContact = new QPushButton(tabVivek); |
|
117 pushBackContact->setObjectName(QString::fromUtf8("pushBackContact")); |
|
118 pushBackContact->setGeometry(QRect(430, 20, 41, 31)); |
|
119 QIcon icon1; |
|
120 icon1.addFile(QString::fromUtf8(":/Icons/Back"), QSize(), QIcon::Normal, QIcon::On); |
|
121 pushBackContact->setIcon(icon1); |
|
122 pushBackContact->setIconSize(QSize(24, 24)); |
|
123 QIcon icon2; |
|
124 icon2.addFile(QString::fromUtf8(":/Icons/Contact"), QSize(), QIcon::Normal, QIcon::On); |
|
125 tabWidget->addTab(tabVivek, icon2, QString()); |
|
126 tabContacts = new QWidget(); |
|
127 tabContacts->setObjectName(QString::fromUtf8("tabContacts")); |
|
128 listAvatars = new QListWidget(tabContacts); |
|
129 listAvatars->setObjectName(QString::fromUtf8("listAvatars")); |
|
130 listAvatars->setGeometry(QRect(20, 20, 381, 101)); |
|
131 listAvatars->setAutoScroll(false); |
|
132 listAvatars->setEditTriggers(QAbstractItemView::NoEditTriggers); |
|
133 listAvatars->setProperty("showDropIndicator", QVariant(false)); |
|
134 listAvatars->setDragDropMode(QAbstractItemView::NoDragDrop); |
|
135 listAvatars->setIconSize(QSize(64, 64)); |
|
136 listAvatars->setMovement(QListView::Static); |
|
137 listAvatars->setProperty("isWrapping", QVariant(false)); |
|
138 listAvatars->setLayoutMode(QListView::Batched); |
|
139 listAvatars->setViewMode(QListView::IconMode); |
|
140 listAvatars->setUniformItemSizes(false); |
|
141 StatusLabel = new QLabel(tabContacts); |
|
142 StatusLabel->setObjectName(QString::fromUtf8("StatusLabel")); |
|
143 StatusLabel->setGeometry(QRect(20, 125, 41, 21)); |
|
144 QFont font; |
|
145 font.setPointSize(5); |
|
146 StatusLabel->setFont(font); |
|
147 StatusTextBox = new QTextEdit(tabContacts); |
|
148 StatusTextBox->setObjectName(QString::fromUtf8("StatusTextBox")); |
|
149 StatusTextBox->setGeometry(QRect(20, 160, 351, 61)); |
|
150 StatusTextBox->setFrameShape(QFrame::StyledPanel); |
|
151 StatusTextBox->setFrameShadow(QFrame::Sunken); |
|
152 StatusUpdatebtn = new QPushButton(tabContacts); |
|
153 StatusUpdatebtn->setObjectName(QString::fromUtf8("StatusUpdatebtn")); |
|
154 StatusUpdatebtn->setGeometry(QRect(380, 170, 71, 31)); |
|
155 QFont font1; |
|
156 font1.setPointSize(5); |
|
157 font1.setKerning(false); |
|
158 StatusUpdatebtn->setFont(font1); |
|
159 StatusUpdatebtn->setCheckable(true); |
|
160 StatusUpdatebtn->setChecked(true); |
|
161 MyStatusLabel = new QLabel(tabContacts); |
|
162 MyStatusLabel->setObjectName(QString::fromUtf8("MyStatusLabel")); |
|
163 MyStatusLabel->setGeometry(QRect(80, 120, 221, 31)); |
|
164 QPalette palette1; |
|
165 QBrush brush2(QColor(244, 213, 255, 255)); |
|
166 brush2.setStyle(Qt::SolidPattern); |
|
167 palette1.setBrush(QPalette::Active, QPalette::Text, brush2); |
|
168 palette1.setBrush(QPalette::Inactive, QPalette::Text, brush2); |
|
169 palette1.setBrush(QPalette::Disabled, QPalette::Text, brush1); |
|
170 MyStatusLabel->setPalette(palette1); |
|
171 QFont font2; |
|
172 font2.setPointSize(6); |
|
173 font2.setItalic(true); |
|
174 font2.setStyleStrategy(QFont::NoAntialias); |
|
175 MyStatusLabel->setFont(font2); |
|
176 MyStatusLabel->setMouseTracking(false); |
|
177 MyStatusLabel->setTextFormat(Qt::AutoText); |
|
178 QIcon icon3; |
|
179 icon3.addFile(QString::fromUtf8(":/Icons/Contacts"), QSize(), QIcon::Normal, QIcon::On); |
|
180 tabWidget->addTab(tabContacts, icon3, QString()); |
|
181 PhotoesTab = new QWidget(); |
|
182 PhotoesTab->setObjectName(QString::fromUtf8("PhotoesTab")); |
|
183 treeContactMusic_2 = new QTreeWidget(PhotoesTab); |
|
184 treeContactMusic_2->setObjectName(QString::fromUtf8("treeContactMusic_2")); |
|
185 treeContactMusic_2->setGeometry(QRect(10, 10, 391, 181)); |
|
186 treeContactMusic_2->setFrameShape(QFrame::WinPanel); |
|
187 treeContactMusic_2->setEditTriggers(QAbstractItemView::NoEditTriggers); |
|
188 treeMusicAll_3 = new QTreeWidget(PhotoesTab); |
|
189 treeMusicAll_3->setObjectName(QString::fromUtf8("treeMusicAll_3")); |
|
190 treeMusicAll_3->setGeometry(QRect(10, 20, 391, 181)); |
|
191 treeMusicAll_3->setFrameShape(QFrame::WinPanel); |
|
192 treeMusicAll_3->setEditTriggers(QAbstractItemView::EditKeyPressed); |
|
193 pushBackPhoto = new QPushButton(PhotoesTab); |
|
194 pushBackPhoto->setObjectName(QString::fromUtf8("pushBackPhoto")); |
|
195 pushBackPhoto->setGeometry(QRect(430, 20, 41, 31)); |
|
196 pushBackPhoto->setIcon(icon1); |
|
197 pushBackPhoto->setIconSize(QSize(24, 24)); |
|
198 QIcon icon4; |
|
199 icon4.addFile(QString::fromUtf8(":/Images/Icons/Photo.svg"), QSize(), QIcon::Normal, QIcon::On); |
|
200 tabWidget->addTab(PhotoesTab, icon4, QString()); |
|
201 Music = new QWidget(); |
|
202 Music->setObjectName(QString::fromUtf8("Music")); |
|
203 treeMusicAll = new QTreeWidget(Music); |
|
204 treeMusicAll->setObjectName(QString::fromUtf8("treeMusicAll")); |
|
205 treeMusicAll->setGeometry(QRect(10, 20, 391, 181)); |
|
206 treeMusicAll->setFrameShape(QFrame::WinPanel); |
|
207 treeMusicAll->setEditTriggers(QAbstractItemView::EditKeyPressed); |
|
208 treeContactMusic = new QTreeWidget(Music); |
|
209 treeContactMusic->setObjectName(QString::fromUtf8("treeContactMusic")); |
|
210 treeContactMusic->setGeometry(QRect(10, 10, 391, 171)); |
|
211 treeContactMusic->setFrameShape(QFrame::WinPanel); |
|
212 pushBackMusic = new QPushButton(Music); |
|
213 pushBackMusic->setObjectName(QString::fromUtf8("pushBackMusic")); |
|
214 pushBackMusic->setGeometry(QRect(430, 20, 41, 31)); |
|
215 pushBackMusic->setIcon(icon1); |
|
216 pushBackMusic->setIconSize(QSize(24, 24)); |
|
217 QIcon icon5; |
|
218 icon5.addFile(QString::fromUtf8(":/Icons/Music"), QSize(), QIcon::Normal, QIcon::On); |
|
219 tabWidget->addTab(Music, icon5, QString()); |
|
220 tabVideo = new QWidget(); |
|
221 tabVideo->setObjectName(QString::fromUtf8("tabVideo")); |
|
222 treeContactMusic_3 = new QTreeWidget(tabVideo); |
|
223 treeContactMusic_3->setObjectName(QString::fromUtf8("treeContactMusic_3")); |
|
224 treeContactMusic_3->setGeometry(QRect(10, 10, 391, 191)); |
|
225 treeContactMusic_3->setFrameShape(QFrame::WinPanel); |
|
226 treeMusicAll_2 = new QTreeWidget(tabVideo); |
|
227 treeMusicAll_2->setObjectName(QString::fromUtf8("treeMusicAll_2")); |
|
228 treeMusicAll_2->setGeometry(QRect(10, 10, 391, 181)); |
|
229 treeMusicAll_2->setFrameShape(QFrame::WinPanel); |
|
230 treeMusicAll_2->setEditTriggers(QAbstractItemView::EditKeyPressed); |
|
231 pushBackVideo = new QPushButton(tabVideo); |
|
232 pushBackVideo->setObjectName(QString::fromUtf8("pushBackVideo")); |
|
233 pushBackVideo->setGeometry(QRect(420, 20, 40, 30)); |
|
234 pushBackVideo->setIcon(icon1); |
|
235 pushBackVideo->setIconSize(QSize(24, 24)); |
|
236 QIcon icon6; |
|
237 icon6.addFile(QString::fromUtf8(":/Images/Icons/Video.svg"), QSize(), QIcon::Normal, QIcon::On); |
|
238 tabWidget->addTab(tabVideo, icon6, QString()); |
|
239 tabChat = new QWidget(); |
|
240 tabChat->setObjectName(QString::fromUtf8("tabChat")); |
|
241 textEdit = new QTextEdit(tabChat); |
|
242 textEdit->setObjectName(QString::fromUtf8("textEdit")); |
|
243 textEdit->setGeometry(QRect(10, 20, 401, 121)); |
|
244 textEdit->setReadOnly(true); |
|
245 textEdit->setHtml(QString::fromUtf8("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" |
|
246 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" |
|
247 "p, li { white-space: pre-wrap; }\n" |
|
248 "</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" |
|
249 "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"></p></body></html>")); |
|
250 textInput = new QTextEdit(tabChat); |
|
251 textInput->setObjectName(QString::fromUtf8("textInput")); |
|
252 textInput->setGeometry(QRect(10, 150, 311, 71)); |
|
253 pushButton_5 = new QPushButton(tabChat); |
|
254 pushButton_5->setObjectName(QString::fromUtf8("pushButton_5")); |
|
255 pushButton_5->setGeometry(QRect(330, 150, 77, 31)); |
|
256 pushButton_5->setAutoDefault(true); |
|
257 pushButton_6 = new QPushButton(tabChat); |
|
258 pushButton_6->setObjectName(QString::fromUtf8("pushButton_6")); |
|
259 pushButton_6->setGeometry(QRect(330, 190, 81, 31)); |
|
260 pushButton_7 = new QPushButton(tabChat); |
|
261 pushButton_7->setObjectName(QString::fromUtf8("pushButton_7")); |
|
262 pushButton_7->setGeometry(QRect(420, 150, 41, 31)); |
|
263 QIcon icon7; |
|
264 icon7.addFile(QString::fromUtf8(":/Icons/Icons/happy.ico"), QSize(), QIcon::Normal, QIcon::Off); |
|
265 pushButton_7->setIcon(icon7); |
|
266 pushButton_7->setIconSize(QSize(24, 24)); |
|
267 pushButton_8 = new QPushButton(tabChat); |
|
268 pushButton_8->setObjectName(QString::fromUtf8("pushButton_8")); |
|
269 pushButton_8->setGeometry(QRect(420, 190, 41, 31)); |
|
270 QIcon icon8; |
|
271 icon8.addFile(QString::fromUtf8(":/Icons/Icons/Close 2.ico"), QSize(), QIcon::Normal, QIcon::Off); |
|
272 pushButton_8->setIcon(icon8); |
|
273 pushButton_8->setIconSize(QSize(24, 24)); |
|
274 pushBackChat = new QPushButton(tabChat); |
|
275 pushBackChat->setObjectName(QString::fromUtf8("pushBackChat")); |
|
276 pushBackChat->setGeometry(QRect(430, 20, 40, 30)); |
|
277 pushBackChat->setIcon(icon1); |
|
278 pushBackChat->setIconSize(QSize(24, 24)); |
|
279 QIcon icon9; |
|
280 icon9.addFile(QString::fromUtf8(":/Icons/Chat"), QSize(), QIcon::Normal, QIcon::On); |
|
281 tabWidget->addTab(tabChat, icon9, QString()); |
|
282 MainWindow->setCentralWidget(centralWidget); |
|
283 QWidget::setTabOrder(textInput, pushButton_5); |
|
284 QWidget::setTabOrder(pushButton_5, pushButton_7); |
|
285 QWidget::setTabOrder(pushButton_7, pushButton_6); |
|
286 QWidget::setTabOrder(pushButton_6, pushButton_8); |
|
287 QWidget::setTabOrder(pushButton_8, tabWidget); |
|
288 QWidget::setTabOrder(tabWidget, textEdit); |
|
289 |
|
290 retranslateUi(MainWindow); |
|
291 |
|
292 tabWidget->setCurrentIndex(0); |
|
293 |
|
294 |
|
295 QMetaObject::connectSlotsByName(MainWindow); |
|
296 } // setupUi |
|
297 |
|
298 void retranslateUi(QMainWindow *MainWindow) |
|
299 { |
|
300 MainWindow->setWindowTitle(QApplication::translate("MainWindow", "Local Sharing", 0, QApplication::UnicodeUTF8)); |
|
301 tabWidget->setTabText(tabWidget->indexOf(tabVivek), QApplication::translate("MainWindow", "Contact", 0, QApplication::UnicodeUTF8)); |
|
302 StatusLabel->setText(QApplication::translate("MainWindow", "Status:", 0, QApplication::UnicodeUTF8)); |
|
303 StatusUpdatebtn->setText(QApplication::translate("MainWindow", "Update", 0, QApplication::UnicodeUTF8)); |
|
304 MyStatusLabel->setText(QApplication::translate("MainWindow", "Status shown here", 0, QApplication::UnicodeUTF8)); |
|
305 tabWidget->setTabText(tabWidget->indexOf(tabContacts), QApplication::translate("MainWindow", "Contacts", 0, QApplication::UnicodeUTF8)); |
|
306 QTreeWidgetItem *___qtreewidgetitem = treeContactMusic_2->headerItem(); |
|
307 ___qtreewidgetitem->setText(0, QApplication::translate("MainWindow", "Photos", 0, QApplication::UnicodeUTF8)); |
|
308 QTreeWidgetItem *___qtreewidgetitem1 = treeMusicAll_3->headerItem(); |
|
309 ___qtreewidgetitem1->setText(0, QApplication::translate("MainWindow", "Album", 0, QApplication::UnicodeUTF8)); |
|
310 tabWidget->setTabText(tabWidget->indexOf(PhotoesTab), QApplication::translate("MainWindow", "Photos", 0, QApplication::UnicodeUTF8)); |
|
311 QTreeWidgetItem *___qtreewidgetitem2 = treeMusicAll->headerItem(); |
|
312 ___qtreewidgetitem2->setText(0, QApplication::translate("MainWindow", "Album", 0, QApplication::UnicodeUTF8)); |
|
313 QTreeWidgetItem *___qtreewidgetitem3 = treeContactMusic->headerItem(); |
|
314 ___qtreewidgetitem3->setText(0, QApplication::translate("MainWindow", "Songs", 0, QApplication::UnicodeUTF8)); |
|
315 tabWidget->setTabText(tabWidget->indexOf(Music), QApplication::translate("MainWindow", "Music", 0, QApplication::UnicodeUTF8)); |
|
316 QTreeWidgetItem *___qtreewidgetitem4 = treeContactMusic_3->headerItem(); |
|
317 ___qtreewidgetitem4->setText(0, QApplication::translate("MainWindow", "Videos", 0, QApplication::UnicodeUTF8)); |
|
318 QTreeWidgetItem *___qtreewidgetitem5 = treeMusicAll_2->headerItem(); |
|
319 ___qtreewidgetitem5->setText(0, QApplication::translate("MainWindow", "Album", 0, QApplication::UnicodeUTF8)); |
|
320 tabWidget->setTabText(tabWidget->indexOf(tabVideo), QApplication::translate("MainWindow", "Videos", 0, QApplication::UnicodeUTF8)); |
|
321 pushButton_5->setText(QApplication::translate("MainWindow", "Enter", 0, QApplication::UnicodeUTF8)); |
|
322 pushButton_6->setText(QApplication::translate("MainWindow", "Share", 0, QApplication::UnicodeUTF8)); |
|
323 tabWidget->setTabText(tabWidget->indexOf(tabChat), QApplication::translate("MainWindow", "Chat", 0, QApplication::UnicodeUTF8)); |
|
324 } // retranslateUi |
|
325 |
|
326 }; |
|
327 |
|
328 namespace Ui { |
|
329 class MainWindow: public Ui_MainWindow {}; |
|
330 } // namespace Ui |
|
331 |
|
332 QT_END_NAMESPACE |
|
333 |
|
334 #endif // UI_MAINWINDOW_H |