273 lines
14 KiB
C++
273 lines
14 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'CableTestPage.ui'
|
|
**
|
|
** Created: Fri May 3 10:58:09 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/QCheckBox>
|
|
#include <QtGui/QComboBox>
|
|
#include <QtGui/QFrame>
|
|
#include <QtGui/QGridLayout>
|
|
#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;
|
|
QPushButton *mStartTestBtn;
|
|
QPushButton *mReinitTestBtn;
|
|
QCheckBox *mCableIdentStepChkBx;
|
|
QCheckBox *mVisualInspStepChkBx;
|
|
QCheckBox *mConSelStepChkBx;
|
|
QLabel *mInspVisuelleLabel_2;
|
|
QTextBrowser *mTestLogTextBox;
|
|
|
|
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, 471, 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(510, 410, 441, 351));
|
|
mOutputTestVisualisationWidget->setAutoFillBackground(false);
|
|
line_2 = new QFrame(CCableTestPage);
|
|
line_2->setObjectName(QString::fromUtf8("line_2"));
|
|
line_2->setGeometry(QRect(490, 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, 471, 131));
|
|
frame->setFrameShape(QFrame::Box);
|
|
frame->setFrameShadow(QFrame::Raised);
|
|
mStartTestBtn = new QPushButton(frame);
|
|
mStartTestBtn->setObjectName(QString::fromUtf8("mStartTestBtn"));
|
|
mStartTestBtn->setGeometry(QRect(260, 20, 91, 23));
|
|
mReinitTestBtn = new QPushButton(frame);
|
|
mReinitTestBtn->setObjectName(QString::fromUtf8("mReinitTestBtn"));
|
|
mReinitTestBtn->setGeometry(QRect(260, 70, 91, 23));
|
|
mCableIdentStepChkBx = new QCheckBox(frame);
|
|
mCableIdentStepChkBx->setObjectName(QString::fromUtf8("mCableIdentStepChkBx"));
|
|
mCableIdentStepChkBx->setGeometry(QRect(20, 20, 151, 17));
|
|
mCableIdentStepChkBx->setCheckable(false);
|
|
mVisualInspStepChkBx = new QCheckBox(frame);
|
|
mVisualInspStepChkBx->setObjectName(QString::fromUtf8("mVisualInspStepChkBx"));
|
|
mVisualInspStepChkBx->setGeometry(QRect(20, 50, 151, 17));
|
|
mVisualInspStepChkBx->setCheckable(true);
|
|
mConSelStepChkBx = new QCheckBox(frame);
|
|
mConSelStepChkBx->setObjectName(QString::fromUtf8("mConSelStepChkBx"));
|
|
mConSelStepChkBx->setGeometry(QRect(20, 80, 191, 17));
|
|
mConSelStepChkBx->setCheckable(false);
|
|
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);
|
|
|
|
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)
|
|
);
|
|
mStationNameCombo->clear();
|
|
mStationNameCombo->insertItems(0, QStringList()
|
|
<< QApplication::translate("CCableTestPage", "Frontenac", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("CCableTestPage", "C\303\264te-Vertu", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("CCableTestPage", "Angrignon", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("CCableTestPage", "Garage Angrignon", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("CCableTestPage", "Atwater", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("CCableTestPage", "Lionel-Groulx", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("CCableTestPage", "Viau", 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));
|
|
mStartTestBtn->setText(QApplication::translate("CCableTestPage", "D\303\251marrer test", 0, QApplication::UnicodeUTF8));
|
|
mReinitTestBtn->setText(QApplication::translate("CCableTestPage", "R\303\251initialiser test", 0, QApplication::UnicodeUTF8));
|
|
mCableIdentStepChkBx->setText(QApplication::translate("CCableTestPage", "1. Identification du c\303\242ble", 0, QApplication::UnicodeUTF8));
|
|
#ifndef QT_NO_TOOLTIP
|
|
mVisualInspStepChkBx->setToolTip(QString());
|
|
#endif // QT_NO_TOOLTIP
|
|
mVisualInspStepChkBx->setText(QApplication::translate("CCableTestPage", "2. Inspection visuelle", 0, QApplication::UnicodeUTF8));
|
|
mConSelStepChkBx->setText(QApplication::translate("CCableTestPage", "3. S\303\251lection du connecteur d'entr\303\251e", 0, QApplication::UnicodeUTF8));
|
|
mInspVisuelleLabel_2->setText(QApplication::translate("CCableTestPage", "Contr\303\264le du test \303\251lectrique", 0, QApplication::UnicodeUTF8));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class CCableTestPage: public Ui_CCableTestPage {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_CABLETESTPAGE_H
|