ui_loginscreen.h 4.76 KB
/********************************************************************************
** Form generated from reading UI file 'loginscreen.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_LOGINSCREEN_H
#define UI_LOGINSCREEN_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_LoginScreen
{
public:
    QGridLayout *gridLayout;
    QComboBox *chatroomBox;
    QSpacerItem *verticalSpacer;
    QSpacerItem *rightSpacer;
    QSpacerItem *topSpacer;
    QLabel *titleLabel;
    QWidget *buttonBox;
    QGridLayout *gridLayout_2;
    QPushButton *cancelButton;
    QPushButton *connectButton;
    QSpacerItem *buttonHorizSpacer;
    QSpacerItem *leftSpacer;
    QLineEdit *userEdit;
    QLineEdit *passwordEdit;

    void setupUi(QDialog *LoginScreen)
    {
        if (LoginScreen->objectName().isEmpty())
            LoginScreen->setObjectName(QStringLiteral("LoginScreen"));
        LoginScreen->resize(402, 204);
        gridLayout = new QGridLayout(LoginScreen);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        chatroomBox = new QComboBox(LoginScreen);
        chatroomBox->setObjectName(QStringLiteral("chatroomBox"));

        gridLayout->addWidget(chatroomBox, 5, 1, 1, 1);

        verticalSpacer = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout->addItem(verticalSpacer, 2, 1, 1, 1);

        rightSpacer = new QSpacerItem(10, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);

        gridLayout->addItem(rightSpacer, 4, 2, 1, 1);

        topSpacer = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout->addItem(topSpacer, 0, 1, 1, 1);

        titleLabel = new QLabel(LoginScreen);
        titleLabel->setObjectName(QStringLiteral("titleLabel"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(titleLabel->sizePolicy().hasHeightForWidth());
        titleLabel->setSizePolicy(sizePolicy);
        titleLabel->setMaximumSize(QSize(16777215, 20));

        gridLayout->addWidget(titleLabel, 1, 1, 1, 1);

        buttonBox = new QWidget(LoginScreen);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        sizePolicy.setHeightForWidth(buttonBox->sizePolicy().hasHeightForWidth());
        buttonBox->setSizePolicy(sizePolicy);
        gridLayout_2 = new QGridLayout(buttonBox);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        cancelButton = new QPushButton(buttonBox);
        cancelButton->setObjectName(QStringLiteral("cancelButton"));

        gridLayout_2->addWidget(cancelButton, 0, 2, 1, 1);

        connectButton = new QPushButton(buttonBox);
        connectButton->setObjectName(QStringLiteral("connectButton"));

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

        buttonHorizSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout_2->addItem(buttonHorizSpacer, 0, 0, 1, 1);


        gridLayout->addWidget(buttonBox, 6, 1, 1, 1);

        leftSpacer = new QSpacerItem(10, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);

        gridLayout->addItem(leftSpacer, 3, 0, 1, 1);

        userEdit = new QLineEdit(LoginScreen);
        userEdit->setObjectName(QStringLiteral("userEdit"));

        gridLayout->addWidget(userEdit, 3, 1, 1, 1);

        passwordEdit = new QLineEdit(LoginScreen);
        passwordEdit->setObjectName(QStringLiteral("passwordEdit"));

        gridLayout->addWidget(passwordEdit, 4, 1, 1, 1);


        retranslateUi(LoginScreen);

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

    void retranslateUi(QDialog *LoginScreen)
    {
        LoginScreen->setWindowTitle(QApplication::translate("LoginScreen", "Login", 0));
        chatroomBox->setCurrentText(QString());
        titleLabel->setText(QApplication::translate("LoginScreen", "Log in to chatroom", 0));
        cancelButton->setText(QApplication::translate("LoginScreen", "Cancel", 0));
        connectButton->setText(QApplication::translate("LoginScreen", "OK", 0));
    } // retranslateUi

};

namespace Ui {
    class LoginScreen: public Ui_LoginScreen {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_LOGINSCREEN_H