191 lines
8.9 KiB
C++
191 lines
8.9 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'CableTestPage.ui'
|
|
**
|
|
** Created: Wed May 1 16:26:00 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/QHeaderView>
|
|
#include <QtGui/QLabel>
|
|
#include <QtGui/QLineEdit>
|
|
#include <QtGui/QPushButton>
|
|
#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 *mConnectorTestVisualisationWidget;
|
|
QFrame *line;
|
|
|
|
void setupUi(QWidget *CCableTestPage)
|
|
{
|
|
if (CCableTestPage->objectName().isEmpty())
|
|
CCableTestPage->setObjectName(QString::fromUtf8("CCableTestPage"));
|
|
CCableTestPage->resize(1800, 880);
|
|
mConnectorSelectWidget = new CConnectorSelectWidget(CCableTestPage);
|
|
mConnectorSelectWidget->setObjectName(QString::fromUtf8("mConnectorSelectWidget"));
|
|
mConnectorSelectWidget->setGeometry(QRect(850, 20, 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(50, 30, 271, 20));
|
|
mCableConfigLabel->setFont(font);
|
|
mInspVisuelleLabel = new QLabel(CCableTestPage);
|
|
mInspVisuelleLabel->setObjectName(QString::fromUtf8("mInspVisuelleLabel"));
|
|
mInspVisuelleLabel->setGeometry(QRect(60, 200, 271, 20));
|
|
mInspVisuelleLabel->setFont(font);
|
|
mInspVisuelleFrame = new QFrame(CCableTestPage);
|
|
mInspVisuelleFrame->setObjectName(QString::fromUtf8("mInspVisuelleFrame"));
|
|
mInspVisuelleFrame->setGeometry(QRect(50, 220, 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));
|
|
mConnectorTestVisualisationWidget = new CConnectorTestVisualizationWidget(CCableTestPage);
|
|
mConnectorTestVisualisationWidget->setObjectName(QString::fromUtf8("mConnectorTestVisualisationWidget"));
|
|
mConnectorTestVisualisationWidget->setGeometry(QRect(60, 410, 741, 231));
|
|
line = new QFrame(CCableTestPage);
|
|
line->setObjectName(QString::fromUtf8("line"));
|
|
line->setGeometry(QRect(57, 380, 751, 20));
|
|
line->setFrameShape(QFrame::HLine);
|
|
line->setFrameShadow(QFrame::Sunken);
|
|
|
|
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));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class CCableTestPage: public Ui_CCableTestPage {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_CABLETESTPAGE_H
|