- Migrated 12 SIGNAL/SLOT connections in lts_app_descriptor_editor.cpp to function-pointer syntax - clicked, editingFinished, pressed, textChanged signals - Added required includes: QListView, QLineEdit, QPushButton - Migrated 2 SIGNAL/SLOT connections in qsql_informix.cpp to function-pointer syntax - timeout signal connections - Added Qt5::Core5Compat dependency for QTextCodec support in Qt6 - Updated CMakeLists.txt to link Qt6::Core5Compat Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
367 lines
15 KiB
C++
367 lines
15 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'esc_firing_explosion.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 6.10.2
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_ESC_FIRING_EXPLOSION_H
|
|
#define UI_ESC_FIRING_EXPLOSION_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QLineEdit>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QSpacerItem>
|
|
#include <QtWidgets/QSpinBox>
|
|
#include <QtWidgets/QVBoxLayout>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_FiringExplosion
|
|
{
|
|
public:
|
|
QVBoxLayout *verticalLayout;
|
|
QHBoxLayout *horizontalLayout_2;
|
|
QVBoxLayout *mainVertLayout;
|
|
QGridLayout *gridLayout_3;
|
|
QSpinBox *sbNumberOfShot;
|
|
QLabel *lblNumberOfShot;
|
|
QSpacerItem *horizontalSpacer_2;
|
|
QSpinBox *sbNumberOfVolley;
|
|
QLabel *lblNumberOfVolley;
|
|
QLabel *lblDuration;
|
|
QPushButton *pbApply;
|
|
QSpinBox *sbDuration;
|
|
QLabel *lbShotsAvail;
|
|
QLabel *lblShotsAvail;
|
|
QSpacerItem *verticalSpacer;
|
|
QSpacerItem *horizontalSpacer;
|
|
QVBoxLayout *verticalLayout_2;
|
|
QGridLayout *gridLayout_2;
|
|
QLineEdit *leFiringClearanceIn;
|
|
QLabel *lblEffectShowId;
|
|
QLineEdit *leEffectShow;
|
|
QLabel *lblFiringClearanceIn;
|
|
QLabel *lblEndOfFiringClearanceIn;
|
|
QLineEdit *leEndOfFiringClearanceIn;
|
|
QGridLayout *gridLayoutLl;
|
|
QLabel *lblRemainingShots;
|
|
QLineEdit *leRemainingTime;
|
|
QLabel *lblRemainingTime;
|
|
QLineEdit *leRemainingShots;
|
|
QLabel *label;
|
|
QLineEdit *leRemainingVolley;
|
|
QGridLayout *gridLayout;
|
|
QHBoxLayout *horizontalLayoutLl;
|
|
QPushButton *pbFire;
|
|
QPushButton *pbInterrupt;
|
|
QSpacerItem *verticalSpacer_3;
|
|
QSpacerItem *verticalSpacer_2;
|
|
|
|
void setupUi(QWidget *FiringExplosion)
|
|
{
|
|
if (FiringExplosion->objectName().isEmpty())
|
|
FiringExplosion->setObjectName("FiringExplosion");
|
|
FiringExplosion->resize(564, 246);
|
|
FiringExplosion->setWindowTitle(QString::fromUtf8(""));
|
|
verticalLayout = new QVBoxLayout(FiringExplosion);
|
|
verticalLayout->setObjectName("verticalLayout");
|
|
horizontalLayout_2 = new QHBoxLayout();
|
|
horizontalLayout_2->setObjectName("horizontalLayout_2");
|
|
mainVertLayout = new QVBoxLayout();
|
|
mainVertLayout->setObjectName("mainVertLayout");
|
|
gridLayout_3 = new QGridLayout();
|
|
gridLayout_3->setObjectName("gridLayout_3");
|
|
sbNumberOfShot = new QSpinBox(FiringExplosion);
|
|
sbNumberOfShot->setObjectName("sbNumberOfShot");
|
|
sbNumberOfShot->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
sbNumberOfShot->setMinimum(1);
|
|
sbNumberOfShot->setMaximum(48);
|
|
|
|
gridLayout_3->addWidget(sbNumberOfShot, 2, 2, 1, 1);
|
|
|
|
lblNumberOfShot = new QLabel(FiringExplosion);
|
|
lblNumberOfShot->setObjectName("lblNumberOfShot");
|
|
|
|
gridLayout_3->addWidget(lblNumberOfShot, 2, 0, 1, 2);
|
|
|
|
horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
|
|
|
gridLayout_3->addItem(horizontalSpacer_2, 2, 3, 1, 1);
|
|
|
|
sbNumberOfVolley = new QSpinBox(FiringExplosion);
|
|
sbNumberOfVolley->setObjectName("sbNumberOfVolley");
|
|
sbNumberOfVolley->setMinimumSize(QSize(0, 0));
|
|
sbNumberOfVolley->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
sbNumberOfVolley->setMinimum(1);
|
|
sbNumberOfVolley->setMaximum(48);
|
|
sbNumberOfVolley->setValue(1);
|
|
|
|
gridLayout_3->addWidget(sbNumberOfVolley, 1, 2, 1, 1);
|
|
|
|
lblNumberOfVolley = new QLabel(FiringExplosion);
|
|
lblNumberOfVolley->setObjectName("lblNumberOfVolley");
|
|
|
|
gridLayout_3->addWidget(lblNumberOfVolley, 1, 0, 1, 2);
|
|
|
|
lblDuration = new QLabel(FiringExplosion);
|
|
lblDuration->setObjectName("lblDuration");
|
|
lblDuration->setAutoFillBackground(false);
|
|
|
|
gridLayout_3->addWidget(lblDuration, 3, 0, 1, 2);
|
|
|
|
pbApply = new QPushButton(FiringExplosion);
|
|
pbApply->setObjectName("pbApply");
|
|
|
|
gridLayout_3->addWidget(pbApply, 4, 2, 1, 1);
|
|
|
|
sbDuration = new QSpinBox(FiringExplosion);
|
|
sbDuration->setObjectName("sbDuration");
|
|
sbDuration->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
sbDuration->setAccelerated(true);
|
|
sbDuration->setMinimum(1);
|
|
sbDuration->setMaximum(6000);
|
|
|
|
gridLayout_3->addWidget(sbDuration, 3, 2, 1, 1);
|
|
|
|
lbShotsAvail = new QLabel(FiringExplosion);
|
|
lbShotsAvail->setObjectName("lbShotsAvail");
|
|
|
|
gridLayout_3->addWidget(lbShotsAvail, 0, 0, 1, 1);
|
|
|
|
lblShotsAvail = new QLabel(FiringExplosion);
|
|
lblShotsAvail->setObjectName("lblShotsAvail");
|
|
lblShotsAvail->setMinimumSize(QSize(30, 0));
|
|
|
|
gridLayout_3->addWidget(lblShotsAvail, 0, 2, 1, 1);
|
|
|
|
|
|
mainVertLayout->addLayout(gridLayout_3);
|
|
|
|
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
|
|
|
|
mainVertLayout->addItem(verticalSpacer);
|
|
|
|
|
|
horizontalLayout_2->addLayout(mainVertLayout);
|
|
|
|
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
|
|
|
horizontalLayout_2->addItem(horizontalSpacer);
|
|
|
|
verticalLayout_2 = new QVBoxLayout();
|
|
verticalLayout_2->setObjectName("verticalLayout_2");
|
|
gridLayout_2 = new QGridLayout();
|
|
gridLayout_2->setObjectName("gridLayout_2");
|
|
leFiringClearanceIn = new QLineEdit(FiringExplosion);
|
|
leFiringClearanceIn->setObjectName("leFiringClearanceIn");
|
|
leFiringClearanceIn->setLayoutDirection(Qt::LeftToRight);
|
|
leFiringClearanceIn->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
leFiringClearanceIn->setReadOnly(true);
|
|
|
|
gridLayout_2->addWidget(leFiringClearanceIn, 1, 1, 1, 1);
|
|
|
|
lblEffectShowId = new QLabel(FiringExplosion);
|
|
lblEffectShowId->setObjectName("lblEffectShowId");
|
|
|
|
gridLayout_2->addWidget(lblEffectShowId, 0, 0, 1, 1);
|
|
|
|
leEffectShow = new QLineEdit(FiringExplosion);
|
|
leEffectShow->setObjectName("leEffectShow");
|
|
leEffectShow->setLayoutDirection(Qt::LeftToRight);
|
|
leEffectShow->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
leEffectShow->setReadOnly(true);
|
|
|
|
gridLayout_2->addWidget(leEffectShow, 0, 1, 1, 1);
|
|
|
|
lblFiringClearanceIn = new QLabel(FiringExplosion);
|
|
lblFiringClearanceIn->setObjectName("lblFiringClearanceIn");
|
|
|
|
gridLayout_2->addWidget(lblFiringClearanceIn, 1, 0, 1, 1);
|
|
|
|
lblEndOfFiringClearanceIn = new QLabel(FiringExplosion);
|
|
lblEndOfFiringClearanceIn->setObjectName("lblEndOfFiringClearanceIn");
|
|
|
|
gridLayout_2->addWidget(lblEndOfFiringClearanceIn, 2, 0, 1, 1);
|
|
|
|
leEndOfFiringClearanceIn = new QLineEdit(FiringExplosion);
|
|
leEndOfFiringClearanceIn->setObjectName("leEndOfFiringClearanceIn");
|
|
QSizePolicy sizePolicy(QSizePolicy::Policy::MinimumExpanding, QSizePolicy::Policy::Fixed);
|
|
sizePolicy.setHorizontalStretch(0);
|
|
sizePolicy.setVerticalStretch(0);
|
|
sizePolicy.setHeightForWidth(leEndOfFiringClearanceIn->sizePolicy().hasHeightForWidth());
|
|
leEndOfFiringClearanceIn->setSizePolicy(sizePolicy);
|
|
leEndOfFiringClearanceIn->setLayoutDirection(Qt::LeftToRight);
|
|
leEndOfFiringClearanceIn->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
leEndOfFiringClearanceIn->setReadOnly(true);
|
|
|
|
gridLayout_2->addWidget(leEndOfFiringClearanceIn, 2, 1, 1, 1);
|
|
|
|
|
|
verticalLayout_2->addLayout(gridLayout_2);
|
|
|
|
gridLayoutLl = new QGridLayout();
|
|
gridLayoutLl->setObjectName("gridLayoutLl");
|
|
lblRemainingShots = new QLabel(FiringExplosion);
|
|
lblRemainingShots->setObjectName("lblRemainingShots");
|
|
|
|
gridLayoutLl->addWidget(lblRemainingShots, 0, 0, 1, 1);
|
|
|
|
leRemainingTime = new QLineEdit(FiringExplosion);
|
|
leRemainingTime->setObjectName("leRemainingTime");
|
|
sizePolicy.setHeightForWidth(leRemainingTime->sizePolicy().hasHeightForWidth());
|
|
leRemainingTime->setSizePolicy(sizePolicy);
|
|
leRemainingTime->setLayoutDirection(Qt::LeftToRight);
|
|
leRemainingTime->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
leRemainingTime->setReadOnly(true);
|
|
|
|
gridLayoutLl->addWidget(leRemainingTime, 1, 1, 1, 1);
|
|
|
|
lblRemainingTime = new QLabel(FiringExplosion);
|
|
lblRemainingTime->setObjectName("lblRemainingTime");
|
|
|
|
gridLayoutLl->addWidget(lblRemainingTime, 1, 0, 1, 1);
|
|
|
|
leRemainingShots = new QLineEdit(FiringExplosion);
|
|
leRemainingShots->setObjectName("leRemainingShots");
|
|
leRemainingShots->setSizeIncrement(QSize(0, 0));
|
|
leRemainingShots->setBaseSize(QSize(0, 0));
|
|
leRemainingShots->setLayoutDirection(Qt::LeftToRight);
|
|
leRemainingShots->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
leRemainingShots->setReadOnly(true);
|
|
|
|
gridLayoutLl->addWidget(leRemainingShots, 0, 1, 1, 1);
|
|
|
|
label = new QLabel(FiringExplosion);
|
|
label->setObjectName("label");
|
|
|
|
gridLayoutLl->addWidget(label, 2, 0, 1, 1);
|
|
|
|
leRemainingVolley = new QLineEdit(FiringExplosion);
|
|
leRemainingVolley->setObjectName("leRemainingVolley");
|
|
leRemainingVolley->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
leRemainingVolley->setReadOnly(true);
|
|
|
|
gridLayoutLl->addWidget(leRemainingVolley, 2, 1, 1, 1);
|
|
|
|
|
|
verticalLayout_2->addLayout(gridLayoutLl);
|
|
|
|
gridLayout = new QGridLayout();
|
|
gridLayout->setObjectName("gridLayout");
|
|
horizontalLayoutLl = new QHBoxLayout();
|
|
horizontalLayoutLl->setObjectName("horizontalLayoutLl");
|
|
pbFire = new QPushButton(FiringExplosion);
|
|
pbFire->setObjectName("pbFire");
|
|
|
|
horizontalLayoutLl->addWidget(pbFire);
|
|
|
|
pbInterrupt = new QPushButton(FiringExplosion);
|
|
pbInterrupt->setObjectName("pbInterrupt");
|
|
|
|
horizontalLayoutLl->addWidget(pbInterrupt);
|
|
|
|
|
|
gridLayout->addLayout(horizontalLayoutLl, 1, 1, 1, 1);
|
|
|
|
verticalSpacer_3 = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
|
|
|
|
gridLayout->addItem(verticalSpacer_3, 2, 1, 1, 1);
|
|
|
|
|
|
verticalLayout_2->addLayout(gridLayout);
|
|
|
|
|
|
horizontalLayout_2->addLayout(verticalLayout_2);
|
|
|
|
|
|
verticalLayout->addLayout(horizontalLayout_2);
|
|
|
|
verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
|
|
|
|
verticalLayout->addItem(verticalSpacer_2);
|
|
|
|
QWidget::setTabOrder(sbNumberOfVolley, sbNumberOfShot);
|
|
QWidget::setTabOrder(sbNumberOfShot, sbDuration);
|
|
QWidget::setTabOrder(sbDuration, pbApply);
|
|
QWidget::setTabOrder(pbApply, leEffectShow);
|
|
QWidget::setTabOrder(leEffectShow, leFiringClearanceIn);
|
|
QWidget::setTabOrder(leFiringClearanceIn, leEndOfFiringClearanceIn);
|
|
QWidget::setTabOrder(leEndOfFiringClearanceIn, pbFire);
|
|
QWidget::setTabOrder(pbFire, pbInterrupt);
|
|
QWidget::setTabOrder(pbInterrupt, leRemainingShots);
|
|
QWidget::setTabOrder(leRemainingShots, leRemainingTime);
|
|
|
|
retranslateUi(FiringExplosion);
|
|
|
|
QMetaObject::connectSlotsByName(FiringExplosion);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *FiringExplosion)
|
|
{
|
|
#if QT_CONFIG(tooltip)
|
|
sbNumberOfShot->setToolTip(QCoreApplication::translate("FiringExplosion", "Number of Shots", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
#if QT_CONFIG(tooltip)
|
|
lblNumberOfShot->setToolTip(QString());
|
|
#endif // QT_CONFIG(tooltip)
|
|
lblNumberOfShot->setText(QCoreApplication::translate("FiringExplosion", "Number of Shots:", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
sbNumberOfVolley->setToolTip(QCoreApplication::translate("FiringExplosion", "Number of Volleys", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
lblNumberOfVolley->setText(QCoreApplication::translate("FiringExplosion", "Number of Volleys:", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
lblDuration->setToolTip(QString());
|
|
#endif // QT_CONFIG(tooltip)
|
|
lblDuration->setText(QCoreApplication::translate("FiringExplosion", "Duration [s]:", nullptr));
|
|
pbApply->setText(QCoreApplication::translate("FiringExplosion", "Apply", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
sbDuration->setToolTip(QCoreApplication::translate("FiringExplosion", "Duration [s]", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
lbShotsAvail->setText(QCoreApplication::translate("FiringExplosion", "Available Shots:", nullptr));
|
|
lblShotsAvail->setText(QCoreApplication::translate("FiringExplosion", "0", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
leFiringClearanceIn->setToolTip(QCoreApplication::translate("FiringExplosion", "Firing Clearance in [s]", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
lblEffectShowId->setText(QCoreApplication::translate("FiringExplosion", "Effect Show:", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
leEffectShow->setToolTip(QCoreApplication::translate("FiringExplosion", "Effect Show Id", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
lblFiringClearanceIn->setText(QCoreApplication::translate("FiringExplosion", "Firing Clearance in [s]:", nullptr));
|
|
lblEndOfFiringClearanceIn->setText(QCoreApplication::translate("FiringExplosion", "End of Firing Clearance in [s]:", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
leEndOfFiringClearanceIn->setToolTip(QCoreApplication::translate("FiringExplosion", "End of Firing Clearance in [s]", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
lblRemainingShots->setText(QCoreApplication::translate("FiringExplosion", "Remaining Shots:", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
leRemainingTime->setToolTip(QCoreApplication::translate("FiringExplosion", "Remaining Time [s]", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
lblRemainingTime->setText(QCoreApplication::translate("FiringExplosion", "Remaining Time [s]:", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
leRemainingShots->setToolTip(QCoreApplication::translate("FiringExplosion", "Remaining Shots", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
label->setText(QCoreApplication::translate("FiringExplosion", "Remaining Volleys:", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
leRemainingVolley->setToolTip(QCoreApplication::translate("FiringExplosion", "Remaining Volleys", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
pbFire->setText(QCoreApplication::translate("FiringExplosion", "Fire", nullptr));
|
|
pbInterrupt->setText(QCoreApplication::translate("FiringExplosion", "Halt", nullptr));
|
|
(void)FiringExplosion;
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class FiringExplosion: public Ui_FiringExplosion {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_ESC_FIRING_EXPLOSION_H
|