diff -r da856f45b798 -r ff5174af067c zeroconf/zeroconfsharing/ui_mainwindow.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zeroconf/zeroconfsharing/ui_mainwindow.h Wed Jul 21 14:28:48 2010 +0530 @@ -0,0 +1,334 @@ +/******************************************************************************** +** Form generated from reading UI file 'mainwindow.ui' +** +** Created: Wed Jul 21 14:18:57 2010 +** by: Qt User Interface Compiler version 4.6.3 +** +** WARNING! All changes made in this file will be lost when recompiling UI file! +********************************************************************************/ + +#ifndef UI_MAINWINDOW_H +#define UI_MAINWINDOW_H + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QT_BEGIN_NAMESPACE + +class Ui_MainWindow +{ +public: + QWidget *centralWidget; + QTabWidget *tabWidget; + QWidget *tabVivek; + QTextEdit *textEdit_2; + QPushButton *pushBackContact; + QWidget *tabContacts; + QListWidget *listAvatars; + QLabel *StatusLabel; + QTextEdit *StatusTextBox; + QPushButton *StatusUpdatebtn; + QLabel *MyStatusLabel; + QWidget *PhotoesTab; + QTreeWidget *treeContactMusic_2; + QTreeWidget *treeMusicAll_3; + QPushButton *pushBackPhoto; + QWidget *Music; + QTreeWidget *treeMusicAll; + QTreeWidget *treeContactMusic; + QPushButton *pushBackMusic; + QWidget *tabVideo; + QTreeWidget *treeContactMusic_3; + QTreeWidget *treeMusicAll_2; + QPushButton *pushBackVideo; + QWidget *tabChat; + QTextEdit *textEdit; + QTextEdit *textInput; + QPushButton *pushButton_5; + QPushButton *pushButton_6; + QPushButton *pushButton_7; + QPushButton *pushButton_8; + QPushButton *pushBackChat; + + void setupUi(QMainWindow *MainWindow) + { + if (MainWindow->objectName().isEmpty()) + MainWindow->setObjectName(QString::fromUtf8("MainWindow")); + MainWindow->setWindowModality(Qt::ApplicationModal); + MainWindow->resize(500, 285); + QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); + sizePolicy.setHorizontalStretch(30); + sizePolicy.setVerticalStretch(30); + sizePolicy.setHeightForWidth(MainWindow->sizePolicy().hasHeightForWidth()); + MainWindow->setSizePolicy(sizePolicy); + MainWindow->setContextMenuPolicy(Qt::CustomContextMenu); + QIcon icon; + icon.addFile(QString::fromUtf8(":/Icons/Contacts"), QSize(), QIcon::Normal, QIcon::Off); + MainWindow->setWindowIcon(icon); + MainWindow->setAutoFillBackground(true); + centralWidget = new QWidget(MainWindow); + centralWidget->setObjectName(QString::fromUtf8("centralWidget")); + tabWidget = new QTabWidget(centralWidget); + tabWidget->setObjectName(QString::fromUtf8("tabWidget")); + tabWidget->setGeometry(QRect(0, 0, 500, 285)); + QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding); + sizePolicy1.setHorizontalStretch(0); + sizePolicy1.setVerticalStretch(0); + sizePolicy1.setHeightForWidth(tabWidget->sizePolicy().hasHeightForWidth()); + tabWidget->setSizePolicy(sizePolicy1); + tabWidget->setTabPosition(QTabWidget::North); + tabWidget->setTabShape(QTabWidget::Triangular); + tabWidget->setIconSize(QSize(32, 32)); + tabWidget->setElideMode(Qt::ElideNone); + tabWidget->setDocumentMode(false); + tabWidget->setTabsClosable(false); + tabVivek = new QWidget(); + tabVivek->setObjectName(QString::fromUtf8("tabVivek")); + textEdit_2 = new QTextEdit(tabVivek); + textEdit_2->setObjectName(QString::fromUtf8("textEdit_2")); + textEdit_2->setGeometry(QRect(10, 10, 401, 161)); + QPalette palette; + QBrush brush(QColor(255, 239, 10, 255)); + brush.setStyle(Qt::SolidPattern); + palette.setBrush(QPalette::Active, QPalette::Text, brush); + palette.setBrush(QPalette::Inactive, QPalette::Text, brush); + QBrush brush1(QColor(118, 116, 108, 255)); + brush1.setStyle(Qt::SolidPattern); + palette.setBrush(QPalette::Disabled, QPalette::Text, brush1); + textEdit_2->setPalette(palette); + textEdit_2->setHtml(QString::fromUtf8("\n" +"\n" +"

