/******************************************************************************** ** 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 #include #include #include #include #include #include #include #include #include #include #include #include #include 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