- 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>
114 lines
3.8 KiB
C++
114 lines
3.8 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'relay_info.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_RELAY_INFO_H
|
|
#define UI_RELAY_INFO_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QToolButton>
|
|
#include <QtWidgets/QWidget>
|
|
#include "LtsWidgets/lts_led_widget.h"
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_RelayInfoWidget
|
|
{
|
|
public:
|
|
QGridLayout *gridLayout;
|
|
QHBoxLayout *horizontalLayout_2;
|
|
QLabel *lblName;
|
|
LtsWidgets::LtsLedWidget *ledStatus;
|
|
QToolButton *tbOn;
|
|
QToolButton *tbAuto;
|
|
QToolButton *tbOff;
|
|
|
|
void setupUi(QWidget *RelayInfoWidget)
|
|
{
|
|
if (RelayInfoWidget->objectName().isEmpty())
|
|
RelayInfoWidget->setObjectName("RelayInfoWidget");
|
|
RelayInfoWidget->resize(298, 36);
|
|
gridLayout = new QGridLayout(RelayInfoWidget);
|
|
gridLayout->setObjectName("gridLayout");
|
|
gridLayout->setContentsMargins(0, 0, 0, 0);
|
|
horizontalLayout_2 = new QHBoxLayout();
|
|
horizontalLayout_2->setSpacing(6);
|
|
horizontalLayout_2->setObjectName("horizontalLayout_2");
|
|
horizontalLayout_2->setContentsMargins(-1, 0, -1, -1);
|
|
lblName = new QLabel(RelayInfoWidget);
|
|
lblName->setObjectName("lblName");
|
|
|
|
horizontalLayout_2->addWidget(lblName);
|
|
|
|
ledStatus = new LtsWidgets::LtsLedWidget(RelayInfoWidget);
|
|
ledStatus->setObjectName("ledStatus");
|
|
ledStatus->setProperty("oncolor", QVariant(QColor(255, 170, 0)));
|
|
ledStatus->setProperty("status", QVariant(false));
|
|
|
|
horizontalLayout_2->addWidget(ledStatus);
|
|
|
|
tbOn = new QToolButton(RelayInfoWidget);
|
|
tbOn->setObjectName("tbOn");
|
|
tbOn->setCheckable(true);
|
|
tbOn->setAutoExclusive(true);
|
|
|
|
horizontalLayout_2->addWidget(tbOn);
|
|
|
|
tbAuto = new QToolButton(RelayInfoWidget);
|
|
tbAuto->setObjectName("tbAuto");
|
|
QSizePolicy sizePolicy(QSizePolicy::Policy::Fixed, QSizePolicy::Policy::Fixed);
|
|
sizePolicy.setHorizontalStretch(0);
|
|
sizePolicy.setVerticalStretch(0);
|
|
sizePolicy.setHeightForWidth(tbAuto->sizePolicy().hasHeightForWidth());
|
|
tbAuto->setSizePolicy(sizePolicy);
|
|
tbAuto->setCheckable(true);
|
|
tbAuto->setAutoExclusive(true);
|
|
|
|
horizontalLayout_2->addWidget(tbAuto);
|
|
|
|
tbOff = new QToolButton(RelayInfoWidget);
|
|
tbOff->setObjectName("tbOff");
|
|
tbOff->setCheckable(true);
|
|
tbOff->setAutoExclusive(true);
|
|
|
|
horizontalLayout_2->addWidget(tbOff);
|
|
|
|
|
|
gridLayout->addLayout(horizontalLayout_2, 0, 0, 1, 1);
|
|
|
|
|
|
retranslateUi(RelayInfoWidget);
|
|
|
|
QMetaObject::connectSlotsByName(RelayInfoWidget);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *RelayInfoWidget)
|
|
{
|
|
RelayInfoWidget->setWindowTitle(QCoreApplication::translate("RelayInfoWidget", "Form", nullptr));
|
|
lblName->setText(QCoreApplication::translate("RelayInfoWidget", "<NAME>", nullptr));
|
|
#if QT_CONFIG(tooltip)
|
|
ledStatus->setToolTip(QCoreApplication::translate("RelayInfoWidget", "EGCU offline", nullptr));
|
|
#endif // QT_CONFIG(tooltip)
|
|
tbOn->setText(QCoreApplication::translate("RelayInfoWidget", "ON", nullptr));
|
|
tbAuto->setText(QCoreApplication::translate("RelayInfoWidget", "AUTO", nullptr));
|
|
tbOff->setText(QCoreApplication::translate("RelayInfoWidget", "OFF", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class RelayInfoWidget: public Ui_RelayInfoWidget {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_RELAY_INFO_H
|