|
1
2
3
|
/********************************************************************************
** Form generated from reading UI file 'chatwindow.ui'
**
|
|
4
|
** Created by: Qt User Interface Compiler version 5.0.2
|
|
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_CHATWINDOW_H
#define UI_CHATWINDOW_H
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QMenuBar>
|
|
20
|
#include <QtWidgets/QSplitter>
|
|
21
22
|
#include <QtWidgets/QTextEdit>
#include <QtWidgets/QWidget>
|
|
23
|
#include "chatwidget.h"
|
|
24
25
26
27
28
29
30
31
|
QT_BEGIN_NAMESPACE
class Ui_ChatWindow
{
public:
QWidget *centralWidget;
QGridLayout *gridLayout;
|
|
32
|
QSplitter *splitter;
|
|
33
|
ChatWidget *chatText;
|
|
34
35
36
37
38
39
40
|
QTextEdit *inputText;
QMenuBar *menuBar;
void setupUi(QMainWindow *ChatWindow)
{
if (ChatWindow->objectName().isEmpty())
ChatWindow->setObjectName(QStringLiteral("ChatWindow"));
|
|
41
|
ChatWindow->resize(400, 502);
|
|
42
43
44
45
46
47
48
49
50
51
52
53
|
centralWidget = new QWidget(ChatWindow);
centralWidget->setObjectName(QStringLiteral("centralWidget"));
centralWidget->setEnabled(true);
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(centralWidget->sizePolicy().hasHeightForWidth());
centralWidget->setSizePolicy(sizePolicy);
gridLayout = new QGridLayout(centralWidget);
gridLayout->setSpacing(6);
gridLayout->setContentsMargins(11, 11, 11, 11);
gridLayout->setObjectName(QStringLiteral("gridLayout"));
|
|
54
|
splitter = new QSplitter(centralWidget);
|
|
55
56
|
splitter->setObjectName(QStringLiteral("splitter"));
splitter->setOrientation(Qt::Vertical);
|
|
57
|
chatText = new ChatWidget(splitter);
|
|
58
|
chatText->setObjectName(QStringLiteral("chatText"));
|
|
59
|
chatText->setReadOnly(true);
|
|
60
61
62
63
|
splitter->addWidget(chatText);
inputText = new QTextEdit(splitter);
inputText->setObjectName(QStringLiteral("inputText"));
inputText->setEnabled(true);
|
|
64
65
66
67
68
|
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Ignored);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(inputText->sizePolicy().hasHeightForWidth());
inputText->setSizePolicy(sizePolicy1);
|
|
69
70
71
72
|
inputText->setMinimumSize(QSize(0, 0));
inputText->setMaximumSize(QSize(16777215, 16777215));
inputText->setBaseSize(QSize(0, 0));
splitter->addWidget(inputText);
|
|
73
|
|
|
74
|
gridLayout->addWidget(splitter, 0, 0, 1, 1);
|
|
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
ChatWindow->setCentralWidget(centralWidget);
menuBar = new QMenuBar(ChatWindow);
menuBar->setObjectName(QStringLiteral("menuBar"));
menuBar->setGeometry(QRect(0, 0, 400, 25));
ChatWindow->setMenuBar(menuBar);
retranslateUi(ChatWindow);
QMetaObject::connectSlotsByName(ChatWindow);
} // setupUi
void retranslateUi(QMainWindow *ChatWindow)
{
ChatWindow->setWindowTitle(QApplication::translate("ChatWindow", "ChatWindow", 0));
} // retranslateUi
};
namespace Ui {
class ChatWindow: public Ui_ChatWindow {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_CHATWINDOW_H
|