")); + textEdit_2->setTextInteractionFlags(Qt::NoTextInteraction); + pushBackContact = new QPushButton(tabVivek); + pushBackContact->setObjectName(QString::fromUtf8("pushBackContact")); + pushBackContact->setGeometry(QRect(430, 20, 41, 31)); + QIcon icon1; + icon1.addFile(QString::fromUtf8(":/Icons/Back"), QSize(), QIcon::Normal, QIcon::On); + pushBackContact->setIcon(icon1); + pushBackContact->setIconSize(QSize(24, 24)); + QIcon icon2; + icon2.addFile(QString::fromUtf8(":/Icons/Contact"), QSize(), QIcon::Normal, QIcon::On); + tabWidget->addTab(tabVivek, icon2, QString()); + tabContacts = new QWidget(); + tabContacts->setObjectName(QString::fromUtf8("tabContacts")); + listAvatars = new QListWidget(tabContacts); + listAvatars->setObjectName(QString::fromUtf8("listAvatars")); + listAvatars->setGeometry(QRect(20, 20, 381, 101)); + listAvatars->setAutoScroll(false); + listAvatars->setEditTriggers(QAbstractItemView::NoEditTriggers); + listAvatars->setProperty("showDropIndicator", QVariant(false)); + listAvatars->setDragDropMode(QAbstractItemView::NoDragDrop); + listAvatars->setIconSize(QSize(64, 64)); + listAvatars->setMovement(QListView::Static); + listAvatars->setProperty("isWrapping", QVariant(false)); + listAvatars->setLayoutMode(QListView::Batched); + listAvatars->setViewMode(QListView::IconMode); + listAvatars->setUniformItemSizes(false); + StatusLabel = new QLabel(tabContacts); + StatusLabel->setObjectName(QString::fromUtf8("StatusLabel")); + StatusLabel->setGeometry(QRect(20, 125, 41, 21)); + QFont font; + font.setPointSize(5); + StatusLabel->setFont(font); + StatusTextBox = new QTextEdit(tabContacts); + StatusTextBox->setObjectName(QString::fromUtf8("StatusTextBox")); + StatusTextBox->setGeometry(QRect(20, 160, 351, 61)); + StatusTextBox->setFrameShape(QFrame::StyledPanel); + StatusTextBox->setFrameShadow(QFrame::Sunken); + StatusUpdatebtn = new QPushButton(tabContacts); + StatusUpdatebtn->setObjectName(QString::fromUtf8("StatusUpdatebtn")); + StatusUpdatebtn->setGeometry(QRect(380, 170, 71, 31)); + QFont font1; + font1.setPointSize(5); + font1.setKerning(false); + StatusUpdatebtn->setFont(font1); + StatusUpdatebtn->setCheckable(true); + StatusUpdatebtn->setChecked(true); + MyStatusLabel = new QLabel(tabContacts); + MyStatusLabel->setObjectName(QString::fromUtf8("MyStatusLabel")); + MyStatusLabel->setGeometry(QRect(80, 120, 221, 31)); + QPalette palette1; + QBrush brush2(QColor(244, 213, 255, 255)); + brush2.setStyle(Qt::SolidPattern); + palette1.setBrush(QPalette::Active, QPalette::Text, brush2); + palette1.setBrush(QPalette::Inactive, QPalette::Text, brush2); + palette1.setBrush(QPalette::Disabled, QPalette::Text, brush1); + MyStatusLabel->setPalette(palette1); + QFont font2; + font2.setPointSize(6); + font2.setItalic(true); + font2.setStyleStrategy(QFont::NoAntialias); + MyStatusLabel->setFont(font2); + MyStatusLabel->setMouseTracking(false); + MyStatusLabel->setTextFormat(Qt::AutoText); + QIcon icon3; + icon3.addFile(QString::fromUtf8(":/Icons/Contacts"), QSize(), QIcon::Normal, QIcon::On); + tabWidget->addTab(tabContacts, icon3, QString()); + PhotoesTab = new QWidget(); + PhotoesTab->setObjectName(QString::fromUtf8("PhotoesTab")); + treeContactMusic_2 = new QTreeWidget(PhotoesTab); + treeContactMusic_2->setObjectName(QString::fromUtf8("treeContactMusic_2")); + treeContactMusic_2->setGeometry(QRect(10, 10, 391, 181)); + treeContactMusic_2->setFrameShape(QFrame::WinPanel); + treeContactMusic_2->setEditTriggers(QAbstractItemView::NoEditTriggers); + treeMusicAll_3 = new QTreeWidget(PhotoesTab); + treeMusicAll_3->setObjectName(QString::fromUtf8("treeMusicAll_3")); + treeMusicAll_3->setGeometry(QRect(10, 20, 391, 181)); + treeMusicAll_3->setFrameShape(QFrame::WinPanel); + treeMusicAll_3->setEditTriggers(QAbstractItemView::EditKeyPressed); + pushBackPhoto = new QPushButton(PhotoesTab); + pushBackPhoto->setObjectName(QString::fromUtf8("pushBackPhoto")); + pushBackPhoto->setGeometry(QRect(430, 20, 41, 31)); + pushBackPhoto->setIcon(icon1); + pushBackPhoto->setIconSize(QSize(24, 24)); + QIcon icon4; + icon4.addFile(QString::fromUtf8(":/Images/Icons/Photo.svg"), QSize(), QIcon::Normal, QIcon::On); + tabWidget->addTab(PhotoesTab, icon4, QString()); + Music = new QWidget(); + Music->setObjectName(QString::fromUtf8("Music")); + treeMusicAll = new QTreeWidget(Music); + treeMusicAll->setObjectName(QString::fromUtf8("treeMusicAll")); + treeMusicAll->setGeometry(QRect(10, 20, 391, 181)); + treeMusicAll->setFrameShape(QFrame::WinPanel); + treeMusicAll->setEditTriggers(QAbstractItemView::EditKeyPressed); + treeContactMusic = new QTreeWidget(Music); + treeContactMusic->setObjectName(QString::fromUtf8("treeContactMusic")); + treeContactMusic->setGeometry(QRect(10, 10, 391, 171)); + treeContactMusic->setFrameShape(QFrame::WinPanel); + pushBackMusic = new QPushButton(Music); + pushBackMusic->setObjectName(QString::fromUtf8("pushBackMusic")); + pushBackMusic->setGeometry(QRect(430, 20, 41, 31)); + pushBackMusic->setIcon(icon1); + pushBackMusic->setIconSize(QSize(24, 24)); + QIcon icon5; + icon5.addFile(QString::fromUtf8(":/Icons/Music"), QSize(), QIcon::Normal, QIcon::On); + tabWidget->addTab(Music, icon5, QString()); + tabVideo = new QWidget(); + tabVideo->setObjectName(QString::fromUtf8("tabVideo")); + treeContactMusic_3 = new QTreeWidget(tabVideo); + treeContactMusic_3->setObjectName(QString::fromUtf8("treeContactMusic_3")); + treeContactMusic_3->setGeometry(QRect(10, 10, 391, 191)); + treeContactMusic_3->setFrameShape(QFrame::WinPanel); + treeMusicAll_2 = new QTreeWidget(tabVideo); + treeMusicAll_2->setObjectName(QString::fromUtf8("treeMusicAll_2")); + treeMusicAll_2->setGeometry(QRect(10, 10, 391, 181)); + treeMusicAll_2->setFrameShape(QFrame::WinPanel); + treeMusicAll_2->setEditTriggers(QAbstractItemView::EditKeyPressed); + pushBackVideo = new QPushButton(tabVideo); + pushBackVideo->setObjectName(QString::fromUtf8("pushBackVideo")); + pushBackVideo->setGeometry(QRect(420, 20, 40, 30)); + pushBackVideo->setIcon(icon1); + pushBackVideo->setIconSize(QSize(24, 24)); + QIcon icon6; + icon6.addFile(QString::fromUtf8(":/Images/Icons/Video.svg"), QSize(), QIcon::Normal, QIcon::On); + tabWidget->addTab(tabVideo, icon6, QString()); + tabChat = new QWidget(); + tabChat->setObjectName(QString::fromUtf8("tabChat")); + textEdit = new QTextEdit(tabChat); + textEdit->setObjectName(QString::fromUtf8("textEdit")); + textEdit->setGeometry(QRect(10, 20, 401, 121)); + textEdit->setReadOnly(true); + textEdit->setHtml(QString::fromUtf8("\n" +"\n" +"

