Blame view

build-QChatClient-Desktop-Debug/ui_chatroom.h 3.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/********************************************************************************
** 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>
18
#include <QtWidgets/QListWidget>
19
#include <QtWidgets/QMainWindow>
20
#include <QtWidgets/QSplitter>
21
22
#include <QtWidgets/QTextEdit>
#include <QtWidgets/QWidget>
23
#include "chatwidget.h"
24
25
26
27
28
29
30

QT_BEGIN_NAMESPACE

class Ui_Chatroom
{
public:
    QWidget *centralwidget;
31
32
33
    QGridLayout *gridLayout_2;
    QSplitter *windowSplitter;
    QWidget *chatWindow;
34
    QGridLayout *gridLayout;
35
36
37
38
    QSplitter *chatSplitter;
    ChatWidget *chatText;
    QTextEdit *inputText;
    QListWidget *userList;
39
40
41
42
43
44
45
46

    void setupUi(QMainWindow *Chatroom)
    {
        if (Chatroom->objectName().isEmpty())
            Chatroom->setObjectName(QStringLiteral("Chatroom"));
        Chatroom->resize(800, 600);
        centralwidget = new QWidget(Chatroom);
        centralwidget->setObjectName(QStringLiteral("centralwidget"));
47
48
49
50
51
52
53
54
55
        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);
56
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
57
58
59
60
61
62
63
64
65
66
67
        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(true);
        chatSplitter->addWidget(chatText);
        inputText = new QTextEdit(chatSplitter);
        inputText->setObjectName(QStringLiteral("inputText"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Ignored);
68
69
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
70
71
72
73
        sizePolicy.setHeightForWidth(inputText->sizePolicy().hasHeightForWidth());
        inputText->setSizePolicy(sizePolicy);
        inputText->setMaximumSize(QSize(16777215, 16777215));
        chatSplitter->addWidget(inputText);
74
75
        gridLayout->addWidget(chatSplitter, 0, 0, 1, 1);
76
77
78
79
80
        windowSplitter->addWidget(chatWindow);
        userList = new QListWidget(windowSplitter);
        userList->setObjectName(QStringLiteral("userList"));
        QSizePolicy sizePolicy1(QSizePolicy::Ignored, QSizePolicy::Expanding);
81
82
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
83
84
85
86
87
        sizePolicy1.setHeightForWidth(userList->sizePolicy().hasHeightForWidth());
        userList->setSizePolicy(sizePolicy1);
        userList->setMinimumSize(QSize(0, 0));
        userList->setMaximumSize(QSize(16777215, 16777215));
        windowSplitter->addWidget(userList);
88
89
        gridLayout_2->addWidget(windowSplitter, 0, 0, 1, 1);
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111

        Chatroom->setCentralWidget(centralwidget);

        retranslateUi(Chatroom);

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

    void retranslateUi(QMainWindow *Chatroom)
    {
        Chatroom->setWindowTitle(QApplication::translate("Chatroom", "MainWindow", 0));
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // UI_CHATROOM_H