177 lines
6.6 KiB
C++
177 lines
6.6 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'mainwindow.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.15.2
|
|
**
|
|
** 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;
|
|
QPushButton *pushButton_4;
|
|
QPushButton *pushButton_5;
|
|
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);
|
|
|
|
pushButton_4 = new QPushButton(centralWidget);
|
|
pushButton_4->setObjectName(QString::fromUtf8("pushButton_4"));
|
|
pushButton_4->setMinimumSize(QSize(60, 50));
|
|
|
|
horizontalLayout->addWidget(pushButton_4);
|
|
|
|
pushButton_5 = new QPushButton(centralWidget);
|
|
pushButton_5->setObjectName(QString::fromUtf8("pushButton_5"));
|
|
pushButton_5->setMinimumSize(QSize(60, 50));
|
|
|
|
horizontalLayout->addWidget(pushButton_5);
|
|
|
|
horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
horizontalLayout->addItem(horizontalSpacer_2);
|
|
|
|
horizontalLayout->setStretch(7, 1);
|
|
horizontalLayout->setStretch(9, 2);
|
|
|
|
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", "camera cap", nullptr));
|
|
pushButton_3->setText(QCoreApplication::translate("MainWindow", "audio record", nullptr));
|
|
label->setText(QCoreApplication::translate("MainWindow", "rtmp addr", 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));
|
|
pushButton_4->setText(QCoreApplication::translate("MainWindow", "\345\275\225\345\261\217", nullptr));
|
|
pushButton_5->setText(QCoreApplication::translate("MainWindow", "\350\207\252\345\256\232\344\271\211\345\275\225\345\261\217", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class MainWindow: public Ui_MainWindow {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_MAINWINDOW_H
|