Corrections et développement. V1.01
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QCheckBox>
|
||||
#include <QtWidgets/QGroupBox>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
@@ -36,14 +35,19 @@ public:
|
||||
QLineEdit *mCloudMQTTPasswordEdit;
|
||||
QLabel *mCloudMQTTTopicPrefixLbl;
|
||||
QLineEdit *mCloudMQTTTopicPrefixEdit;
|
||||
QLabel *mCloudMQTTClientID;
|
||||
QLineEdit *mCloudMQTTTopicPrefixEdit_2;
|
||||
QLabel *mCloudMQTTClientIDLbl;
|
||||
QLineEdit *mCloudMQTTClientID;
|
||||
QLabel *mCloudMQTTRefreshRateLbl;
|
||||
QSpinBox *mCloudMQTTRefreshRateSpinBx;
|
||||
QLabel *mGeneralLogParamsLbl;
|
||||
QCheckBox *mSaveLocalLogFileChkBx;
|
||||
QPushButton *mChangeParamsBtn;
|
||||
QPushButton *mCancelBtn;
|
||||
QGroupBox *groupBox_2;
|
||||
QSpinBox *mLogFileVerbositySpinBx;
|
||||
QSpinBox *mLogZoneVerbositySpinBx;
|
||||
QLabel *label;
|
||||
QLabel *label_2;
|
||||
QLabel *label_3;
|
||||
|
||||
void setupUi(QWidget *CLoggingSettingsPage)
|
||||
{
|
||||
@@ -103,14 +107,14 @@ public:
|
||||
mCloudMQTTTopicPrefixEdit = new QLineEdit(groupBox);
|
||||
mCloudMQTTTopicPrefixEdit->setObjectName(QString::fromUtf8("mCloudMQTTTopicPrefixEdit"));
|
||||
mCloudMQTTTopicPrefixEdit->setGeometry(QRect(90, 160, 321, 20));
|
||||
mCloudMQTTClientID = new QLabel(groupBox);
|
||||
mCloudMQTTClientIDLbl = new QLabel(groupBox);
|
||||
mCloudMQTTClientIDLbl->setObjectName(QString::fromUtf8("mCloudMQTTClientIDLbl"));
|
||||
mCloudMQTTClientIDLbl->setGeometry(QRect(10, 190, 71, 20));
|
||||
mCloudMQTTClientIDLbl->setFont(font1);
|
||||
mCloudMQTTClientIDLbl->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
mCloudMQTTClientID = new QLineEdit(groupBox);
|
||||
mCloudMQTTClientID->setObjectName(QString::fromUtf8("mCloudMQTTClientID"));
|
||||
mCloudMQTTClientID->setGeometry(QRect(10, 190, 71, 20));
|
||||
mCloudMQTTClientID->setFont(font1);
|
||||
mCloudMQTTClientID->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
mCloudMQTTTopicPrefixEdit_2 = new QLineEdit(groupBox);
|
||||
mCloudMQTTTopicPrefixEdit_2->setObjectName(QString::fromUtf8("mCloudMQTTTopicPrefixEdit_2"));
|
||||
mCloudMQTTTopicPrefixEdit_2->setGeometry(QRect(90, 190, 321, 20));
|
||||
mCloudMQTTClientID->setGeometry(QRect(90, 190, 321, 20));
|
||||
mCloudMQTTRefreshRateLbl = new QLabel(groupBox);
|
||||
mCloudMQTTRefreshRateLbl->setObjectName(QString::fromUtf8("mCloudMQTTRefreshRateLbl"));
|
||||
mCloudMQTTRefreshRateLbl->setGeometry(QRect(10, 220, 181, 20));
|
||||
@@ -124,17 +128,43 @@ public:
|
||||
mCloudMQTTRefreshRateSpinBx->setSingleStep(1);
|
||||
mGeneralLogParamsLbl = new QLabel(CLoggingSettingsPage);
|
||||
mGeneralLogParamsLbl->setObjectName(QString::fromUtf8("mGeneralLogParamsLbl"));
|
||||
mGeneralLogParamsLbl->setGeometry(QRect(740, 40, 181, 31));
|
||||
mGeneralLogParamsLbl->setGeometry(QRect(590, 30, 181, 31));
|
||||
mGeneralLogParamsLbl->setFont(font);
|
||||
mSaveLocalLogFileChkBx = new QCheckBox(CLoggingSettingsPage);
|
||||
mSaveLocalLogFileChkBx->setObjectName(QString::fromUtf8("mSaveLocalLogFileChkBx"));
|
||||
mSaveLocalLogFileChkBx->setGeometry(QRect(740, 80, 261, 20));
|
||||
mChangeParamsBtn = new QPushButton(CLoggingSettingsPage);
|
||||
mChangeParamsBtn->setObjectName(QString::fromUtf8("mChangeParamsBtn"));
|
||||
mChangeParamsBtn->setGeometry(QRect(370, 340, 80, 22));
|
||||
mCancelBtn = new QPushButton(CLoggingSettingsPage);
|
||||
mCancelBtn->setObjectName(QString::fromUtf8("mCancelBtn"));
|
||||
mCancelBtn->setGeometry(QRect(260, 340, 80, 22));
|
||||
groupBox_2 = new QGroupBox(CLoggingSettingsPage);
|
||||
groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
|
||||
groupBox_2->setGeometry(QRect(590, 90, 351, 121));
|
||||
mLogFileVerbositySpinBx = new QSpinBox(groupBox_2);
|
||||
mLogFileVerbositySpinBx->setObjectName(QString::fromUtf8("mLogFileVerbositySpinBx"));
|
||||
mLogFileVerbositySpinBx->setGeometry(QRect(170, 30, 51, 22));
|
||||
mLogFileVerbositySpinBx->setMinimum(0);
|
||||
mLogFileVerbositySpinBx->setMaximum(3);
|
||||
mLogZoneVerbositySpinBx = new QSpinBox(groupBox_2);
|
||||
mLogZoneVerbositySpinBx->setObjectName(QString::fromUtf8("mLogZoneVerbositySpinBx"));
|
||||
mLogZoneVerbositySpinBx->setGeometry(QRect(220, 70, 43, 22));
|
||||
mLogZoneVerbositySpinBx->setMinimum(1);
|
||||
mLogZoneVerbositySpinBx->setMaximum(3);
|
||||
mLogZoneVerbositySpinBx->setSingleStep(1);
|
||||
mLogZoneVerbositySpinBx->setValue(1);
|
||||
label = new QLabel(groupBox_2);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
label->setGeometry(QRect(10, 30, 161, 21));
|
||||
QFont font2;
|
||||
font2.setPointSize(11);
|
||||
label->setFont(font2);
|
||||
label_2 = new QLabel(groupBox_2);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
label_2->setGeometry(QRect(10, 70, 211, 21));
|
||||
label_2->setFont(font2);
|
||||
label_3 = new QLabel(groupBox_2);
|
||||
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||||
label_3->setGeometry(QRect(230, 30, 81, 20));
|
||||
label_3->setFont(font1);
|
||||
|
||||
retranslateUi(CLoggingSettingsPage);
|
||||
|
||||
@@ -151,12 +181,15 @@ public:
|
||||
mCloudMQTTUsernameLbl->setText(QCoreApplication::translate("CLoggingSettingsPage", "Username", nullptr));
|
||||
mCloudMQTTPasswordLbl->setText(QCoreApplication::translate("CLoggingSettingsPage", "Password", nullptr));
|
||||
mCloudMQTTTopicPrefixLbl->setText(QCoreApplication::translate("CLoggingSettingsPage", "Topic Prefix", nullptr));
|
||||
mCloudMQTTClientID->setText(QCoreApplication::translate("CLoggingSettingsPage", "Client ID", nullptr));
|
||||
mCloudMQTTClientIDLbl->setText(QCoreApplication::translate("CLoggingSettingsPage", "Client ID", nullptr));
|
||||
mCloudMQTTRefreshRateLbl->setText(QCoreApplication::translate("CLoggingSettingsPage", "Taux de rafraichissement (ms):", nullptr));
|
||||
mGeneralLogParamsLbl->setText(QCoreApplication::translate("CLoggingSettingsPage", "Param\303\250tres g\303\251n\303\251raux", nullptr));
|
||||
mSaveLocalLogFileChkBx->setText(QCoreApplication::translate("CLoggingSettingsPage", "Sauvegarder fichier log local", nullptr));
|
||||
mChangeParamsBtn->setText(QCoreApplication::translate("CLoggingSettingsPage", "Modifier", nullptr));
|
||||
mCancelBtn->setText(QCoreApplication::translate("CLoggingSettingsPage", "Annuler", nullptr));
|
||||
groupBox_2->setTitle(QCoreApplication::translate("CLoggingSettingsPage", "Logging (3 = tr\303\250s d\303\251taill\303\251)", nullptr));
|
||||
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));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user