ui_chatroom.h 5.92 KB
/********************************************************************************
** Form generated from reading UI file 'chatroom.ui'
**
** Created by: Qt User Interface Compiler version 5.0.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_CHATROOM_H
#define UI_CHATROOM_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QMenu>
#include <QtWidgets/QMenuBar>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QWidget>
#include "chatinputtext.h"
#include "chatwidget.h"

QT_BEGIN_NAMESPACE

class Ui_Chatroom
{
public:
    QAction *actionConnect;
    QAction *actionExit;
    QAction *actionDisconnect;
    QWidget *centralwidget;
    QGridLayout *gridLayout_2;
    QSplitter *windowSplitter;
    QWidget *chatWindow;
    QGridLayout *gridLayout;
    QSplitter *chatSplitter;
    ChatWidget *chatText;
    chatInputText *inputText;
    QListWidget *userList;
    QPushButton *sendButton;
    QMenuBar *menuBar;
    QMenu *menuChat;

    void setupUi(QMainWindow *Chatroom)
    {
        if (Chatroom->objectName().isEmpty())
            Chatroom->setObjectName(QStringLiteral("Chatroom"));
        Chatroom->resize(800, 600);
        actionConnect = new QAction(Chatroom);
        actionConnect->setObjectName(QStringLiteral("actionConnect"));
        actionExit = new QAction(Chatroom);
        actionExit->setObjectName(QStringLiteral("actionExit"));
        actionDisconnect = new QAction(Chatroom);
        actionDisconnect->setObjectName(QStringLiteral("actionDisconnect"));
        centralwidget = new QWidget(Chatroom);
        centralwidget->setObjectName(QStringLiteral("centralwidget"));
        gridLayout_2 = new QGridLayout(centralwidget);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        windowSplitter = new QSplitter(centralwidget);
        windowSplitter->setObjectName(QStringLiteral("windowSplitter"));
        windowSplitter->setOrientation(Qt::Horizontal);
        chatWindow = new QWidget(windowSplitter);
        chatWindow->setObjectName(QStringLiteral("chatWindow"));
        gridLayout = new QGridLayout(chatWindow);
        gridLayout->setSpacing(0);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        gridLayout->setContentsMargins(0, 0, 0, 0);
        chatSplitter = new QSplitter(chatWindow);
        chatSplitter->setObjectName(QStringLiteral("chatSplitter"));
        chatSplitter->setOrientation(Qt::Vertical);
        chatText = new ChatWidget(chatSplitter);
        chatText->setObjectName(QStringLiteral("chatText"));
        chatText->setReadOnly(false);
        chatSplitter->addWidget(chatText);
        inputText = new chatInputText(chatSplitter);
        inputText->setObjectName(QStringLiteral("inputText"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Ignored);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(inputText->sizePolicy().hasHeightForWidth());
        inputText->setSizePolicy(sizePolicy);
        inputText->setMaximumSize(QSize(16777215, 16777215));
        inputText->setReadOnly(true);
        chatSplitter->addWidget(inputText);

        gridLayout->addWidget(chatSplitter, 0, 0, 1, 1);

        windowSplitter->addWidget(chatWindow);
        userList = new QListWidget(windowSplitter);
        userList->setObjectName(QStringLiteral("userList"));
        QSizePolicy sizePolicy1(QSizePolicy::Ignored, QSizePolicy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(userList->sizePolicy().hasHeightForWidth());
        userList->setSizePolicy(sizePolicy1);
        userList->setMinimumSize(QSize(0, 0));
        userList->setMaximumSize(QSize(16777215, 16777215));
        windowSplitter->addWidget(userList);

        gridLayout_2->addWidget(windowSplitter, 0, 0, 1, 1);

        sendButton = new QPushButton(centralwidget);
        sendButton->setObjectName(QStringLiteral("sendButton"));
        QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(sendButton->sizePolicy().hasHeightForWidth());
        sendButton->setSizePolicy(sizePolicy2);

        gridLayout_2->addWidget(sendButton, 1, 0, 1, 1);

        Chatroom->setCentralWidget(centralwidget);
        menuBar = new QMenuBar(Chatroom);
        menuBar->setObjectName(QStringLiteral("menuBar"));
        menuBar->setGeometry(QRect(0, 0, 800, 26));
        menuChat = new QMenu(menuBar);
        menuChat->setObjectName(QStringLiteral("menuChat"));
        Chatroom->setMenuBar(menuBar);

        menuBar->addAction(menuChat->menuAction());
        menuChat->addAction(actionConnect);
        menuChat->addAction(actionDisconnect);
        menuChat->addAction(actionExit);

        retranslateUi(Chatroom);

        QMetaObject::connectSlotsByName(Chatroom);
    } // setupUi

    void retranslateUi(QMainWindow *Chatroom)
    {
        Chatroom->setWindowTitle(QApplication::translate("Chatroom", "QChatClient", 0));
        actionConnect->setText(QApplication::translate("Chatroom", "Connect...", 0));
        actionExit->setText(QApplication::translate("Chatroom", "Exit", 0));
        actionDisconnect->setText(QApplication::translate("Chatroom", "Disconnect", 0));
        sendButton->setText(QApplication::translate("Chatroom", "Send", 0));
        menuChat->setTitle(QApplication::translate("Chatroom", "Chat", 0));
    } // retranslateUi

};

namespace Ui {
    class Chatroom: public Ui_Chatroom {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_CHATROOM_H