Ajout config CPU Watchdog dans la page des settings

This commit is contained in:
2023-10-29 15:22:03 -04:00
parent a4028c2385
commit 454935965f
25 changed files with 1189 additions and 101 deletions
+23
View File
@@ -11,6 +11,7 @@
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
@@ -48,6 +49,10 @@ public:
QLabel *label;
QLabel *label_2;
QLabel *label_3;
QGroupBox *groupBox_3;
QSpinBox *mWDTimerTimeoutSpinBx;
QLabel *label_7;
QCheckBox *mWDActiveChkBx;
void setupUi(QWidget *CLoggingSettingsPage)
{
@@ -165,6 +170,21 @@ public:
label_3->setObjectName(QString::fromUtf8("label_3"));
label_3->setGeometry(QRect(230, 30, 81, 20));
label_3->setFont(font1);
groupBox_3 = new QGroupBox(CLoggingSettingsPage);
groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
groupBox_3->setGeometry(QRect(590, 240, 351, 101));
mWDTimerTimeoutSpinBx = new QSpinBox(groupBox_3);
mWDTimerTimeoutSpinBx->setObjectName(QString::fromUtf8("mWDTimerTimeoutSpinBx"));
mWDTimerTimeoutSpinBx->setGeometry(QRect(110, 60, 101, 22));
mWDTimerTimeoutSpinBx->setMinimum(5);
mWDTimerTimeoutSpinBx->setMaximum(15300);
label_7 = new QLabel(groupBox_3);
label_7->setObjectName(QString::fromUtf8("label_7"));
label_7->setGeometry(QRect(20, 60, 91, 21));
label_7->setFont(font2);
mWDActiveChkBx = new QCheckBox(groupBox_3);
mWDActiveChkBx->setObjectName(QString::fromUtf8("mWDActiveChkBx"));
mWDActiveChkBx->setGeometry(QRect(20, 30, 171, 20));
retranslateUi(CLoggingSettingsPage);
@@ -190,6 +210,9 @@ public:
label->setText(QCoreApplication::translate("CLoggingSettingsPage", "Verbosit\303\251 du fichier log", nullptr));
label_2->setText(QCoreApplication::translate("CLoggingSettingsPage", "Verbosit\303\251 de la page de statut", nullptr));
label_3->setText(QCoreApplication::translate("CLoggingSettingsPage", "0 = d\303\251sactiv\303\251", nullptr));
groupBox_3->setTitle(QCoreApplication::translate("CLoggingSettingsPage", "Watchdog CPU", nullptr));
label_7->setText(QCoreApplication::translate("CLoggingSettingsPage", "Timeout (s)", nullptr));
mWDActiveChkBx->setText(QCoreApplication::translate("CLoggingSettingsPage", "Activer watchdog", nullptr));
} // retranslateUi
};