ui_msgchatarea.h
10.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
/********************************************************************************
** Form generated from reading UI file 'msgchatarea.ui'
**
** Created: Fri Jul 15 15:59:54 2016
** by: Qt User Interface Compiler version 5.0.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_MSGCHATAREA_H
#define UI_MSGCHATAREA_H
#include <QtCore/QVariant>
#include <QtWebKitWidgets/QWebView>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTextEdit>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <ilistwidget.h>
QT_BEGIN_NAMESPACE
class Ui_msgChatArea
{
public:
QHBoxLayout *horizontalLayout_4;
QHBoxLayout *horizontalLayout_2;
ilistWidget *listWidget;
QWidget *widget_2;
QVBoxLayout *verticalLayout;
QLabel *label;
QWebView *webView;
QWidget *widget_send;
QVBoxLayout *verticalLayout_2;
QHBoxLayout *horizontalLayout;
QSpacerItem *horizontalSpacer_2;
QPushButton *pushButton_expression;
QSpacerItem *horizontalSpacer;
QPushButton *pushButton_picture;
QSpacerItem *horizontalSpacer_8;
QTextEdit *textEdit;
QHBoxLayout *horizontalLayout_3;
QSpacerItem *horizontalSpacer_7;
QPushButton *pushButton;
void setupUi(QWidget *msgChatArea)
{
if (msgChatArea->objectName().isEmpty())
msgChatArea->setObjectName(QStringLiteral("msgChatArea"));
msgChatArea->resize(832, 600);
horizontalLayout_4 = new QHBoxLayout(msgChatArea);
horizontalLayout_4->setSpacing(0);
horizontalLayout_4->setContentsMargins(0, 0, 0, 0);
horizontalLayout_4->setObjectName(QStringLiteral("horizontalLayout_4"));
horizontalLayout_2 = new QHBoxLayout();
horizontalLayout_2->setSpacing(0);
#ifndef Q_OS_MAC
horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
#endif
horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
listWidget = new ilistWidget(msgChatArea);
listWidget->setObjectName(QStringLiteral("listWidget"));
listWidget->setEnabled(true);
listWidget->setMinimumSize(QSize(220, 0));
listWidget->setMaximumSize(QSize(200, 16777215));
listWidget->setStyleSheet(QLatin1String("QListWidget{\n"
" margin-left:0px;\n"
" padding:0px;\n"
" background-color:rgb(222,223,228);\n"
"}\n"
" \n"
" \n"
"QListWidget::item {\n"
" margin:0px;\n"
" padding:0px;\n"
"}\n"
" \n"
"QListWidget::item:hover {\n"
" show-decoration-selected:1;\n"
" background-color: rgb(220, 220, 220);\n"
" selection-background-color: rgb(49, 58, 66);\n"
" color: rgb(255,255,255);\n"
"}\n"
" \n"
"QListWidget::item:selected {\n"
" show-decoration-selected:1;\n"
" background-color: rgb(180,180,180);\n"
" selection-background-color: rgb(37, 44, 50);\n"
" color: rgb(81,162,253);\n"
"}"));
horizontalLayout_2->addWidget(listWidget);
widget_2 = new QWidget(msgChatArea);
widget_2->setObjectName(QStringLiteral("widget_2"));
widget_2->setMinimumSize(QSize(600, 0));
verticalLayout = new QVBoxLayout(widget_2);
verticalLayout->setSpacing(0);
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
verticalLayout->setContentsMargins(0, 0, 5, 0);
label = new QLabel(widget_2);
label->setObjectName(QStringLiteral("label"));
label->setMinimumSize(QSize(0, 25));
QPalette palette;
QBrush brush(QColor(208, 208, 208, 255));
brush.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Base, brush);
QBrush brush1(QColor(211, 211, 211, 255));
brush1.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Window, brush1);
palette.setBrush(QPalette::Inactive, QPalette::Base, brush);
palette.setBrush(QPalette::Inactive, QPalette::Window, brush1);
palette.setBrush(QPalette::Disabled, QPalette::Base, brush1);
palette.setBrush(QPalette::Disabled, QPalette::Window, brush1);
label->setPalette(palette);
label->setAlignment(Qt::AlignCenter);
verticalLayout->addWidget(label);
webView = new QWebView(widget_2);
webView->setObjectName(QStringLiteral("webView"));
webView->setMaximumSize(QSize(16777215, 16777215));
webView->setStyleSheet(QLatin1String("QMenu{background-color: white;}\n"
"QMenu::item:selected {background-color: rgb(200,200,200);color:rgb(0,0,0);}"));
webView->setUrl(QUrl(QStringLiteral("about:blank")));
verticalLayout->addWidget(webView);
widget_send = new QWidget(widget_2);
widget_send->setObjectName(QStringLiteral("widget_send"));
widget_send->setMinimumSize(QSize(0, 200));
widget_send->setMaximumSize(QSize(16777215, 16777215));
verticalLayout_2 = new QVBoxLayout(widget_send);
verticalLayout_2->setSpacing(2);
verticalLayout_2->setContentsMargins(2, 2, 2, 2);
verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
horizontalLayout = new QHBoxLayout();
horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
horizontalSpacer_2 = new QSpacerItem(10, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
horizontalLayout->addItem(horizontalSpacer_2);
pushButton_expression = new QPushButton(widget_send);
pushButton_expression->setObjectName(QStringLiteral("pushButton_expression"));
pushButton_expression->setMinimumSize(QSize(20, 20));
pushButton_expression->setMaximumSize(QSize(20, 20));
pushButton_expression->setStyleSheet(QLatin1String("QPushButton{\n"
" border-image: url(:Images/ChatArea/icon_expression_nomal.png);\n"
"}\n"
"\n"
"QPushButton:hover{\n"
" border-image: url(:Images/ChatArea/icon_expression_hover.png);\n"
"}\n"
""));
horizontalLayout->addWidget(pushButton_expression);
horizontalSpacer = new QSpacerItem(10, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
horizontalLayout->addItem(horizontalSpacer);
pushButton_picture = new QPushButton(widget_send);
pushButton_picture->setObjectName(QStringLiteral("pushButton_picture"));
pushButton_picture->setMinimumSize(QSize(20, 20));
pushButton_picture->setMaximumSize(QSize(20, 20));
pushButton_picture->setStyleSheet(QLatin1String("QPushButton{\n"
" border-image: url(:Images/ChatArea/icon_picture_nomal.png);\n"
"}\n"
"\n"
"QPushButton:hover{\n"
" border-image: url(:Images/ChatArea/icon_picture_hover.png);\n"
"}\n"
""));
horizontalLayout->addWidget(pushButton_picture);
horizontalSpacer_8 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout->addItem(horizontalSpacer_8);
verticalLayout_2->addLayout(horizontalLayout);
textEdit = new QTextEdit(widget_send);
textEdit->setObjectName(QStringLiteral("textEdit"));
QFont font;
font.setFamily(QString::fromUtf8("\345\276\256\350\275\257\351\233\205\351\273\221"));
font.setPointSize(12);
textEdit->setFont(font);
textEdit->setStyleSheet(QLatin1String("QMenu{background-color: white;}\n"
"QMenu::item:selected {background-color: rgb(200,200,200);color:rgb(0,0,0);}"));
verticalLayout_2->addWidget(textEdit);
horizontalLayout_3 = new QHBoxLayout();
horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
horizontalLayout_3->setContentsMargins(-1, 2, 2, 2);
horizontalSpacer_7 = new QSpacerItem(160, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout_3->addItem(horizontalSpacer_7);
pushButton = new QPushButton(widget_send);
pushButton->setObjectName(QStringLiteral("pushButton"));
pushButton->setMinimumSize(QSize(70, 30));
QPalette palette1;
QBrush brush2(QColor(178, 178, 178, 255));
brush2.setStyle(Qt::SolidPattern);
palette1.setBrush(QPalette::Active, QPalette::Button, brush2);
palette1.setBrush(QPalette::Active, QPalette::Base, brush2);
palette1.setBrush(QPalette::Active, QPalette::Window, brush2);
palette1.setBrush(QPalette::Inactive, QPalette::Button, brush2);
palette1.setBrush(QPalette::Inactive, QPalette::Base, brush2);
palette1.setBrush(QPalette::Inactive, QPalette::Window, brush2);
palette1.setBrush(QPalette::Disabled, QPalette::Button, brush2);
palette1.setBrush(QPalette::Disabled, QPalette::Base, brush2);
palette1.setBrush(QPalette::Disabled, QPalette::Window, brush2);
pushButton->setPalette(palette1);
pushButton->setStyleSheet(QLatin1String("QPushButton{\n"
" border-image: url(:Images/ChatArea/btn_send_nomal.png);\n"
"}\n"
"\n"
"QPushButton:hover{\n"
" border-image: url(:Images/ChatArea/btn_send_hover.png);\n"
"}\n"
""));
horizontalLayout_3->addWidget(pushButton);
verticalLayout_2->addLayout(horizontalLayout_3);
textEdit->raise();
verticalLayout->addWidget(widget_send);
horizontalLayout_2->addWidget(widget_2);
horizontalLayout_4->addLayout(horizontalLayout_2);
retranslateUi(msgChatArea);
QMetaObject::connectSlotsByName(msgChatArea);
} // setupUi
void retranslateUi(QWidget *msgChatArea)
{
msgChatArea->setWindowTitle(QApplication::translate("msgChatArea", "Form", 0));
label->setText(QString());
#ifndef QT_NO_TOOLTIP
pushButton_expression->setToolTip(QApplication::translate("msgChatArea", "Sticker", 0));
#endif // QT_NO_TOOLTIP
pushButton_expression->setText(QString());
#ifndef QT_NO_TOOLTIP
pushButton_picture->setToolTip(QApplication::translate("msgChatArea", "picture", 0));
#endif // QT_NO_TOOLTIP
pushButton_picture->setText(QString());
#ifndef QT_NO_TOOLTIP
pushButton->setToolTip(QApplication::translate("msgChatArea", "Press Enter to send and Ctrl+Enter for a new line", 0));
#endif // QT_NO_TOOLTIP
pushButton->setText(QString());
} // retranslateUi
};
namespace Ui {
class msgChatArea: public Ui_msgChatArea {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_MSGCHATAREA_H