mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-24 04:20:46 +08:00
95 lines
2.8 KiB
C++
95 lines
2.8 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'controller.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 6.0.0
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef CONTROLLER_H
|
|
#define CONTROLLER_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_Controller
|
|
{
|
|
public:
|
|
QGridLayout *gridLayout;
|
|
QLabel *label;
|
|
QPushButton *decelerate;
|
|
QPushButton *accelerate;
|
|
QPushButton *right;
|
|
QPushButton *left;
|
|
|
|
void setupUi(QWidget *Controller)
|
|
{
|
|
if (Controller->objectName().isEmpty())
|
|
Controller->setObjectName("Controller");
|
|
Controller->resize(255, 111);
|
|
gridLayout = new QGridLayout(Controller);
|
|
#ifndef Q_OS_MAC
|
|
gridLayout->setSpacing(6);
|
|
#endif
|
|
#ifndef Q_OS_MAC
|
|
gridLayout->setContentsMargins(9, 9, 9, 9);
|
|
#endif
|
|
gridLayout->setObjectName("gridLayout");
|
|
label = new QLabel(Controller);
|
|
label->setObjectName("label");
|
|
label->setAlignment(Qt::AlignCenter);
|
|
|
|
gridLayout->addWidget(label, 1, 1, 1, 1);
|
|
|
|
decelerate = new QPushButton(Controller);
|
|
decelerate->setObjectName("decelerate");
|
|
|
|
gridLayout->addWidget(decelerate, 2, 1, 1, 1);
|
|
|
|
accelerate = new QPushButton(Controller);
|
|
accelerate->setObjectName("accelerate");
|
|
|
|
gridLayout->addWidget(accelerate, 0, 1, 1, 1);
|
|
|
|
right = new QPushButton(Controller);
|
|
right->setObjectName("right");
|
|
|
|
gridLayout->addWidget(right, 1, 2, 1, 1);
|
|
|
|
left = new QPushButton(Controller);
|
|
left->setObjectName("left");
|
|
|
|
gridLayout->addWidget(left, 1, 0, 1, 1);
|
|
|
|
|
|
retranslateUi(Controller);
|
|
|
|
QMetaObject::connectSlotsByName(Controller);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *Controller)
|
|
{
|
|
Controller->setWindowTitle(QCoreApplication::translate("Controller", "Controller", nullptr));
|
|
label->setText(QCoreApplication::translate("Controller", "Controller", nullptr));
|
|
decelerate->setText(QCoreApplication::translate("Controller", "Decelerate", nullptr));
|
|
accelerate->setText(QCoreApplication::translate("Controller", "Accelerate", nullptr));
|
|
right->setText(QCoreApplication::translate("Controller", "Right", nullptr));
|
|
left->setText(QCoreApplication::translate("Controller", "Left", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class Controller: public Ui_Controller {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // CONTROLLER_H
|