211 lines
11 KiB
C++
211 lines
11 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/QDateEdit>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QLCDNumber>
|
|
#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;
|
|
QLabel *mChaletOnlineStatusLbl;
|
|
QLabel *mSolarPanelCurrentLabel;
|
|
QLabel *mBatterySOCLabel;
|
|
QLabel *mCurrentSensorStateLbl;
|
|
QLabel *mLostReqPercentLbl;
|
|
QWidget *mPlotWidget;
|
|
QLCDNumber *mVoltageLCD;
|
|
QLabel *mChaletCommActivityLbl;
|
|
QLabel *mLasCommRequestReceivedLbl;
|
|
QDateEdit *mLogStartDateEdit;
|
|
QPushButton *mGetChaletLogButton;
|
|
|
|
void setupUi(QWidget *CChaletGui)
|
|
{
|
|
if (CChaletGui->objectName().isEmpty())
|
|
CChaletGui->setObjectName(QString::fromUtf8("CChaletGui"));
|
|
CChaletGui->resize(1205, 598);
|
|
MainPageLabel = new QLabel(CChaletGui);
|
|
MainPageLabel->setObjectName(QString::fromUtf8("MainPageLabel"));
|
|
MainPageLabel->setGeometry(QRect(460, 10, 71, 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(198, 50, 210, 16));
|
|
mWiFiModuleStatusLabel = new QLabel(CChaletGui);
|
|
mWiFiModuleStatusLabel->setObjectName(QString::fromUtf8("mWiFiModuleStatusLabel"));
|
|
mWiFiModuleStatusLabel->setGeometry(QRect(198, 90, 130, 16));
|
|
mWiFiSectionLabel = new QLabel(CChaletGui);
|
|
mWiFiSectionLabel->setObjectName(QString::fromUtf8("mWiFiSectionLabel"));
|
|
mWiFiSectionLabel->setGeometry(QRect(26, 90, 31, 16));
|
|
mInverterRelayOFFBtn = new QPushButton(CChaletGui);
|
|
mInverterRelayOFFBtn->setObjectName(QString::fromUtf8("mInverterRelayOFFBtn"));
|
|
mInverterRelayOFFBtn->setGeometry(QRect(126, 50, 61, 22));
|
|
mWiFiModuleOFFBtn = new QPushButton(CChaletGui);
|
|
mWiFiModuleOFFBtn->setObjectName(QString::fromUtf8("mWiFiModuleOFFBtn"));
|
|
mWiFiModuleOFFBtn->setGeometry(QRect(126, 90, 61, 23));
|
|
mInverterRelayONBtn = new QPushButton(CChaletGui);
|
|
mInverterRelayONBtn->setObjectName(QString::fromUtf8("mInverterRelayONBtn"));
|
|
mInverterRelayONBtn->setGeometry(QRect(70, 50, 51, 23));
|
|
mWiFiModuleONBtn = new QPushButton(CChaletGui);
|
|
mWiFiModuleONBtn->setObjectName(QString::fromUtf8("mWiFiModuleONBtn"));
|
|
mWiFiModuleONBtn->setGeometry(QRect(70, 90, 51, 23));
|
|
mWiFiSectionLabel_2 = new QLabel(CChaletGui);
|
|
mWiFiSectionLabel_2->setObjectName(QString::fromUtf8("mWiFiSectionLabel_2"));
|
|
mWiFiSectionLabel_2->setGeometry(QRect(16, 50, 51, 20));
|
|
mRebootCPUBtn = new QPushButton(CChaletGui);
|
|
mRebootCPUBtn->setObjectName(QString::fromUtf8("mRebootCPUBtn"));
|
|
mRebootCPUBtn->setGeometry(QRect(66, 130, 75, 23));
|
|
mEnableHarakiriChkBx = new QCheckBox(CChaletGui);
|
|
mEnableHarakiriChkBx->setObjectName(QString::fromUtf8("mEnableHarakiriChkBx"));
|
|
mEnableHarakiriChkBx->setEnabled(false);
|
|
mEnableHarakiriChkBx->setGeometry(QRect(850, 80, 111, 17));
|
|
groupBox = new QGroupBox(CChaletGui);
|
|
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
|
groupBox->setGeometry(QRect(830, 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(147, 170, 241, 16));
|
|
mChaletOnlineStatusLbl = new QLabel(CChaletGui);
|
|
mChaletOnlineStatusLbl->setObjectName(QString::fromUtf8("mChaletOnlineStatusLbl"));
|
|
mChaletOnlineStatusLbl->setGeometry(QRect(450, 50, 91, 21));
|
|
QFont font1;
|
|
font1.setFamily(QString::fromUtf8("Terminal"));
|
|
font1.setPointSize(14);
|
|
font1.setBold(true);
|
|
font1.setWeight(75);
|
|
mChaletOnlineStatusLbl->setFont(font1);
|
|
mSolarPanelCurrentLabel = new QLabel(CChaletGui);
|
|
mSolarPanelCurrentLabel->setObjectName(QString::fromUtf8("mSolarPanelCurrentLabel"));
|
|
mSolarPanelCurrentLabel->setGeometry(QRect(147, 190, 241, 16));
|
|
mBatterySOCLabel = new QLabel(CChaletGui);
|
|
mBatterySOCLabel->setObjectName(QString::fromUtf8("mBatterySOCLabel"));
|
|
mBatterySOCLabel->setGeometry(QRect(147, 210, 241, 16));
|
|
mCurrentSensorStateLbl = new QLabel(CChaletGui);
|
|
mCurrentSensorStateLbl->setObjectName(QString::fromUtf8("mCurrentSensorStateLbl"));
|
|
mCurrentSensorStateLbl->setGeometry(QRect(147, 230, 241, 16));
|
|
mLostReqPercentLbl = new QLabel(CChaletGui);
|
|
mLostReqPercentLbl->setObjectName(QString::fromUtf8("mLostReqPercentLbl"));
|
|
mLostReqPercentLbl->setGeometry(QRect(770, 200, 241, 16));
|
|
mPlotWidget = new QWidget(CChaletGui);
|
|
mPlotWidget->setObjectName(QString::fromUtf8("mPlotWidget"));
|
|
mPlotWidget->setGeometry(QRect(590, 250, 571, 321));
|
|
mVoltageLCD = new QLCDNumber(CChaletGui);
|
|
mVoltageLCD->setObjectName(QString::fromUtf8("mVoltageLCD"));
|
|
mVoltageLCD->setGeometry(QRect(30, 170, 111, 23));
|
|
mChaletCommActivityLbl = new QLabel(CChaletGui);
|
|
mChaletCommActivityLbl->setObjectName(QString::fromUtf8("mChaletCommActivityLbl"));
|
|
mChaletCommActivityLbl->setGeometry(QRect(770, 180, 47, 16));
|
|
mLasCommRequestReceivedLbl = new QLabel(CChaletGui);
|
|
mLasCommRequestReceivedLbl->setObjectName(QString::fromUtf8("mLasCommRequestReceivedLbl"));
|
|
mLasCommRequestReceivedLbl->setGeometry(QRect(770, 160, 301, 16));
|
|
mLogStartDateEdit = new QDateEdit(CChaletGui);
|
|
mLogStartDateEdit->setObjectName(QString::fromUtf8("mLogStartDateEdit"));
|
|
mLogStartDateEdit->setGeometry(QRect(950, 220, 110, 22));
|
|
mGetChaletLogButton = new QPushButton(CChaletGui);
|
|
mGetChaletLogButton->setObjectName(QString::fromUtf8("mGetChaletLogButton"));
|
|
mGetChaletLogButton->setGeometry(QRect(1070, 220, 75, 23));
|
|
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();
|
|
mChaletOnlineStatusLbl->raise();
|
|
mSolarPanelCurrentLabel->raise();
|
|
mBatterySOCLabel->raise();
|
|
mCurrentSensorStateLbl->raise();
|
|
mLostReqPercentLbl->raise();
|
|
mPlotWidget->raise();
|
|
mVoltageLCD->raise();
|
|
mChaletCommActivityLbl->raise();
|
|
mLasCommRequestReceivedLbl->raise();
|
|
mLogStartDateEdit->raise();
|
|
mGetChaletLogButton->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));
|
|
mChaletOnlineStatusLbl->setText(QCoreApplication::translate("CChaletGui", "OFFLINE", nullptr));
|
|
mSolarPanelCurrentLabel->setText(QCoreApplication::translate("CChaletGui", "Solar Panel Current: ", nullptr));
|
|
mBatterySOCLabel->setText(QCoreApplication::translate("CChaletGui", "Battery SOC: ", nullptr));
|
|
mCurrentSensorStateLbl->setText(QCoreApplication::translate("CChaletGui", "Current Sensor:", nullptr));
|
|
mLostReqPercentLbl->setText(QCoreApplication::translate("CChaletGui", "Lost requests: ", nullptr));
|
|
mChaletCommActivityLbl->setText(QCoreApplication::translate("CChaletGui", "Activity!!!", nullptr));
|
|
mLasCommRequestReceivedLbl->setText(QCoreApplication::translate("CChaletGui", "Last Request: ", nullptr));
|
|
mGetChaletLogButton->setText(QCoreApplication::translate("CChaletGui", "PushButton", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class CChaletGui: public Ui_CChaletGui {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_CHALETGUI_H
|