296 lines
16 KiB
C++
296 lines
16 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'CableTestPage.ui'
|
|
**
|
|
** Created: Tue May 14 11:42:48 2019
|
|
** by: Qt User Interface Compiler version 4.8.1
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_CABLETESTPAGE_H
|
|
#define UI_CABLETESTPAGE_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtGui/QAction>
|
|
#include <QtGui/QApplication>
|
|
#include <QtGui/QButtonGroup>
|
|
#include <QtGui/QComboBox>
|
|
#include <QtGui/QFrame>
|
|
#include <QtGui/QGridLayout>
|
|
#include <QtGui/QGroupBox>
|
|
#include <QtGui/QHeaderView>
|
|
#include <QtGui/QLabel>
|
|
#include <QtGui/QLineEdit>
|
|
#include <QtGui/QPushButton>
|
|
#include <QtGui/QTextBrowser>
|
|
#include <QtGui/QWidget>
|
|
#include "connectorselectwidget.h"
|
|
#include "connectortestvisualizationwidget.h"
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_CCableTestPage
|
|
{
|
|
public:
|
|
CConnectorSelectWidget *mConnectorSelectWidget;
|
|
QFrame *mCableConfigFrame;
|
|
QWidget *layoutWidget;
|
|
QGridLayout *gridLayout;
|
|
QLabel *mNomTesteurLabel;
|
|
QComboBox *mTypeCableCombo;
|
|
QLineEdit *mIdentCableEditBox;
|
|
QComboBox *mStationNameCombo;
|
|
QLabel *StationNameLabel;
|
|
QLabel *mTypeCableLabel;
|
|
QLabel *mIdentCableLabel;
|
|
QLineEdit *mNomTesteurEditBox;
|
|
QLabel *mCableConfigLabel;
|
|
QLabel *mInspVisuelleLabel;
|
|
QFrame *mInspVisuelleFrame;
|
|
QPushButton *mExecInspVisuelleBtn;
|
|
QLabel *mInspectionDoneIcon;
|
|
CConnectorTestVisualizationWidget *mInputTestVisualisationWidget;
|
|
QFrame *line;
|
|
CConnectorTestVisualizationWidget *mOutputTestVisualisationWidget;
|
|
QFrame *line_2;
|
|
QLabel *mInputContactsTextLabel;
|
|
QLabel *mOutputContactsTextLabel;
|
|
QPushButton *mNewCableBtn;
|
|
QFrame *frame;
|
|
QGroupBox *groupBox;
|
|
QPushButton *mStartTestBtn;
|
|
QPushButton *mReinitTestBtn;
|
|
QGroupBox *groupBox_2;
|
|
QPushButton *mStartManualTestBtn;
|
|
QPushButton *mSaveReportBtn;
|
|
QLabel *mCableIdentStepLabel;
|
|
QLabel *mVisualInspectionStepLabel;
|
|
QLabel *mConnectorSelStepLabel;
|
|
QLabel *mInspVisuelleLabel_2;
|
|
QTextBrowser *mTestLogTextBox;
|
|
QGroupBox *groupBox_3;
|
|
QLabel *mAutoTestResultLabel;
|
|
QPushButton *mOpenReportBtn;
|
|
|
|
void setupUi(QWidget *CCableTestPage)
|
|
{
|
|
if (CCableTestPage->objectName().isEmpty())
|
|
CCableTestPage->setObjectName(QString::fromUtf8("CCableTestPage"));
|
|
CCableTestPage->resize(1366, 768);
|
|
mConnectorSelectWidget = new CConnectorSelectWidget(CCableTestPage);
|
|
mConnectorSelectWidget->setObjectName(QString::fromUtf8("mConnectorSelectWidget"));
|
|
mConnectorSelectWidget->setGeometry(QRect(970, 10, 376, 537));
|
|
mCableConfigFrame = new QFrame(CCableTestPage);
|
|
mCableConfigFrame->setObjectName(QString::fromUtf8("mCableConfigFrame"));
|
|
mCableConfigFrame->setGeometry(QRect(50, 50, 471, 121));
|
|
mCableConfigFrame->setFrameShape(QFrame::WinPanel);
|
|
mCableConfigFrame->setFrameShadow(QFrame::Raised);
|
|
mCableConfigFrame->setLineWidth(3);
|
|
layoutWidget = new QWidget(CCableTestPage);
|
|
layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
|
|
layoutWidget->setGeometry(QRect(60, 60, 451, 100));
|
|
gridLayout = new QGridLayout(layoutWidget);
|
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
|
gridLayout->setContentsMargins(0, 0, 0, 0);
|
|
mNomTesteurLabel = new QLabel(layoutWidget);
|
|
mNomTesteurLabel->setObjectName(QString::fromUtf8("mNomTesteurLabel"));
|
|
QFont font;
|
|
font.setPointSize(12);
|
|
mNomTesteurLabel->setFont(font);
|
|
|
|
gridLayout->addWidget(mNomTesteurLabel, 3, 0, 1, 1, Qt::AlignRight);
|
|
|
|
mTypeCableCombo = new QComboBox(layoutWidget);
|
|
mTypeCableCombo->setObjectName(QString::fromUtf8("mTypeCableCombo"));
|
|
|
|
gridLayout->addWidget(mTypeCableCombo, 2, 1, 1, 2);
|
|
|
|
mIdentCableEditBox = new QLineEdit(layoutWidget);
|
|
mIdentCableEditBox->setObjectName(QString::fromUtf8("mIdentCableEditBox"));
|
|
|
|
gridLayout->addWidget(mIdentCableEditBox, 1, 1, 1, 2);
|
|
|
|
mStationNameCombo = new QComboBox(layoutWidget);
|
|
mStationNameCombo->setObjectName(QString::fromUtf8("mStationNameCombo"));
|
|
|
|
gridLayout->addWidget(mStationNameCombo, 0, 1, 1, 2);
|
|
|
|
StationNameLabel = new QLabel(layoutWidget);
|
|
StationNameLabel->setObjectName(QString::fromUtf8("StationNameLabel"));
|
|
StationNameLabel->setFont(font);
|
|
|
|
gridLayout->addWidget(StationNameLabel, 0, 0, 1, 1, Qt::AlignRight);
|
|
|
|
mTypeCableLabel = new QLabel(layoutWidget);
|
|
mTypeCableLabel->setObjectName(QString::fromUtf8("mTypeCableLabel"));
|
|
mTypeCableLabel->setFont(font);
|
|
|
|
gridLayout->addWidget(mTypeCableLabel, 2, 0, 1, 1, Qt::AlignRight);
|
|
|
|
mIdentCableLabel = new QLabel(layoutWidget);
|
|
mIdentCableLabel->setObjectName(QString::fromUtf8("mIdentCableLabel"));
|
|
mIdentCableLabel->setFont(font);
|
|
|
|
gridLayout->addWidget(mIdentCableLabel, 1, 0, 1, 1);
|
|
|
|
mNomTesteurEditBox = new QLineEdit(layoutWidget);
|
|
mNomTesteurEditBox->setObjectName(QString::fromUtf8("mNomTesteurEditBox"));
|
|
|
|
gridLayout->addWidget(mNomTesteurEditBox, 3, 1, 1, 2);
|
|
|
|
mCableConfigLabel = new QLabel(CCableTestPage);
|
|
mCableConfigLabel->setObjectName(QString::fromUtf8("mCableConfigLabel"));
|
|
mCableConfigLabel->setGeometry(QRect(60, 20, 271, 20));
|
|
mCableConfigLabel->setFont(font);
|
|
mInspVisuelleLabel = new QLabel(CCableTestPage);
|
|
mInspVisuelleLabel->setObjectName(QString::fromUtf8("mInspVisuelleLabel"));
|
|
mInspVisuelleLabel->setGeometry(QRect(600, 20, 271, 20));
|
|
mInspVisuelleLabel->setFont(font);
|
|
mInspVisuelleFrame = new QFrame(CCableTestPage);
|
|
mInspVisuelleFrame->setObjectName(QString::fromUtf8("mInspVisuelleFrame"));
|
|
mInspVisuelleFrame->setGeometry(QRect(600, 40, 291, 121));
|
|
mInspVisuelleFrame->setFrameShape(QFrame::StyledPanel);
|
|
mInspVisuelleFrame->setFrameShadow(QFrame::Plain);
|
|
mInspVisuelleFrame->setLineWidth(3);
|
|
mExecInspVisuelleBtn = new QPushButton(mInspVisuelleFrame);
|
|
mExecInspVisuelleBtn->setObjectName(QString::fromUtf8("mExecInspVisuelleBtn"));
|
|
mExecInspVisuelleBtn->setGeometry(QRect(10, 50, 121, 23));
|
|
mInspectionDoneIcon = new QLabel(mInspVisuelleFrame);
|
|
mInspectionDoneIcon->setObjectName(QString::fromUtf8("mInspectionDoneIcon"));
|
|
mInspectionDoneIcon->setGeometry(QRect(160, 20, 101, 91));
|
|
mInputTestVisualisationWidget = new CConnectorTestVisualizationWidget(CCableTestPage);
|
|
mInputTestVisualisationWidget->setObjectName(QString::fromUtf8("mInputTestVisualisationWidget"));
|
|
mInputTestVisualisationWidget->setGeometry(QRect(10, 410, 461, 351));
|
|
mInputTestVisualisationWidget->setAutoFillBackground(false);
|
|
line = new QFrame(CCableTestPage);
|
|
line->setObjectName(QString::fromUtf8("line"));
|
|
line->setGeometry(QRect(30, 360, 901, 20));
|
|
line->setFrameShape(QFrame::HLine);
|
|
line->setFrameShadow(QFrame::Sunken);
|
|
mOutputTestVisualisationWidget = new CConnectorTestVisualizationWidget(CCableTestPage);
|
|
mOutputTestVisualisationWidget->setObjectName(QString::fromUtf8("mOutputTestVisualisationWidget"));
|
|
mOutputTestVisualisationWidget->setGeometry(QRect(500, 410, 461, 351));
|
|
mOutputTestVisualisationWidget->setAutoFillBackground(false);
|
|
line_2 = new QFrame(CCableTestPage);
|
|
line_2->setObjectName(QString::fromUtf8("line_2"));
|
|
line_2->setGeometry(QRect(480, 390, 20, 371));
|
|
line_2->setFrameShape(QFrame::VLine);
|
|
line_2->setFrameShadow(QFrame::Sunken);
|
|
mInputContactsTextLabel = new QLabel(CCableTestPage);
|
|
mInputContactsTextLabel->setObjectName(QString::fromUtf8("mInputContactsTextLabel"));
|
|
mInputContactsTextLabel->setGeometry(QRect(130, 370, 161, 41));
|
|
QFont font1;
|
|
font1.setPointSize(16);
|
|
mInputContactsTextLabel->setFont(font1);
|
|
mOutputContactsTextLabel = new QLabel(CCableTestPage);
|
|
mOutputContactsTextLabel->setObjectName(QString::fromUtf8("mOutputContactsTextLabel"));
|
|
mOutputContactsTextLabel->setGeometry(QRect(670, 370, 161, 41));
|
|
mOutputContactsTextLabel->setFont(font1);
|
|
mNewCableBtn = new QPushButton(CCableTestPage);
|
|
mNewCableBtn->setObjectName(QString::fromUtf8("mNewCableBtn"));
|
|
mNewCableBtn->setGeometry(QRect(430, 20, 91, 23));
|
|
frame = new QFrame(CCableTestPage);
|
|
frame->setObjectName(QString::fromUtf8("frame"));
|
|
frame->setGeometry(QRect(50, 220, 621, 131));
|
|
frame->setFrameShape(QFrame::Box);
|
|
frame->setFrameShadow(QFrame::Raised);
|
|
groupBox = new QGroupBox(frame);
|
|
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
|
groupBox->setGeometry(QRect(310, 10, 121, 91));
|
|
mStartTestBtn = new QPushButton(groupBox);
|
|
mStartTestBtn->setObjectName(QString::fromUtf8("mStartTestBtn"));
|
|
mStartTestBtn->setGeometry(QRect(20, 20, 91, 23));
|
|
mReinitTestBtn = new QPushButton(groupBox);
|
|
mReinitTestBtn->setObjectName(QString::fromUtf8("mReinitTestBtn"));
|
|
mReinitTestBtn->setGeometry(QRect(20, 50, 91, 23));
|
|
groupBox_2 = new QGroupBox(frame);
|
|
groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
|
|
groupBox_2->setGeometry(QRect(480, 10, 111, 80));
|
|
mStartManualTestBtn = new QPushButton(groupBox_2);
|
|
mStartManualTestBtn->setObjectName(QString::fromUtf8("mStartManualTestBtn"));
|
|
mStartManualTestBtn->setGeometry(QRect(20, 30, 75, 23));
|
|
mSaveReportBtn = new QPushButton(frame);
|
|
mSaveReportBtn->setObjectName(QString::fromUtf8("mSaveReportBtn"));
|
|
mSaveReportBtn->setGeometry(QRect(480, 100, 121, 23));
|
|
mCableIdentStepLabel = new QLabel(frame);
|
|
mCableIdentStepLabel->setObjectName(QString::fromUtf8("mCableIdentStepLabel"));
|
|
mCableIdentStepLabel->setGeometry(QRect(20, 20, 201, 16));
|
|
mVisualInspectionStepLabel = new QLabel(frame);
|
|
mVisualInspectionStepLabel->setObjectName(QString::fromUtf8("mVisualInspectionStepLabel"));
|
|
mVisualInspectionStepLabel->setGeometry(QRect(20, 50, 201, 16));
|
|
mConnectorSelStepLabel = new QLabel(frame);
|
|
mConnectorSelStepLabel->setObjectName(QString::fromUtf8("mConnectorSelStepLabel"));
|
|
mConnectorSelStepLabel->setGeometry(QRect(20, 80, 271, 16));
|
|
mInspVisuelleLabel_2 = new QLabel(CCableTestPage);
|
|
mInspVisuelleLabel_2->setObjectName(QString::fromUtf8("mInspVisuelleLabel_2"));
|
|
mInspVisuelleLabel_2->setGeometry(QRect(50, 200, 221, 20));
|
|
mInspVisuelleLabel_2->setFont(font);
|
|
mTestLogTextBox = new QTextBrowser(CCableTestPage);
|
|
mTestLogTextBox->setObjectName(QString::fromUtf8("mTestLogTextBox"));
|
|
mTestLogTextBox->setGeometry(QRect(970, 550, 381, 201));
|
|
mTestLogTextBox->setFrameShape(QFrame::Box);
|
|
mTestLogTextBox->setFrameShadow(QFrame::Plain);
|
|
groupBox_3 = new QGroupBox(CCableTestPage);
|
|
groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
|
|
groupBox_3->setGeometry(QRect(720, 220, 231, 131));
|
|
mAutoTestResultLabel = new QLabel(groupBox_3);
|
|
mAutoTestResultLabel->setObjectName(QString::fromUtf8("mAutoTestResultLabel"));
|
|
mAutoTestResultLabel->setGeometry(QRect(30, 40, 181, 41));
|
|
QFont font2;
|
|
font2.setPointSize(26);
|
|
mAutoTestResultLabel->setFont(font2);
|
|
mAutoTestResultLabel->setAlignment(Qt::AlignCenter);
|
|
mOpenReportBtn = new QPushButton(groupBox_3);
|
|
mOpenReportBtn->setObjectName(QString::fromUtf8("mOpenReportBtn"));
|
|
mOpenReportBtn->setGeometry(QRect(70, 100, 101, 23));
|
|
|
|
retranslateUi(CCableTestPage);
|
|
|
|
QMetaObject::connectSlotsByName(CCableTestPage);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *CCableTestPage)
|
|
{
|
|
CCableTestPage->setWindowTitle(QApplication::translate("CCableTestPage", "Form", 0, QApplication::UnicodeUTF8));
|
|
mNomTesteurLabel->setText(QApplication::translate("CCableTestPage", "Nom du testeur", 0, QApplication::UnicodeUTF8));
|
|
mTypeCableCombo->clear();
|
|
mTypeCableCombo->insertItems(0, QStringList()
|
|
<< QApplication::translate("CCableTestPage", "Permanent", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("CCableTestPage", "Temporaire", 0, QApplication::UnicodeUTF8)
|
|
);
|
|
StationNameLabel->setText(QApplication::translate("CCableTestPage", "Station", 0, QApplication::UnicodeUTF8));
|
|
mTypeCableLabel->setText(QApplication::translate("CCableTestPage", "Type c\303\242ble", 0, QApplication::UnicodeUTF8));
|
|
mIdentCableLabel->setText(QApplication::translate("CCableTestPage", "Identification du c\303\242ble", 0, QApplication::UnicodeUTF8));
|
|
mNomTesteurEditBox->setText(QString());
|
|
mCableConfigLabel->setText(QApplication::translate("CCableTestPage", "Configuration du c\303\242ble", 0, QApplication::UnicodeUTF8));
|
|
mInspVisuelleLabel->setText(QApplication::translate("CCableTestPage", "Inspection visuelle", 0, QApplication::UnicodeUTF8));
|
|
mExecInspVisuelleBtn->setText(QApplication::translate("CCableTestPage", "Effectuer Inspection", 0, QApplication::UnicodeUTF8));
|
|
mInspectionDoneIcon->setText(QApplication::translate("CCableTestPage", "TextLabel", 0, QApplication::UnicodeUTF8));
|
|
mInputContactsTextLabel->setText(QApplication::translate("CCableTestPage", "Contacts entr\303\251e", 0, QApplication::UnicodeUTF8));
|
|
mOutputContactsTextLabel->setText(QApplication::translate("CCableTestPage", "Contacts sortie", 0, QApplication::UnicodeUTF8));
|
|
mNewCableBtn->setText(QApplication::translate("CCableTestPage", "Nouveau C\303\242ble", 0, QApplication::UnicodeUTF8));
|
|
groupBox->setTitle(QApplication::translate("CCableTestPage", "Test Automatique", 0, QApplication::UnicodeUTF8));
|
|
mStartTestBtn->setText(QApplication::translate("CCableTestPage", "D\303\251marrer test", 0, QApplication::UnicodeUTF8));
|
|
mReinitTestBtn->setText(QApplication::translate("CCableTestPage", "R\303\251initialiser test", 0, QApplication::UnicodeUTF8));
|
|
groupBox_2->setTitle(QApplication::translate("CCableTestPage", "Test Manuel", 0, QApplication::UnicodeUTF8));
|
|
mStartManualTestBtn->setText(QApplication::translate("CCableTestPage", "Ex\303\251cuter", 0, QApplication::UnicodeUTF8));
|
|
mSaveReportBtn->setText(QApplication::translate("CCableTestPage", "Sauvegarder Rapport", 0, QApplication::UnicodeUTF8));
|
|
mCableIdentStepLabel->setText(QApplication::translate("CCableTestPage", "1. Identification du c\303\242ble: \303\200 REMPLIR", 0, QApplication::UnicodeUTF8));
|
|
mVisualInspectionStepLabel->setText(QApplication::translate("CCableTestPage", "2. Inspection visuelle: \303\200 EX\303\211CUTER", 0, QApplication::UnicodeUTF8));
|
|
mConnectorSelStepLabel->setText(QApplication::translate("CCableTestPage", "3. S\303\251lection du connecteur d'entr\303\251e: \303\200 S\303\211LECTIONNER", 0, QApplication::UnicodeUTF8));
|
|
mInspVisuelleLabel_2->setText(QApplication::translate("CCableTestPage", "Contr\303\264le du test \303\251lectrique", 0, QApplication::UnicodeUTF8));
|
|
groupBox_3->setTitle(QApplication::translate("CCableTestPage", "R\303\251sultat du test", 0, QApplication::UnicodeUTF8));
|
|
mAutoTestResultLabel->setText(QApplication::translate("CCableTestPage", "En cours...", 0, QApplication::UnicodeUTF8));
|
|
mOpenReportBtn->setText(QApplication::translate("CCableTestPage", "Ouvrir Rapport", 0, QApplication::UnicodeUTF8));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class CCableTestPage: public Ui_CCableTestPage {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_CABLETESTPAGE_H
|