139 lines
6.5 KiB
C++
139 lines
6.5 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'ChaletGui.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.14.2
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_CHALETGUI_H
|
|
#define UI_CHALETGUI_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QCheckBox>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_CChaletGui
|
|
{
|
|
public:
|
|
QLabel *MainPageLabel;
|
|
QLabel *mInverterRlyStatusLabel;
|
|
QLabel *mWiFiModuleStatusLabel;
|
|
QLabel *mWiFiSectionLabel;
|
|
QPushButton *mInverterRelayOFFBtn;
|
|
QPushButton *mWiFiModuleOFFBtn;
|
|
QPushButton *mInverterRelayONBtn;
|
|
QPushButton *mWiFiModuleONBtn;
|
|
QLabel *mWiFiSectionLabel_2;
|
|
QPushButton *mRebootCPUBtn;
|
|
QCheckBox *mEnableHarakiriChkBx;
|
|
QGroupBox *groupBox;
|
|
QPushButton *mDoHarakiriButton;
|
|
QLabel *mBatteryVoltageLabel;
|
|
|
|
void setupUi(QWidget *CChaletGui)
|
|
{
|
|
if (CChaletGui->objectName().isEmpty())
|
|
CChaletGui->setObjectName(QString::fromUtf8("CChaletGui"));
|
|
CChaletGui->resize(849, 598);
|
|
MainPageLabel = new QLabel(CChaletGui);
|
|
MainPageLabel->setObjectName(QString::fromUtf8("MainPageLabel"));
|
|
MainPageLabel->setGeometry(QRect(370, 20, 201, 31));
|
|
QFont font;
|
|
font.setPointSize(12);
|
|
font.setBold(true);
|
|
font.setWeight(75);
|
|
MainPageLabel->setFont(font);
|
|
mInverterRlyStatusLabel = new QLabel(CChaletGui);
|
|
mInverterRlyStatusLabel->setObjectName(QString::fromUtf8("mInverterRlyStatusLabel"));
|
|
mInverterRlyStatusLabel->setGeometry(QRect(350, 90, 211, 16));
|
|
mWiFiModuleStatusLabel = new QLabel(CChaletGui);
|
|
mWiFiModuleStatusLabel->setObjectName(QString::fromUtf8("mWiFiModuleStatusLabel"));
|
|
mWiFiModuleStatusLabel->setGeometry(QRect(360, 130, 131, 16));
|
|
mWiFiSectionLabel = new QLabel(CChaletGui);
|
|
mWiFiSectionLabel->setObjectName(QString::fromUtf8("mWiFiSectionLabel"));
|
|
mWiFiSectionLabel->setGeometry(QRect(180, 130, 31, 16));
|
|
mInverterRelayOFFBtn = new QPushButton(CChaletGui);
|
|
mInverterRelayOFFBtn->setObjectName(QString::fromUtf8("mInverterRelayOFFBtn"));
|
|
mInverterRelayOFFBtn->setGeometry(QRect(280, 90, 61, 22));
|
|
mWiFiModuleOFFBtn = new QPushButton(CChaletGui);
|
|
mWiFiModuleOFFBtn->setObjectName(QString::fromUtf8("mWiFiModuleOFFBtn"));
|
|
mWiFiModuleOFFBtn->setGeometry(QRect(280, 130, 61, 23));
|
|
mInverterRelayONBtn = new QPushButton(CChaletGui);
|
|
mInverterRelayONBtn->setObjectName(QString::fromUtf8("mInverterRelayONBtn"));
|
|
mInverterRelayONBtn->setGeometry(QRect(224, 90, 51, 23));
|
|
mWiFiModuleONBtn = new QPushButton(CChaletGui);
|
|
mWiFiModuleONBtn->setObjectName(QString::fromUtf8("mWiFiModuleONBtn"));
|
|
mWiFiModuleONBtn->setGeometry(QRect(224, 130, 51, 23));
|
|
mWiFiSectionLabel_2 = new QLabel(CChaletGui);
|
|
mWiFiSectionLabel_2->setObjectName(QString::fromUtf8("mWiFiSectionLabel_2"));
|
|
mWiFiSectionLabel_2->setGeometry(QRect(170, 90, 51, 20));
|
|
mRebootCPUBtn = new QPushButton(CChaletGui);
|
|
mRebootCPUBtn->setObjectName(QString::fromUtf8("mRebootCPUBtn"));
|
|
mRebootCPUBtn->setGeometry(QRect(220, 170, 75, 23));
|
|
mEnableHarakiriChkBx = new QCheckBox(CChaletGui);
|
|
mEnableHarakiriChkBx->setObjectName(QString::fromUtf8("mEnableHarakiriChkBx"));
|
|
mEnableHarakiriChkBx->setGeometry(QRect(640, 80, 111, 17));
|
|
groupBox = new QGroupBox(CChaletGui);
|
|
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
|
groupBox->setGeometry(QRect(620, 50, 151, 81));
|
|
mDoHarakiriButton = new QPushButton(groupBox);
|
|
mDoHarakiriButton->setObjectName(QString::fromUtf8("mDoHarakiriButton"));
|
|
mDoHarakiriButton->setGeometry(QRect(20, 50, 101, 23));
|
|
mBatteryVoltageLabel = new QLabel(CChaletGui);
|
|
mBatteryVoltageLabel->setObjectName(QString::fromUtf8("mBatteryVoltageLabel"));
|
|
mBatteryVoltageLabel->setGeometry(QRect(170, 210, 241, 16));
|
|
groupBox->raise();
|
|
MainPageLabel->raise();
|
|
mInverterRlyStatusLabel->raise();
|
|
mWiFiModuleStatusLabel->raise();
|
|
mWiFiSectionLabel->raise();
|
|
mInverterRelayOFFBtn->raise();
|
|
mWiFiModuleOFFBtn->raise();
|
|
mInverterRelayONBtn->raise();
|
|
mWiFiModuleONBtn->raise();
|
|
mWiFiSectionLabel_2->raise();
|
|
mRebootCPUBtn->raise();
|
|
mEnableHarakiriChkBx->raise();
|
|
mBatteryVoltageLabel->raise();
|
|
|
|
retranslateUi(CChaletGui);
|
|
|
|
QMetaObject::connectSlotsByName(CChaletGui);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *CChaletGui)
|
|
{
|
|
CChaletGui->setWindowTitle(QCoreApplication::translate("CChaletGui", "Form", nullptr));
|
|
MainPageLabel->setText(QCoreApplication::translate("CChaletGui", "Chalet", nullptr));
|
|
mInverterRlyStatusLabel->setText(QCoreApplication::translate("CChaletGui", "Inverter Relay : OFF", nullptr));
|
|
mWiFiModuleStatusLabel->setText(QCoreApplication::translate("CChaletGui", "ON", nullptr));
|
|
mWiFiSectionLabel->setText(QCoreApplication::translate("CChaletGui", "WiFi :", nullptr));
|
|
mInverterRelayOFFBtn->setText(QCoreApplication::translate("CChaletGui", "Turn OFF", nullptr));
|
|
mWiFiModuleOFFBtn->setText(QCoreApplication::translate("CChaletGui", "Turn OFF", nullptr));
|
|
mInverterRelayONBtn->setText(QCoreApplication::translate("CChaletGui", "Turn ON", nullptr));
|
|
mWiFiModuleONBtn->setText(QCoreApplication::translate("CChaletGui", "Turn ON", nullptr));
|
|
mWiFiSectionLabel_2->setText(QCoreApplication::translate("CChaletGui", "Inverter:", nullptr));
|
|
mRebootCPUBtn->setText(QCoreApplication::translate("CChaletGui", "Reboot CPU", nullptr));
|
|
mEnableHarakiriChkBx->setText(QCoreApplication::translate("CChaletGui", "Enable HARAKIRI", nullptr));
|
|
groupBox->setTitle(QCoreApplication::translate("CChaletGui", "HARAKIRI!!!", nullptr));
|
|
mDoHarakiriButton->setText(QCoreApplication::translate("CChaletGui", "DO HARAKIRI !!!", nullptr));
|
|
mBatteryVoltageLabel->setText(QCoreApplication::translate("CChaletGui", "Battery Voltage", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class CChaletGui: public Ui_CChaletGui {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_CHALETGUI_H
|