Blame view

build-QChatClient-Desktop-Debug/ui_chatwindow.h 5.65 KB
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
**
** 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>
19
#include <QtWidgets/QMenu>
20
#include <QtWidgets/QMenuBar>
21
22
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
23
#include <QtWidgets/QSplitter>
24
#include <QtWidgets/QWidget>
25
#include "chatinputtext.h"
26
#include "chatwidget.h"
27
28
29
30
31
32

QT_BEGIN_NAMESPACE

class Ui_ChatWindow
{
public:
33
    QAction *actionExit;
Imanol-Mikel Barba Sabariego authored
34
    QAction *actionSave_chat;
35
36
    QWidget *centralWidget;
    QGridLayout *gridLayout;
37
38
39
40
    QSpacerItem *horizontalSpacer;
    QPushButton *sendButton;
    QWidget *widget;
    QGridLayout *gridLayout_2;
41
    QSplitter *splitter;
42
    ChatWidget *chatText;
43
    chatInputText *inputText;
44
    QMenuBar *menuBar;
45
    QMenu *menuChat;
46
47
48
49
50

    void setupUi(QMainWindow *ChatWindow)
    {
        if (ChatWindow->objectName().isEmpty())
            ChatWindow->setObjectName(QStringLiteral("ChatWindow"));
51
        ChatWindow->resize(400, 502);
52
53
        actionExit = new QAction(ChatWindow);
        actionExit->setObjectName(QStringLiteral("actionExit"));
Imanol-Mikel Barba Sabariego authored
54
55
        actionSave_chat = new QAction(ChatWindow);
        actionSave_chat->setObjectName(QStringLiteral("actionSave_chat"));
56
57
58
59
60
61
62
63
64
65
66
67
        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"));
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
        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);
89
90
        splitter->setObjectName(QStringLiteral("splitter"));
        splitter->setOrientation(Qt::Vertical);
91
        chatText = new ChatWidget(splitter);
92
        chatText->setObjectName(QStringLiteral("chatText"));
93
        chatText->setReadOnly(true);
94
        splitter->addWidget(chatText);
95
        inputText = new chatInputText(splitter);
96
97
        inputText->setObjectName(QStringLiteral("inputText"));
        inputText->setEnabled(true);
98
99
100
101
102
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Ignored);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(inputText->sizePolicy().hasHeightForWidth());
        inputText->setSizePolicy(sizePolicy2);
103
104
105
        inputText->setMinimumSize(QSize(0, 0));
        inputText->setMaximumSize(QSize(16777215, 16777215));
        inputText->setBaseSize(QSize(0, 0));
Imanol-Mikel Barba Sabariego authored
106
        inputText->setReadOnly(false);
107
        splitter->addWidget(inputText);
108
109
110
111
112
        gridLayout_2->addWidget(splitter, 0, 0, 1, 1);


        gridLayout->addWidget(widget, 0, 0, 1, 2);
113
114
115
116

        ChatWindow->setCentralWidget(centralWidget);
        menuBar = new QMenuBar(ChatWindow);
        menuBar->setObjectName(QStringLiteral("menuBar"));
117
118
119
        menuBar->setGeometry(QRect(0, 0, 400, 26));
        menuChat = new QMenu(menuBar);
        menuChat->setObjectName(QStringLiteral("menuChat"));
120
        ChatWindow->setMenuBar(menuBar);
Imanol-Mikel Barba Sabariego authored
121
122
        QWidget::setTabOrder(chatText, inputText);
        QWidget::setTabOrder(inputText, sendButton);
123
124
        menuBar->addAction(menuChat->menuAction());
Imanol-Mikel Barba Sabariego authored
125
        menuChat->addAction(actionSave_chat);
126
127
        menuChat->addAction(actionExit);
128
129
130
131
132
133
134
        retranslateUi(ChatWindow);

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

    void retranslateUi(QMainWindow *ChatWindow)
    {
135
136
        ChatWindow->setWindowTitle(QApplication::translate("ChatWindow", "QChatClient", 0));
        actionExit->setText(QApplication::translate("ChatWindow", "Exit", 0));
Imanol-Mikel Barba Sabariego authored
137
        actionSave_chat->setText(QApplication::translate("ChatWindow", "Save chat...", 0));
138
139
        sendButton->setText(QApplication::translate("ChatWindow", "Send", 0));
        menuChat->setTitle(QApplication::translate("ChatWindow", "Chat", 0));
140
141
142
143
144
145
146
147
148
149
150
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // UI_CHATWINDOW_H