Accueil > > > MiniChat/Client/ui_mainwindow.h
QL-CHATROOM V 1.0
MiniChat/Client/ui_mainwindow.h
Informations sur ce code source
Qualité ChatRoom v 1.0
Une application de chat, genre salon de chat avec un administrateur.
Programmer par C++, bibliothèque Qt architecture client/serveur.
Les sockets sont échangés entre les clients et le serveur par le protocole réseau T
Fichier : MiniChat/Client/ui_mainwindow.h
Nombre de lignes : 643 lignes
Afficher ce fichier en plein écran
- /********************************************************************************
- ** Form generated from reading UI file 'mainwindow.ui'
- **
- ** Created: Fri 2. Mar 12:35:11 2012
- ** by: Qt User Interface Compiler version 4.7.4
- **
- ** WARNING! All changes made in this file will be lost when recompiling UI file!
- ********************************************************************************/
-
- #ifndef UI_MAINWINDOW_H
- #define UI_MAINWINDOW_H
-
- #include <QtCore/QVariant>
- #include <QtGui/QAction>
- #include <QtGui/QApplication>
- #include <QtGui/QButtonGroup>
- #include <QtGui/QComboBox>
- #include <QtGui/QFormLayout>
- #include <QtGui/QFrame>
- #include <QtGui/QGridLayout>
- #include <QtGui/QGroupBox>
- #include <QtGui/QHBoxLayout>
- #include <QtGui/QHeaderView>
- #include <QtGui/QLabel>
- #include <QtGui/QLineEdit>
- #include <QtGui/QListWidget>
- #include <QtGui/QMainWindow>
- #include <QtGui/QMenu>
- #include <QtGui/QMenuBar>
- #include <QtGui/QPushButton>
- #include <QtGui/QSpacerItem>
- #include <QtGui/QStackedWidget>
- #include <QtGui/QTextEdit>
- #include <QtGui/QVBoxLayout>
- #include <QtGui/QWidget>
-
- QT_BEGIN_NAMESPACE
-
- class Ui_MainWindow
- {
- public:
- QAction *actionQuit;
- QAction *actionDeconexion;
- QAction *actionChanger_avatare;
- QAction *actionApropos;
- QAction *actionApropos_du_Qt;
- QAction *action;
- QAction *actionChanger_statut;
- QWidget *centralwidget;
- QStackedWidget *stackedWidget;
- QWidget *loginPage;
- QFrame *frame;
- QGridLayout *gridLayout;
- QHBoxLayout *horizontalLayout_6;
- QLabel *label_5;
- QSpacerItem *horizontalSpacer_7;
- QHBoxLayout *horizontalLayout_4;
- QSpacerItem *horizontalSpacer_2;
- QLabel *label_3;
- QSpacerItem *horizontalSpacer_3;
- QFormLayout *formLayout;
- QLabel *label;
- QLineEdit *ip;
- QLabel *label_2;
- QLineEdit *pseudo;
- QLabel *label_6;
- QComboBox *statutComboBox;
- QSpacerItem *verticalSpacer;
- QHBoxLayout *horizontalLayout_7;
- QSpacerItem *horizontalSpacer_8;
- QPushButton *login;
- QSpacerItem *horizontalSpacer_9;
- QSpacerItem *verticalSpacer_2;
- QLabel *label_4;
- QSpacerItem *verticalSpacer_4;
- QWidget *chatPage;
- QWidget *layoutWidget;
- QGridLayout *gridLayout_4;
- QGridLayout *gridLayout_3;
- QHBoxLayout *horizontalLayout_3;
- QSpacerItem *horizontalSpacer_4;
- QLabel *bienvenu;
- QSpacerItem *horizontalSpacer_5;
- QVBoxLayout *verticalLayout;
- QTextEdit *screen;
- QHBoxLayout *horizontalLayout;
- QPushButton *emoticonsButton;
- QPushButton *boldButton;
- QPushButton *italicButton;
- QPushButton *underlinedButton;
- QPushButton *colorButton;
- QPushButton *msgPriveeButton;
- QSpacerItem *horizontalSpacer;
- QHBoxLayout *horizontalLayout_2;
- QLineEdit *sayLineEdit;
- QPushButton *sayButton;
- QListWidget *usrList;
- QHBoxLayout *horizontalLayout_5;
- QGroupBox *AdminPanel;
- QHBoxLayout *horizontalLayout_9;
- QPushButton *Bloquer;
- QPushButton *debloquer;
- QSpacerItem *verticalSpacer_3;
- QHBoxLayout *horizontalLayout_8;
- QGroupBox *messagePrivee;
- QGridLayout *gridLayout_2;
- QTextEdit *screenP;
- QLineEdit *sayPLineEdit;
- QPushButton *sayPButton;
- QMenuBar *menubar;
- QMenu *menuFichier;
- QMenu *menuOption;
- QMenu *menu_Aide;
-
- void setupUi(QMainWindow *MainWindow)
- {
- if (MainWindow->objectName().isEmpty())
- MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
- MainWindow->resize(600, 600);
- QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
- sizePolicy.setHorizontalStretch(0);
- sizePolicy.setVerticalStretch(0);
- sizePolicy.setHeightForWidth(MainWindow->sizePolicy().hasHeightForWidth());
- MainWindow->setSizePolicy(sizePolicy);
- MainWindow->setMinimumSize(QSize(240, 400));
- MainWindow->setMaximumSize(QSize(1366, 768));
- QIcon icon;
- icon.addFile(QString::fromUtf8(":/img/logo.png"), QSize(), QIcon::Normal, QIcon::Off);
- MainWindow->setWindowIcon(icon);
- MainWindow->setStyleSheet(QString::fromUtf8("background-color: rgb(85, 170, 255);"));
- actionQuit = new QAction(MainWindow);
- actionQuit->setObjectName(QString::fromUtf8("actionQuit"));
- actionDeconexion = new QAction(MainWindow);
- actionDeconexion->setObjectName(QString::fromUtf8("actionDeconexion"));
- actionChanger_avatare = new QAction(MainWindow);
- actionChanger_avatare->setObjectName(QString::fromUtf8("actionChanger_avatare"));
- actionApropos = new QAction(MainWindow);
- actionApropos->setObjectName(QString::fromUtf8("actionApropos"));
- actionApropos_du_Qt = new QAction(MainWindow);
- actionApropos_du_Qt->setObjectName(QString::fromUtf8("actionApropos_du_Qt"));
- action = new QAction(MainWindow);
- action->setObjectName(QString::fromUtf8("action"));
- actionChanger_statut = new QAction(MainWindow);
- actionChanger_statut->setObjectName(QString::fromUtf8("actionChanger_statut"));
- centralwidget = new QWidget(MainWindow);
- centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
- centralwidget->setStyleSheet(QString::fromUtf8(""));
- stackedWidget = new QStackedWidget(centralwidget);
- stackedWidget->setObjectName(QString::fromUtf8("stackedWidget"));
- stackedWidget->setGeometry(QRect(0, 0, 600, 600));
- stackedWidget->setStyleSheet(QString::fromUtf8(""));
- loginPage = new QWidget();
- loginPage->setObjectName(QString::fromUtf8("loginPage"));
- frame = new QFrame(loginPage);
- frame->setObjectName(QString::fromUtf8("frame"));
- frame->setGeometry(QRect(0, 0, 240, 420));
- frame->setMinimumSize(QSize(240, 420));
- frame->setMaximumSize(QSize(240, 400));
- frame->setStyleSheet(QString::fromUtf8("background-color: rgb(85, 170, 255);"));
- frame->setFrameShape(QFrame::StyledPanel);
- frame->setFrameShadow(QFrame::Plain);
- gridLayout = new QGridLayout(frame);
- gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
- horizontalLayout_6 = new QHBoxLayout();
- horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
- label_5 = new QLabel(frame);
- label_5->setObjectName(QString::fromUtf8("label_5"));
- QFont font;
- font.setFamily(QString::fromUtf8("Elephant"));
- font.setPointSize(12);
- font.setBold(false);
- font.setItalic(true);
- font.setWeight(50);
- font.setKerning(false);
- label_5->setFont(font);
- label_5->setFrameShape(QFrame::NoFrame);
- label_5->setFrameShadow(QFrame::Sunken);
- label_5->setLineWidth(2);
- label_5->setMidLineWidth(1);
- label_5->setMargin(0);
- label_5->setIndent(2);
- label_5->setOpenExternalLinks(false);
-
- horizontalLayout_6->addWidget(label_5);
-
- horizontalSpacer_7 = new QSpacerItem(30, 17, QSizePolicy::Expanding, QSizePolicy::Minimum);
-
- horizontalLayout_6->addItem(horizontalSpacer_7);
-
-
- gridLayout->addLayout(horizontalLayout_6, 0, 0, 1, 1);
-
- horizontalLayout_4 = new QHBoxLayout();
- horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
- horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
-
- horizontalLayout_4->addItem(horizontalSpacer_2);
-
- label_3 = new QLabel(frame);
- label_3->setObjectName(QString::fromUtf8("label_3"));
-
- horizontalLayout_4->addWidget(label_3);
-
- horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
-
- horizontalLayout_4->addItem(horizontalSpacer_3);
-
-
- gridLayout->addLayout(horizontalLayout_4, 1, 0, 1, 1);
-
- formLayout = new QFormLayout();
- formLayout->setObjectName(QString::fromUtf8("formLayout"));
- formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
- label = new QLabel(frame);
- label->setObjectName(QString::fromUtf8("label"));
- QFont font1;
- font1.setFamily(QString::fromUtf8("Tahoma"));
- font1.setPointSize(12);
- font1.setBold(false);
- font1.setWeight(50);
- label->setFont(font1);
- label->setStyleSheet(QString::fromUtf8(""));
-
- formLayout->setWidget(0, QFormLayout::LabelRole, label);
-
- ip = new QLineEdit(frame);
- ip->setObjectName(QString::fromUtf8("ip"));
- QFont font2;
- font2.setFamily(QString::fromUtf8("Times New Roman"));
- font2.setPointSize(12);
- ip->setFont(font2);
- ip->setStyleSheet(QString::fromUtf8("background-color: rgb(238, 250, 255);"));
-
- formLayout->setWidget(0, QFormLayout::FieldRole, ip);
-
- label_2 = new QLabel(frame);
- label_2->setObjectName(QString::fromUtf8("label_2"));
- label_2->setFont(font1);
- label_2->setStyleSheet(QString::fromUtf8(""));
-
- formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
-
- pseudo = new QLineEdit(frame);
- pseudo->setObjectName(QString::fromUtf8("pseudo"));
- pseudo->setFont(font2);
- pseudo->setStyleSheet(QString::fromUtf8("\n"
- "background-color: rgb(238, 250, 255);"));
-
- formLayout->setWidget(1, QFormLayout::FieldRole, pseudo);
-
- label_6 = new QLabel(frame);
- label_6->setObjectName(QString::fromUtf8("label_6"));
- QFont font3;
- font3.setFamily(QString::fromUtf8("Tahoma"));
- font3.setPointSize(12);
- label_6->setFont(font3);
-
- formLayout->setWidget(2, QFormLayout::LabelRole, label_6);
-
- statutComboBox = new QComboBox(frame);
- statutComboBox->setObjectName(QString::fromUtf8("statutComboBox"));
-
- formLayout->setWidget(2, QFormLayout::FieldRole, statutComboBox);
-
-
- gridLayout->addLayout(formLayout, 2, 0, 1, 1);
-
- verticalSpacer = new QSpacerItem(20, 55, QSizePolicy::Minimum, QSizePolicy::Expanding);
-
- gridLayout->addItem(verticalSpacer, 3, 0, 1, 1);
-
- horizontalLayout_7 = new QHBoxLayout();
- horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7"));
- horizontalSpacer_8 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
-
- horizontalLayout_7->addItem(horizontalSpacer_8);
-
- login = new QPushButton(frame);
- login->setObjectName(QString::fromUtf8("login"));
- login->setMinimumSize(QSize(200, 47));
- QPalette palette;
- QBrush brush(QColor(85, 170, 255, 255));
- brush.setStyle(Qt::SolidPattern);
- palette.setBrush(QPalette::Active, QPalette::Button, brush);
- palette.setBrush(QPalette::Active, QPalette::Base, brush);
- palette.setBrush(QPalette::Active, QPalette::Window, brush);
- palette.setBrush(QPalette::Inactive, QPalette::Button, brush);
- palette.setBrush(QPalette::Inactive, QPalette::Base, brush);
- palette.setBrush(QPalette::Inactive, QPalette::Window, brush);
- palette.setBrush(QPalette::Disabled, QPalette::Button, brush);
- palette.setBrush(QPalette::Disabled, QPalette::Base, brush);
- palette.setBrush(QPalette::Disabled, QPalette::Window, brush);
- login->setPalette(palette);
- QFont font4;
- font4.setFamily(QString::fromUtf8("Tw Cen MT Condensed"));
- font4.setPointSize(12);
- font4.setBold(true);
- font4.setWeight(75);
- login->setFont(font4);
- login->setAutoFillBackground(false);
- login->setStyleSheet(QString::fromUtf8("image: url(:/img/connexion.png);\n"
- "border-color: rgb(0, 0, 255);"));
- login->setAutoDefault(true);
- login->setDefault(true);
- login->setFlat(false);
-
- horizontalLayout_7->addWidget(login);
-
- horizontalSpacer_9 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
-
- horizontalLayout_7->addItem(horizontalSpacer_9);
-
-
- gridLayout->addLayout(horizontalLayout_7, 4, 0, 1, 1);
-
- verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
-
- gridLayout->addItem(verticalSpacer_2, 5, 0, 1, 1);
-
- label_4 = new QLabel(frame);
- label_4->setObjectName(QString::fromUtf8("label_4"));
- QFont font5;
- font5.setUnderline(true);
- label_4->setFont(font5);
-
- gridLayout->addWidget(label_4, 6, 0, 1, 1);
-
- verticalSpacer_4 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
-
- gridLayout->addItem(verticalSpacer_4, 7, 0, 1, 1);
-
- stackedWidget->addWidget(loginPage);
- chatPage = new QWidget();
- chatPage->setObjectName(QString::fromUtf8("chatPage"));
- QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
- sizePolicy1.setHorizontalStretch(0);
- sizePolicy1.setVerticalStretch(0);
- sizePolicy1.setHeightForWidth(chatPage->sizePolicy().hasHeightForWidth());
- chatPage->setSizePolicy(sizePolicy1);
- chatPage->setMinimumSize(QSize(600, 400));
- chatPage->setMaximumSize(QSize(600, 600));
- layoutWidget = new QWidget(chatPage);
- layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
- layoutWidget->setGeometry(QRect(0, 0, 591, 571));
- gridLayout_4 = new QGridLayout(layoutWidget);
- gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
- gridLayout_4->setContentsMargins(0, 0, 0, 0);
- gridLayout_3 = new QGridLayout();
- gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
- horizontalLayout_3 = new QHBoxLayout();
- horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
- horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
-
- horizontalLayout_3->addItem(horizontalSpacer_4);
-
- bienvenu = new QLabel(layoutWidget);
- bienvenu->setObjectName(QString::fromUtf8("bienvenu"));
- QFont font6;
- font6.setFamily(QString::fromUtf8("Arial Black"));
- font6.setPointSize(12);
- font6.setBold(true);
- font6.setWeight(75);
- bienvenu->setFont(font6);
-
- horizontalLayout_3->addWidget(bienvenu);
-
- horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
-
- horizontalLayout_3->addItem(horizontalSpacer_5);
-
-
- gridLayout_3->addLayout(horizontalLayout_3, 0, 0, 1, 1);
-
- verticalLayout = new QVBoxLayout();
- verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
- screen = new QTextEdit(layoutWidget);
- screen->setObjectName(QString::fromUtf8("screen"));
- screen->setStyleSheet(QString::fromUtf8("background-color: rgb(240, 248, 255);"));
- screen->setReadOnly(true);
-
- verticalLayout->addWidget(screen);
-
- horizontalLayout = new QHBoxLayout();
- horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
- emoticonsButton = new QPushButton(layoutWidget);
- emoticonsButton->setObjectName(QString::fromUtf8("emoticonsButton"));
-
- horizontalLayout->addWidget(emoticonsButton);
-
- boldButton = new QPushButton(layoutWidget);
- boldButton->setObjectName(QString::fromUtf8("boldButton"));
- boldButton->setMinimumSize(QSize(20, 0));
- QFont font7;
- font7.setBold(true);
- font7.setWeight(75);
- boldButton->setFont(font7);
- boldButton->setStyleSheet(QString::fromUtf8(""));
- boldButton->setCheckable(true);
-
- horizontalLayout->addWidget(boldButton);
-
- italicButton = new QPushButton(layoutWidget);
- italicButton->setObjectName(QString::fromUtf8("italicButton"));
- italicButton->setMinimumSize(QSize(20, 0));
- QFont font8;
- font8.setItalic(true);
- italicButton->setFont(font8);
- italicButton->setCheckable(true);
-
- horizontalLayout->addWidget(italicButton);
-
- underlinedButton = new QPushButton(layoutWidget);
- underlinedButton->setObjectName(QString::fromUtf8("underlinedButton"));
- underlinedButton->setMinimumSize(QSize(20, 0));
- underlinedButton->setFont(font5);
- underlinedButton->setCheckable(true);
-
- horizontalLayout->addWidget(underlinedButton);
-
- colorButton = new QPushButton(layoutWidget);
- colorButton->setObjectName(QString::fromUtf8("colorButton"));
-
- horizontalLayout->addWidget(colorButton);
-
- msgPriveeButton = new QPushButton(layoutWidget);
- msgPriveeButton->setObjectName(QString::fromUtf8("msgPriveeButton"));
- msgPriveeButton->setCheckable(true);
-
- horizontalLayout->addWidget(msgPriveeButton);
-
- horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
-
- horizontalLayout->addItem(horizontalSpacer);
-
-
- verticalLayout->addLayout(horizontalLayout);
-
- horizontalLayout_2 = new QHBoxLayout();
- horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
- sayLineEdit = new QLineEdit(layoutWidget);
- sayLineEdit->setObjectName(QString::fromUtf8("sayLineEdit"));
- sayLineEdit->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
-
- horizontalLayout_2->addWidget(sayLineEdit);
-
- sayButton = new QPushButton(layoutWidget);
- sayButton->setObjectName(QString::fromUtf8("sayButton"));
- sayButton->setAutoDefault(true);
- sayButton->setDefault(true);
-
- horizontalLayout_2->addWidget(sayButton);
-
-
- verticalLayout->addLayout(horizontalLayout_2);
-
-
- gridLayout_3->addLayout(verticalLayout, 1, 0, 1, 1);
-
- usrList = new QListWidget(layoutWidget);
- usrList->setObjectName(QString::fromUtf8("usrList"));
- QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Preferred);
- sizePolicy2.setHorizontalStretch(0);
- sizePolicy2.setVerticalStretch(0);
- sizePolicy2.setHeightForWidth(usrList->sizePolicy().hasHeightForWidth());
- usrList->setSizePolicy(sizePolicy2);
- usrList->setMinimumSize(QSize(150, 300));
- usrList->setMaximumSize(QSize(150, 420));
- usrList->setBaseSize(QSize(0, 500));
- usrList->setStyleSheet(QString::fromUtf8("background-color: rgb(146, 204, 255);"));
- usrList->setIconSize(QSize(30, 30));
-
- gridLayout_3->addWidget(usrList, 1, 1, 1, 1);
-
- horizontalLayout_5 = new QHBoxLayout();
- horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
- AdminPanel = new QGroupBox(layoutWidget);
- AdminPanel->setObjectName(QString::fromUtf8("AdminPanel"));
- AdminPanel->setMinimumSize(QSize(150, 0));
- horizontalLayout_9 = new QHBoxLayout(AdminPanel);
- horizontalLayout_9->setObjectName(QString::fromUtf8("horizontalLayout_9"));
- Bloquer = new QPushButton(AdminPanel);
- Bloquer->setObjectName(QString::fromUtf8("Bloquer"));
-
- horizontalLayout_9->addWidget(Bloquer);
-
- debloquer = new QPushButton(AdminPanel);
- debloquer->setObjectName(QString::fromUtf8("debloquer"));
-
- horizontalLayout_9->addWidget(debloquer);
-
-
- horizontalLayout_5->addWidget(AdminPanel);
-
-
- gridLayout_3->addLayout(horizontalLayout_5, 0, 1, 1, 1);
-
-
- gridLayout_4->addLayout(gridLayout_3, 0, 0, 1, 1);
-
- verticalSpacer_3 = new QSpacerItem(20, 13, QSizePolicy::Minimum, QSizePolicy::Expanding);
-
- gridLayout_4->addItem(verticalSpacer_3, 1, 0, 1, 1);
-
- horizontalLayout_8 = new QHBoxLayout();
- horizontalLayout_8->setObjectName(QString::fromUtf8("horizontalLayout_8"));
- horizontalLayout_8->setSizeConstraint(QLayout::SetDefaultConstraint);
- messagePrivee = new QGroupBox(layoutWidget);
- messagePrivee->setObjectName(QString::fromUtf8("messagePrivee"));
- gridLayout_2 = new QGridLayout(messagePrivee);
- gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
- screenP = new QTextEdit(messagePrivee);
- screenP->setObjectName(QString::fromUtf8("screenP"));
- screenP->setStyleSheet(QString::fromUtf8("background-color: rgb(240, 248, 255);"));
-
- gridLayout_2->addWidget(screenP, 0, 0, 1, 2);
-
- sayPLineEdit = new QLineEdit(messagePrivee);
- sayPLineEdit->setObjectName(QString::fromUtf8("sayPLineEdit"));
- sayPLineEdit->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
-
- gridLayout_2->addWidget(sayPLineEdit, 1, 0, 1, 1);
-
- sayPButton = new QPushButton(messagePrivee);
- sayPButton->setObjectName(QString::fromUtf8("sayPButton"));
- sayPButton->setAutoDefault(true);
- sayPButton->setDefault(true);
-
- gridLayout_2->addWidget(sayPButton, 1, 1, 1, 1);
-
-
- horizontalLayout_8->addWidget(messagePrivee);
-
-
- gridLayout_4->addLayout(horizontalLayout_8, 2, 0, 1, 1);
-
- stackedWidget->addWidget(chatPage);
- MainWindow->setCentralWidget(centralwidget);
- menubar = new QMenuBar(MainWindow);
- menubar->setObjectName(QString::fromUtf8("menubar"));
- menubar->setGeometry(QRect(0, 0, 600, 21));
- menubar->setMinimumSize(QSize(240, 21));
- menubar->setMaximumSize(QSize(600, 21));
- menubar->setStyleSheet(QString::fromUtf8(""));
- menuFichier = new QMenu(menubar);
- menuFichier->setObjectName(QString::fromUtf8("menuFichier"));
- menuOption = new QMenu(menubar);
- menuOption->setObjectName(QString::fromUtf8("menuOption"));
- menu_Aide = new QMenu(menubar);
- menu_Aide->setObjectName(QString::fromUtf8("menu_Aide"));
- MainWindow->setMenuBar(menubar);
- #ifndef QT_NO_SHORTCUT
- label->setBuddy(ip);
- label_2->setBuddy(pseudo);
- label_6->setBuddy(statutComboBox);
- #endif // QT_NO_SHORTCUT
-
- menubar->addAction(menuFichier->menuAction());
- menubar->addAction(menuOption->menuAction());
- menubar->addAction(menu_Aide->menuAction());
- menuFichier->addAction(actionDeconexion);
- menuFichier->addAction(actionQuit);
- menuOption->addAction(actionChanger_avatare);
- menuOption->addAction(actionChanger_statut);
- menu_Aide->addAction(actionApropos);
- menu_Aide->addAction(actionApropos_du_Qt);
-
- retranslateUi(MainWindow);
-
- stackedWidget->setCurrentIndex(1);
-
-
- QMetaObject::connectSlotsByName(MainWindow);
- } // setupUi
-
- void retranslateUi(QMainWindow *MainWindow)
- {
- MainWindow->setWindowTitle(QApplication::translate("MainWindow", "Qualit\303\251 ChatRoom", 0, QApplication::UnicodeUTF8));
- actionQuit->setText(QApplication::translate("MainWindow", "Quit", 0, QApplication::UnicodeUTF8));
- actionDeconexion->setText(QApplication::translate("MainWindow", "D\303\251conexion", 0, QApplication::UnicodeUTF8));
- actionChanger_avatare->setText(QApplication::translate("MainWindow", "Changer avatare", 0, QApplication::UnicodeUTF8));
- actionApropos->setText(QApplication::translate("MainWindow", "Apropos", 0, QApplication::UnicodeUTF8));
- actionApropos_du_Qt->setText(QApplication::translate("MainWindow", "Apropos du Qt", 0, QApplication::UnicodeUTF8));
- action->setText(QApplication::translate("MainWindow", "&Plein ecran", 0, QApplication::UnicodeUTF8));
- actionChanger_statut->setText(QApplication::translate("MainWindow", "Changer votre statut", 0, QApplication::UnicodeUTF8));
- label_5->setText(QApplication::translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
- "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
- "p, li { white-space: pre-wrap; }\n"
- "</style></head><body style=\" font-family:'Courier New'; font-size:12pt; font-weight:400; font-style:italic;\">\n"
- "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Courier'; font-style:normal;\">Se connecter \303\240</span></p>\n"
- "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:'Courier'; font-style:normal;\">Qualit\303\251 </span><span style=\" font-family:'Courier'; font-weight:600; font-style:normal;\">ChatRoom</span><span style=\" font-family:'Courier'; font-style:normal;\"> </span><img src=\":/img/logo.png\" /></p></body></html>", 0, QApplication::UnicodeUTF8));
- label_3->setText(QApplication::translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
- "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
- "p, li { white-space: pre-wrap; }\n"
- "</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
- "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><img src=\":/img/glob.png\" /></p></body></html>", 0, QApplication::UnicodeUTF8));
- label->setText(QApplication::translate("MainWindow", "&Serveur:", 0, QApplication::UnicodeUTF8));
- label_2->setText(QApplication::translate("MainWindow", "&Pseudo:", 0, QApplication::UnicodeUTF8));
- label_6->setText(QApplication::translate("MainWindow", "Statut :", 0, QApplication::UnicodeUTF8));
- statutComboBox->clear();
- statutComboBox->insertItems(0, QStringList()
- << QApplication::translate("MainWindow", "Disponible", 0, QApplication::UnicodeUTF8)
- << QApplication::translate("MainWindow", "Occup\303\251", 0, QApplication::UnicodeUTF8)
- << QApplication::translate("MainWindow", "Apparaitre hors ligne", 0, QApplication::UnicodeUTF8)
- );
- login->setText(QString());
- label_4->setText(QApplication::translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
- "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
- "p, li { white-space: pre-wrap; }\n"
- "</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
- "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt; font-style:italic; color:#ffffff;\">Mini Projet C++ Biblioth\303\251que Qt 4 7 4</span></p></body></html>", 0, QApplication::UnicodeUTF8));
- bienvenu->setText(QApplication::translate("MainWindow", " MINI PROJET CPP : CHAT ROOM ", 0, QApplication::UnicodeUTF8));
- screen->setHtml(QApplication::translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
- "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
- "p, li { white-space: pre-wrap; }\n"
- "</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
- "<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>", 0, QApplication::UnicodeUTF8));
- emoticonsButton->setText(QApplication::translate("MainWindow", "Emoticons", 0, QApplication::UnicodeUTF8));
- boldButton->setText(QApplication::translate("MainWindow", "B", 0, QApplication::UnicodeUTF8));
- italicButton->setText(QApplication::translate("MainWindow", "I", 0, QApplication::UnicodeUTF8));
- underlinedButton->setText(QApplication::translate("MainWindow", "U", 0, QApplication::UnicodeUTF8));
- colorButton->setText(QApplication::translate("MainWindow", "Color", 0, QApplication::UnicodeUTF8));
- msgPriveeButton->setText(QApplication::translate("MainWindow", "MessagePriv\303\251", 0, QApplication::UnicodeUTF8));
- sayButton->setText(QApplication::translate("MainWindow", "Envoyer", 0, QApplication::UnicodeUTF8));
- AdminPanel->setTitle(QApplication::translate("MainWindow", "Admin", 0, QApplication::UnicodeUTF8));
- Bloquer->setText(QApplication::translate("MainWindow", "&Bloquer", 0, QApplication::UnicodeUTF8));
- debloquer->setText(QApplication::translate("MainWindow", "&D\303\251bloquer", 0, QApplication::UnicodeUTF8));
- messagePrivee->setTitle(QApplication::translate("MainWindow", "Message Priv\303\251e", 0, QApplication::UnicodeUTF8));
- sayPButton->setText(QApplication::translate("MainWindow", "Envoyer", 0, QApplication::UnicodeUTF8));
- menuFichier->setTitle(QApplication::translate("MainWindow", "Fichier", 0, QApplication::UnicodeUTF8));
- menuOption->setTitle(QApplication::translate("MainWindow", "Option", 0, QApplication::UnicodeUTF8));
- menu_Aide->setTitle(QApplication::translate("MainWindow", "&Aide", 0, QApplication::UnicodeUTF8));
- } // retranslateUi
-
- };
-
- namespace Ui {
- class MainWindow: public Ui_MainWindow {};
- } // namespace Ui
-
- QT_END_NAMESPACE
-
- #endif // UI_MAINWINDOW_H
|