")); + textInput = new QTextEdit(tabChat); + textInput->setObjectName(QString::fromUtf8("textInput")); + textInput->setGeometry(QRect(10, 150, 311, 71)); + pushButton_5 = new QPushButton(tabChat); + pushButton_5->setObjectName(QString::fromUtf8("pushButton_5")); + pushButton_5->setGeometry(QRect(330, 150, 77, 31)); + pushButton_5->setAutoDefault(true); + pushButton_6 = new QPushButton(tabChat); + pushButton_6->setObjectName(QString::fromUtf8("pushButton_6")); + pushButton_6->setGeometry(QRect(330, 190, 81, 31)); + pushButton_7 = new QPushButton(tabChat); + pushButton_7->setObjectName(QString::fromUtf8("pushButton_7")); + pushButton_7->setGeometry(QRect(420, 150, 41, 31)); + QIcon icon7; + icon7.addFile(QString::fromUtf8(":/Icons/Icons/happy.ico"), QSize(), QIcon::Normal, QIcon::Off); + pushButton_7->setIcon(icon7); + pushButton_7->setIconSize(QSize(24, 24)); + pushButton_8 = new QPushButton(tabChat); + pushButton_8->setObjectName(QString::fromUtf8("pushButton_8")); + pushButton_8->setGeometry(QRect(420, 190, 41, 31)); + QIcon icon8; + icon8.addFile(QString::fromUtf8(":/Icons/Icons/Close 2.ico"), QSize(), QIcon::Normal, QIcon::Off); + pushButton_8->setIcon(icon8); + pushButton_8->setIconSize(QSize(24, 24)); + pushBackChat = new QPushButton(tabChat); + pushBackChat->setObjectName(QString::fromUtf8("pushBackChat")); + pushBackChat->setGeometry(QRect(430, 20, 40, 30)); + pushBackChat->setIcon(icon1); + pushBackChat->setIconSize(QSize(24, 24)); + QIcon icon9; + icon9.addFile(QString::fromUtf8(":/Icons/Chat"), QSize(), QIcon::Normal, QIcon::On); + tabWidget->addTab(tabChat, icon9, QString()); + MainWindow->setCentralWidget(centralWidget); + QWidget::setTabOrder(textInput, pushButton_5); + QWidget::setTabOrder(pushButton_5, pushButton_7); + QWidget::setTabOrder(pushButton_7, pushButton_6); + QWidget::setTabOrder(pushButton_6, pushButton_8); + QWidget::setTabOrder(pushButton_8, tabWidget); + QWidget::setTabOrder(tabWidget, textEdit); + + retranslateUi(MainWindow); + + tabWidget->setCurrentIndex(0); + + + QMetaObject::connectSlotsByName(MainWindow); + } // setupUi + + void retranslateUi(QMainWindow *MainWindow) + { + MainWindow->setWindowTitle(QApplication::translate("MainWindow", "Local Sharing", 0, QApplication::UnicodeUTF8)); + tabWidget->setTabText(tabWidget->indexOf(tabVivek), QApplication::translate("MainWindow", "Contact", 0, QApplication::UnicodeUTF8)); + StatusLabel->setText(QApplication::translate("MainWindow", "Status:", 0, QApplication::UnicodeUTF8)); + StatusUpdatebtn->setText(QApplication::translate("MainWindow", "Update", 0, QApplication::UnicodeUTF8)); + MyStatusLabel->setText(QApplication::translate("MainWindow", "Status shown here", 0, QApplication::UnicodeUTF8)); + tabWidget->setTabText(tabWidget->indexOf(tabContacts), QApplication::translate("MainWindow", "Contacts", 0, QApplication::UnicodeUTF8)); + QTreeWidgetItem *___qtreewidgetitem = treeContactMusic_2->headerItem(); + ___qtreewidgetitem->setText(0, QApplication::translate("MainWindow", "Photos", 0, QApplication::UnicodeUTF8)); + QTreeWidgetItem *___qtreewidgetitem1 = treeMusicAll_3->headerItem(); + ___qtreewidgetitem1->setText(0, QApplication::translate("MainWindow", "Album", 0, QApplication::UnicodeUTF8)); + tabWidget->setTabText(tabWidget->indexOf(PhotoesTab), QApplication::translate("MainWindow", "Photos", 0, QApplication::UnicodeUTF8)); + QTreeWidgetItem *___qtreewidgetitem2 = treeMusicAll->headerItem(); + ___qtreewidgetitem2->setText(0, QApplication::translate("MainWindow", "Album", 0, QApplication::UnicodeUTF8)); + QTreeWidgetItem *___qtreewidgetitem3 = treeContactMusic->headerItem(); + ___qtreewidgetitem3->setText(0, QApplication::translate("MainWindow", "Songs", 0, QApplication::UnicodeUTF8)); + tabWidget->setTabText(tabWidget->indexOf(Music), QApplication::translate("MainWindow", "Music", 0, QApplication::UnicodeUTF8)); + QTreeWidgetItem *___qtreewidgetitem4 = treeContactMusic_3->headerItem(); + ___qtreewidgetitem4->setText(0, QApplication::translate("MainWindow", "Videos", 0, QApplication::UnicodeUTF8)); + QTreeWidgetItem *___qtreewidgetitem5 = treeMusicAll_2->headerItem(); + ___qtreewidgetitem5->setText(0, QApplication::translate("MainWindow", "Album", 0, QApplication::UnicodeUTF8)); + tabWidget->setTabText(tabWidget->indexOf(tabVideo), QApplication::translate("MainWindow", "Videos", 0, QApplication::UnicodeUTF8)); + pushButton_5->setText(QApplication::translate("MainWindow", "Enter", 0, QApplication::UnicodeUTF8)); + pushButton_6->setText(QApplication::translate("MainWindow", "Share", 0, QApplication::UnicodeUTF8)); + tabWidget->setTabText(tabWidget->indexOf(tabChat), QApplication::translate("MainWindow", "Chat", 0, QApplication::UnicodeUTF8)); + } // retranslateUi + +}; + +namespace Ui { + class MainWindow: public Ui_MainWindow {}; +} // namespace Ui + +QT_END_NAMESPACE + +#endif // UI_MAINWINDOW_H