162 lines
6.0 KiB
C
162 lines
6.0 KiB
C
|
/********************************************************************************
|
||
|
** Form generated from reading UI file 'mainwindow.ui'
|
||
|
**
|
||
|
** Created by: Qt User Interface Compiler version 5.14.0
|
||
|
**
|
||
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||
|
********************************************************************************/
|
||
|
|
||
|
#ifndef UI_MAINWINDOW_H
|
||
|
#define UI_MAINWINDOW_H
|
||
|
|
||
|
#include <QtCore/QVariant>
|
||
|
#include <QtWidgets/QApplication>
|
||
|
#include <QtWidgets/QComboBox>
|
||
|
#include <QtWidgets/QGridLayout>
|
||
|
#include <QtWidgets/QHBoxLayout>
|
||
|
#include <QtWidgets/QLabel>
|
||
|
#include <QtWidgets/QLineEdit>
|
||
|
#include <QtWidgets/QMainWindow>
|
||
|
#include <QtWidgets/QPushButton>
|
||
|
#include <QtWidgets/QSpacerItem>
|
||
|
#include <QtWidgets/QVBoxLayout>
|
||
|
#include <QtWidgets/QWidget>
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
|
||
|
class Ui_MainWindow
|
||
|
{
|
||
|
public:
|
||
|
QWidget *centralWidget;
|
||
|
QGridLayout *gridLayout;
|
||
|
QVBoxLayout *verticalLayout;
|
||
|
QHBoxLayout *horizontalLayout;
|
||
|
QPushButton *pushButton;
|
||
|
QComboBox *comboBox;
|
||
|
QPushButton *pushButton_3;
|
||
|
QComboBox *comboBox_2;
|
||
|
QLabel *label;
|
||
|
QLineEdit *lineEdit;
|
||
|
QPushButton *pushButton_2;
|
||
|
QSpacerItem *horizontalSpacer_2;
|
||
|
QSpacerItem *verticalSpacer;
|
||
|
|
||
|
void setupUi(QMainWindow *MainWindow)
|
||
|
{
|
||
|
if (MainWindow->objectName().isEmpty())
|
||
|
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
|
||
|
MainWindow->resize(1383, 1116);
|
||
|
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
||
|
sizePolicy.setHorizontalStretch(0);
|
||
|
sizePolicy.setVerticalStretch(0);
|
||
|
sizePolicy.setHeightForWidth(MainWindow->sizePolicy().hasHeightForWidth());
|
||
|
MainWindow->setSizePolicy(sizePolicy);
|
||
|
MainWindow->setMinimumSize(QSize(600, 800));
|
||
|
centralWidget = new QWidget(MainWindow);
|
||
|
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
|
||
|
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||
|
sizePolicy1.setHorizontalStretch(0);
|
||
|
sizePolicy1.setVerticalStretch(0);
|
||
|
sizePolicy1.setHeightForWidth(centralWidget->sizePolicy().hasHeightForWidth());
|
||
|
centralWidget->setSizePolicy(sizePolicy1);
|
||
|
gridLayout = new QGridLayout(centralWidget);
|
||
|
gridLayout->setSpacing(6);
|
||
|
gridLayout->setContentsMargins(11, 11, 11, 11);
|
||
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||
|
verticalLayout = new QVBoxLayout();
|
||
|
verticalLayout->setSpacing(6);
|
||
|
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||
|
horizontalLayout = new QHBoxLayout();
|
||
|
horizontalLayout->setSpacing(6);
|
||
|
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||
|
horizontalLayout->setContentsMargins(2, 2, 2, 1);
|
||
|
pushButton = new QPushButton(centralWidget);
|
||
|
pushButton->setObjectName(QString::fromUtf8("pushButton"));
|
||
|
pushButton->setMinimumSize(QSize(100, 50));
|
||
|
pushButton->setSizeIncrement(QSize(0, 6));
|
||
|
pushButton->setBaseSize(QSize(0, 50));
|
||
|
|
||
|
horizontalLayout->addWidget(pushButton);
|
||
|
|
||
|
comboBox = new QComboBox(centralWidget);
|
||
|
comboBox->setObjectName(QString::fromUtf8("comboBox"));
|
||
|
comboBox->setMinimumSize(QSize(200, 35));
|
||
|
comboBox->setBaseSize(QSize(0, 50));
|
||
|
|
||
|
horizontalLayout->addWidget(comboBox);
|
||
|
|
||
|
pushButton_3 = new QPushButton(centralWidget);
|
||
|
pushButton_3->setObjectName(QString::fromUtf8("pushButton_3"));
|
||
|
pushButton_3->setMinimumSize(QSize(100, 50));
|
||
|
|
||
|
horizontalLayout->addWidget(pushButton_3);
|
||
|
|
||
|
comboBox_2 = new QComboBox(centralWidget);
|
||
|
comboBox_2->setObjectName(QString::fromUtf8("comboBox_2"));
|
||
|
comboBox_2->setMinimumSize(QSize(200, 35));
|
||
|
|
||
|
horizontalLayout->addWidget(comboBox_2);
|
||
|
|
||
|
label = new QLabel(centralWidget);
|
||
|
label->setObjectName(QString::fromUtf8("label"));
|
||
|
|
||
|
horizontalLayout->addWidget(label);
|
||
|
|
||
|
lineEdit = new QLineEdit(centralWidget);
|
||
|
lineEdit->setObjectName(QString::fromUtf8("lineEdit"));
|
||
|
lineEdit->setMinimumSize(QSize(300, 30));
|
||
|
|
||
|
horizontalLayout->addWidget(lineEdit);
|
||
|
|
||
|
pushButton_2 = new QPushButton(centralWidget);
|
||
|
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
|
||
|
pushButton_2->setMinimumSize(QSize(60, 50));
|
||
|
|
||
|
horizontalLayout->addWidget(pushButton_2);
|
||
|
|
||
|
horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||
|
|
||
|
horizontalLayout->addItem(horizontalSpacer_2);
|
||
|
|
||
|
horizontalLayout->setStretch(0, 1);
|
||
|
horizontalLayout->setStretch(1, 2);
|
||
|
horizontalLayout->setStretch(7, 13);
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout);
|
||
|
|
||
|
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||
|
|
||
|
verticalLayout->addItem(verticalSpacer);
|
||
|
|
||
|
verticalLayout->setStretch(0, 1);
|
||
|
verticalLayout->setStretch(1, 9);
|
||
|
|
||
|
gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);
|
||
|
|
||
|
MainWindow->setCentralWidget(centralWidget);
|
||
|
|
||
|
retranslateUi(MainWindow);
|
||
|
|
||
|
QMetaObject::connectSlotsByName(MainWindow);
|
||
|
} // setupUi
|
||
|
|
||
|
void retranslateUi(QMainWindow *MainWindow)
|
||
|
{
|
||
|
MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "MainWindow", nullptr));
|
||
|
pushButton->setText(QCoreApplication::translate("MainWindow", "\346\211\223\345\274\200\346\221\204\345\203\217\345\244\264", nullptr));
|
||
|
pushButton_3->setText(QCoreApplication::translate("MainWindow", "\346\211\223\345\274\200\351\272\246\345\205\213\351\243\216", nullptr));
|
||
|
label->setText(QCoreApplication::translate("MainWindow", "rtmp\346\216\250\346\265\201\345\234\260\345\235\200", nullptr));
|
||
|
lineEdit->setText(QCoreApplication::translate("MainWindow", "rtmp://127.0.0.1:1935/live/1", nullptr));
|
||
|
pushButton_2->setText(QCoreApplication::translate("MainWindow", "\346\216\250\346\265\201", nullptr));
|
||
|
} // retranslateUi
|
||
|
|
||
|
};
|
||
|
|
||
|
namespace Ui {
|
||
|
class MainWindow: public Ui_MainWindow {};
|
||
|
} // namespace Ui
|
||
|
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
#endif // UI_MAINWINDOW_H
|