ui_chatwindow.h 5.65 KB
/********************************************************************************
** Form generated from reading UI file 'chatwindow.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_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/QMenu>
#include <QtWidgets/QMenuBar>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QWidget>
#include "chatinputtext.h"
#include "chatwidget.h"

QT_BEGIN_NAMESPACE

class Ui_ChatWindow
{
public:
    QAction *actionExit;
    QAction *actionSave_chat;
    QWidget *centralWidget;
    QGridLayout *gridLayout;
    QSpacerItem *horizontalSpacer;
    QPushButton *sendButton;
    QWidget *widget;
    QGridLayout *gridLayout_2;
    QSplitter *splitter;
    ChatWidget *chatText;
    chatInputText *inputText;
    QMenuBar *menuBar;
    QMenu *menuChat;

    void setupUi(QMainWindow *ChatWindow)
    {
        if (ChatWindow->objectName().isEmpty())
            ChatWindow->setObjectName(QStringLiteral("ChatWindow"));
        ChatWindow->resize(400, 502);
        actionExit = new QAction(ChatWindow);
        actionExit->setObjectName(QStringLiteral("actionExit"));
        actionSave_chat = new QAction(ChatWindow);
        actionSave_chat->setObjectName(QStringLiteral("actionSave_chat"));
        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"));
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(horizontalSpacer, 3, 1, 1, 1);

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

        gridLayout->addWidget(sendButton, 3, 0, 1, 1);

        widget = new QWidget(centralWidget);
        widget->setObjectName(QStringLiteral("widget"));
        gridLayout_2 = new QGridLayout(widget);
        gridLayout_2->setSpacing(6);
        gridLayout_2->setContentsMargins(11, 11, 11, 11);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        splitter = new QSplitter(widget);
        splitter->setObjectName(QStringLiteral("splitter"));
        splitter->setOrientation(Qt::Vertical);
        chatText = new ChatWidget(splitter);
        chatText->setObjectName(QStringLiteral("chatText"));
        chatText->setReadOnly(true);
        splitter->addWidget(chatText);
        inputText = new chatInputText(splitter);
        inputText->setObjectName(QStringLiteral("inputText"));
        inputText->setEnabled(true);
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Ignored);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(inputText->sizePolicy().hasHeightForWidth());
        inputText->setSizePolicy(sizePolicy2);
        inputText->setMinimumSize(QSize(0, 0));
        inputText->setMaximumSize(QSize(16777215, 16777215));
        inputText->setBaseSize(QSize(0, 0));
        inputText->setReadOnly(false);
        splitter->addWidget(inputText);

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


        gridLayout->addWidget(widget, 0, 0, 1, 2);

        ChatWindow->setCentralWidget(centralWidget);
        menuBar = new QMenuBar(ChatWindow);
        menuBar->setObjectName(QStringLiteral("menuBar"));
        menuBar->setGeometry(QRect(0, 0, 400, 26));
        menuChat = new QMenu(menuBar);
        menuChat->setObjectName(QStringLiteral("menuChat"));
        ChatWindow->setMenuBar(menuBar);
        QWidget::setTabOrder(chatText, inputText);
        QWidget::setTabOrder(inputText, sendButton);

        menuBar->addAction(menuChat->menuAction());
        menuChat->addAction(actionSave_chat);
        menuChat->addAction(actionExit);

        retranslateUi(ChatWindow);

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

    void retranslateUi(QMainWindow *ChatWindow)
    {
        ChatWindow->setWindowTitle(QApplication::translate("ChatWindow", "QChatClient", 0));
        actionExit->setText(QApplication::translate("ChatWindow", "Exit", 0));
        actionSave_chat->setText(QApplication::translate("ChatWindow", "Save chat...", 0));
        sendButton->setText(QApplication::translate("ChatWindow", "Send", 0));
        menuChat->setTitle(QApplication::translate("ChatWindow", "Chat", 0));
    } // retranslateUi

};

namespace Ui {
    class ChatWindow: public Ui_ChatWindow {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_CHATWINDOW_H