Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

303 wiersze
16 KiB

  1. /********************************************************************************
  2. ** Form generated from reading UI file 'CableTestPage.ui'
  3. **
  4. ** Created: Fri May 10 15:48:28 2019
  5. ** by: Qt User Interface Compiler version 4.8.1
  6. **
  7. ** WARNING! All changes made in this file will be lost when recompiling UI file!
  8. ********************************************************************************/
  9. #ifndef UI_CABLETESTPAGE_H
  10. #define UI_CABLETESTPAGE_H
  11. #include <QtCore/QVariant>
  12. #include <QtGui/QAction>
  13. #include <QtGui/QApplication>
  14. #include <QtGui/QButtonGroup>
  15. #include <QtGui/QCheckBox>
  16. #include <QtGui/QComboBox>
  17. #include <QtGui/QFrame>
  18. #include <QtGui/QGridLayout>
  19. #include <QtGui/QGroupBox>
  20. #include <QtGui/QHeaderView>
  21. #include <QtGui/QLabel>
  22. #include <QtGui/QLineEdit>
  23. #include <QtGui/QPushButton>
  24. #include <QtGui/QTextBrowser>
  25. #include <QtGui/QWidget>
  26. #include "connectorselectwidget.h"
  27. #include "connectortestvisualizationwidget.h"
  28. QT_BEGIN_NAMESPACE
  29. class Ui_CCableTestPage
  30. {
  31. public:
  32. CConnectorSelectWidget *mConnectorSelectWidget;
  33. QFrame *mCableConfigFrame;
  34. QWidget *layoutWidget;
  35. QGridLayout *gridLayout;
  36. QLabel *mNomTesteurLabel;
  37. QComboBox *mTypeCableCombo;
  38. QLineEdit *mIdentCableEditBox;
  39. QComboBox *mStationNameCombo;
  40. QLabel *StationNameLabel;
  41. QLabel *mTypeCableLabel;
  42. QLabel *mIdentCableLabel;
  43. QLineEdit *mNomTesteurEditBox;
  44. QLabel *mCableConfigLabel;
  45. QLabel *mInspVisuelleLabel;
  46. QFrame *mInspVisuelleFrame;
  47. QPushButton *mExecInspVisuelleBtn;
  48. QLabel *mInspectionDoneIcon;
  49. CConnectorTestVisualizationWidget *mInputTestVisualisationWidget;
  50. QFrame *line;
  51. CConnectorTestVisualizationWidget *mOutputTestVisualisationWidget;
  52. QFrame *line_2;
  53. QLabel *mInputContactsTextLabel;
  54. QLabel *mOutputContactsTextLabel;
  55. QPushButton *mNewCableBtn;
  56. QFrame *frame;
  57. QCheckBox *mCableIdentStepChkBx;
  58. QCheckBox *mVisualInspStepChkBx;
  59. QCheckBox *mConSelStepChkBx;
  60. QGroupBox *groupBox;
  61. QPushButton *mStartTestBtn;
  62. QPushButton *mReinitTestBtn;
  63. QGroupBox *groupBox_2;
  64. QPushButton *mStartManualTestBtn;
  65. QPushButton *mSaveReportBtn;
  66. QLabel *mInspVisuelleLabel_2;
  67. QTextBrowser *mTestLogTextBox;
  68. QGroupBox *groupBox_3;
  69. QLabel *mAutoTestResultLabel;
  70. QPushButton *mOpenReportBtn;
  71. void setupUi(QWidget *CCableTestPage)
  72. {
  73. if (CCableTestPage->objectName().isEmpty())
  74. CCableTestPage->setObjectName(QString::fromUtf8("CCableTestPage"));
  75. CCableTestPage->resize(1366, 768);
  76. mConnectorSelectWidget = new CConnectorSelectWidget(CCableTestPage);
  77. mConnectorSelectWidget->setObjectName(QString::fromUtf8("mConnectorSelectWidget"));
  78. mConnectorSelectWidget->setGeometry(QRect(970, 10, 376, 537));
  79. mCableConfigFrame = new QFrame(CCableTestPage);
  80. mCableConfigFrame->setObjectName(QString::fromUtf8("mCableConfigFrame"));
  81. mCableConfigFrame->setGeometry(QRect(50, 50, 471, 121));
  82. mCableConfigFrame->setFrameShape(QFrame::WinPanel);
  83. mCableConfigFrame->setFrameShadow(QFrame::Raised);
  84. mCableConfigFrame->setLineWidth(3);
  85. layoutWidget = new QWidget(CCableTestPage);
  86. layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
  87. layoutWidget->setGeometry(QRect(60, 60, 451, 100));
  88. gridLayout = new QGridLayout(layoutWidget);
  89. gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
  90. gridLayout->setContentsMargins(0, 0, 0, 0);
  91. mNomTesteurLabel = new QLabel(layoutWidget);
  92. mNomTesteurLabel->setObjectName(QString::fromUtf8("mNomTesteurLabel"));
  93. QFont font;
  94. font.setPointSize(12);
  95. mNomTesteurLabel->setFont(font);
  96. gridLayout->addWidget(mNomTesteurLabel, 3, 0, 1, 1, Qt::AlignRight);
  97. mTypeCableCombo = new QComboBox(layoutWidget);
  98. mTypeCableCombo->setObjectName(QString::fromUtf8("mTypeCableCombo"));
  99. gridLayout->addWidget(mTypeCableCombo, 2, 1, 1, 2);
  100. mIdentCableEditBox = new QLineEdit(layoutWidget);
  101. mIdentCableEditBox->setObjectName(QString::fromUtf8("mIdentCableEditBox"));
  102. gridLayout->addWidget(mIdentCableEditBox, 1, 1, 1, 2);
  103. mStationNameCombo = new QComboBox(layoutWidget);
  104. mStationNameCombo->setObjectName(QString::fromUtf8("mStationNameCombo"));
  105. gridLayout->addWidget(mStationNameCombo, 0, 1, 1, 2);
  106. StationNameLabel = new QLabel(layoutWidget);
  107. StationNameLabel->setObjectName(QString::fromUtf8("StationNameLabel"));
  108. StationNameLabel->setFont(font);
  109. gridLayout->addWidget(StationNameLabel, 0, 0, 1, 1, Qt::AlignRight);
  110. mTypeCableLabel = new QLabel(layoutWidget);
  111. mTypeCableLabel->setObjectName(QString::fromUtf8("mTypeCableLabel"));
  112. mTypeCableLabel->setFont(font);
  113. gridLayout->addWidget(mTypeCableLabel, 2, 0, 1, 1, Qt::AlignRight);
  114. mIdentCableLabel = new QLabel(layoutWidget);
  115. mIdentCableLabel->setObjectName(QString::fromUtf8("mIdentCableLabel"));
  116. mIdentCableLabel->setFont(font);
  117. gridLayout->addWidget(mIdentCableLabel, 1, 0, 1, 1);
  118. mNomTesteurEditBox = new QLineEdit(layoutWidget);
  119. mNomTesteurEditBox->setObjectName(QString::fromUtf8("mNomTesteurEditBox"));
  120. gridLayout->addWidget(mNomTesteurEditBox, 3, 1, 1, 2);
  121. mCableConfigLabel = new QLabel(CCableTestPage);
  122. mCableConfigLabel->setObjectName(QString::fromUtf8("mCableConfigLabel"));
  123. mCableConfigLabel->setGeometry(QRect(60, 20, 271, 20));
  124. mCableConfigLabel->setFont(font);
  125. mInspVisuelleLabel = new QLabel(CCableTestPage);
  126. mInspVisuelleLabel->setObjectName(QString::fromUtf8("mInspVisuelleLabel"));
  127. mInspVisuelleLabel->setGeometry(QRect(600, 20, 271, 20));
  128. mInspVisuelleLabel->setFont(font);
  129. mInspVisuelleFrame = new QFrame(CCableTestPage);
  130. mInspVisuelleFrame->setObjectName(QString::fromUtf8("mInspVisuelleFrame"));
  131. mInspVisuelleFrame->setGeometry(QRect(600, 40, 291, 121));
  132. mInspVisuelleFrame->setFrameShape(QFrame::StyledPanel);
  133. mInspVisuelleFrame->setFrameShadow(QFrame::Plain);
  134. mInspVisuelleFrame->setLineWidth(3);
  135. mExecInspVisuelleBtn = new QPushButton(mInspVisuelleFrame);
  136. mExecInspVisuelleBtn->setObjectName(QString::fromUtf8("mExecInspVisuelleBtn"));
  137. mExecInspVisuelleBtn->setGeometry(QRect(10, 50, 121, 23));
  138. mInspectionDoneIcon = new QLabel(mInspVisuelleFrame);
  139. mInspectionDoneIcon->setObjectName(QString::fromUtf8("mInspectionDoneIcon"));
  140. mInspectionDoneIcon->setGeometry(QRect(160, 20, 101, 91));
  141. mInputTestVisualisationWidget = new CConnectorTestVisualizationWidget(CCableTestPage);
  142. mInputTestVisualisationWidget->setObjectName(QString::fromUtf8("mInputTestVisualisationWidget"));
  143. mInputTestVisualisationWidget->setGeometry(QRect(10, 410, 461, 351));
  144. mInputTestVisualisationWidget->setAutoFillBackground(false);
  145. line = new QFrame(CCableTestPage);
  146. line->setObjectName(QString::fromUtf8("line"));
  147. line->setGeometry(QRect(30, 360, 901, 20));
  148. line->setFrameShape(QFrame::HLine);
  149. line->setFrameShadow(QFrame::Sunken);
  150. mOutputTestVisualisationWidget = new CConnectorTestVisualizationWidget(CCableTestPage);
  151. mOutputTestVisualisationWidget->setObjectName(QString::fromUtf8("mOutputTestVisualisationWidget"));
  152. mOutputTestVisualisationWidget->setGeometry(QRect(500, 410, 461, 351));
  153. mOutputTestVisualisationWidget->setAutoFillBackground(false);
  154. line_2 = new QFrame(CCableTestPage);
  155. line_2->setObjectName(QString::fromUtf8("line_2"));
  156. line_2->setGeometry(QRect(480, 390, 20, 371));
  157. line_2->setFrameShape(QFrame::VLine);
  158. line_2->setFrameShadow(QFrame::Sunken);
  159. mInputContactsTextLabel = new QLabel(CCableTestPage);
  160. mInputContactsTextLabel->setObjectName(QString::fromUtf8("mInputContactsTextLabel"));
  161. mInputContactsTextLabel->setGeometry(QRect(130, 370, 161, 41));
  162. QFont font1;
  163. font1.setPointSize(16);
  164. mInputContactsTextLabel->setFont(font1);
  165. mOutputContactsTextLabel = new QLabel(CCableTestPage);
  166. mOutputContactsTextLabel->setObjectName(QString::fromUtf8("mOutputContactsTextLabel"));
  167. mOutputContactsTextLabel->setGeometry(QRect(670, 370, 161, 41));
  168. mOutputContactsTextLabel->setFont(font1);
  169. mNewCableBtn = new QPushButton(CCableTestPage);
  170. mNewCableBtn->setObjectName(QString::fromUtf8("mNewCableBtn"));
  171. mNewCableBtn->setGeometry(QRect(430, 20, 91, 23));
  172. frame = new QFrame(CCableTestPage);
  173. frame->setObjectName(QString::fromUtf8("frame"));
  174. frame->setGeometry(QRect(50, 220, 491, 131));
  175. frame->setFrameShape(QFrame::Box);
  176. frame->setFrameShadow(QFrame::Raised);
  177. mCableIdentStepChkBx = new QCheckBox(frame);
  178. mCableIdentStepChkBx->setObjectName(QString::fromUtf8("mCableIdentStepChkBx"));
  179. mCableIdentStepChkBx->setGeometry(QRect(20, 20, 151, 17));
  180. mCableIdentStepChkBx->setCheckable(false);
  181. mVisualInspStepChkBx = new QCheckBox(frame);
  182. mVisualInspStepChkBx->setObjectName(QString::fromUtf8("mVisualInspStepChkBx"));
  183. mVisualInspStepChkBx->setGeometry(QRect(20, 50, 151, 17));
  184. mVisualInspStepChkBx->setCheckable(true);
  185. mConSelStepChkBx = new QCheckBox(frame);
  186. mConSelStepChkBx->setObjectName(QString::fromUtf8("mConSelStepChkBx"));
  187. mConSelStepChkBx->setGeometry(QRect(20, 80, 191, 17));
  188. mConSelStepChkBx->setCheckable(false);
  189. groupBox = new QGroupBox(frame);
  190. groupBox->setObjectName(QString::fromUtf8("groupBox"));
  191. groupBox->setGeometry(QRect(230, 10, 121, 91));
  192. mStartTestBtn = new QPushButton(groupBox);
  193. mStartTestBtn->setObjectName(QString::fromUtf8("mStartTestBtn"));
  194. mStartTestBtn->setGeometry(QRect(20, 20, 91, 23));
  195. mReinitTestBtn = new QPushButton(groupBox);
  196. mReinitTestBtn->setObjectName(QString::fromUtf8("mReinitTestBtn"));
  197. mReinitTestBtn->setGeometry(QRect(20, 50, 91, 23));
  198. groupBox_2 = new QGroupBox(frame);
  199. groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
  200. groupBox_2->setGeometry(QRect(370, 10, 111, 80));
  201. mStartManualTestBtn = new QPushButton(groupBox_2);
  202. mStartManualTestBtn->setObjectName(QString::fromUtf8("mStartManualTestBtn"));
  203. mStartManualTestBtn->setGeometry(QRect(20, 30, 75, 23));
  204. mSaveReportBtn = new QPushButton(frame);
  205. mSaveReportBtn->setObjectName(QString::fromUtf8("mSaveReportBtn"));
  206. mSaveReportBtn->setGeometry(QRect(360, 100, 121, 23));
  207. mInspVisuelleLabel_2 = new QLabel(CCableTestPage);
  208. mInspVisuelleLabel_2->setObjectName(QString::fromUtf8("mInspVisuelleLabel_2"));
  209. mInspVisuelleLabel_2->setGeometry(QRect(50, 200, 221, 20));
  210. mInspVisuelleLabel_2->setFont(font);
  211. mTestLogTextBox = new QTextBrowser(CCableTestPage);
  212. mTestLogTextBox->setObjectName(QString::fromUtf8("mTestLogTextBox"));
  213. mTestLogTextBox->setGeometry(QRect(970, 550, 381, 201));
  214. mTestLogTextBox->setFrameShape(QFrame::Box);
  215. mTestLogTextBox->setFrameShadow(QFrame::Plain);
  216. groupBox_3 = new QGroupBox(CCableTestPage);
  217. groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
  218. groupBox_3->setGeometry(QRect(600, 220, 231, 131));
  219. mAutoTestResultLabel = new QLabel(groupBox_3);
  220. mAutoTestResultLabel->setObjectName(QString::fromUtf8("mAutoTestResultLabel"));
  221. mAutoTestResultLabel->setGeometry(QRect(30, 40, 181, 41));
  222. QFont font2;
  223. font2.setPointSize(26);
  224. mAutoTestResultLabel->setFont(font2);
  225. mAutoTestResultLabel->setAlignment(Qt::AlignCenter);
  226. mOpenReportBtn = new QPushButton(groupBox_3);
  227. mOpenReportBtn->setObjectName(QString::fromUtf8("mOpenReportBtn"));
  228. mOpenReportBtn->setGeometry(QRect(70, 100, 101, 23));
  229. retranslateUi(CCableTestPage);
  230. QMetaObject::connectSlotsByName(CCableTestPage);
  231. } // setupUi
  232. void retranslateUi(QWidget *CCableTestPage)
  233. {
  234. CCableTestPage->setWindowTitle(QApplication::translate("CCableTestPage", "Form", 0, QApplication::UnicodeUTF8));
  235. mNomTesteurLabel->setText(QApplication::translate("CCableTestPage", "Nom du testeur", 0, QApplication::UnicodeUTF8));
  236. mTypeCableCombo->clear();
  237. mTypeCableCombo->insertItems(0, QStringList()
  238. << QApplication::translate("CCableTestPage", "Permanent", 0, QApplication::UnicodeUTF8)
  239. << QApplication::translate("CCableTestPage", "Temporaire", 0, QApplication::UnicodeUTF8)
  240. );
  241. StationNameLabel->setText(QApplication::translate("CCableTestPage", "Station", 0, QApplication::UnicodeUTF8));
  242. mTypeCableLabel->setText(QApplication::translate("CCableTestPage", "Type c\303\242ble", 0, QApplication::UnicodeUTF8));
  243. mIdentCableLabel->setText(QApplication::translate("CCableTestPage", "Identification du c\303\242ble", 0, QApplication::UnicodeUTF8));
  244. mNomTesteurEditBox->setText(QString());
  245. mCableConfigLabel->setText(QApplication::translate("CCableTestPage", "Configuration du c\303\242ble", 0, QApplication::UnicodeUTF8));
  246. mInspVisuelleLabel->setText(QApplication::translate("CCableTestPage", "Inspection visuelle", 0, QApplication::UnicodeUTF8));
  247. mExecInspVisuelleBtn->setText(QApplication::translate("CCableTestPage", "Effectuer Inspection", 0, QApplication::UnicodeUTF8));
  248. mInspectionDoneIcon->setText(QApplication::translate("CCableTestPage", "TextLabel", 0, QApplication::UnicodeUTF8));
  249. mInputContactsTextLabel->setText(QApplication::translate("CCableTestPage", "Contacts entr\303\251e", 0, QApplication::UnicodeUTF8));
  250. mOutputContactsTextLabel->setText(QApplication::translate("CCableTestPage", "Contacts sortie", 0, QApplication::UnicodeUTF8));
  251. mNewCableBtn->setText(QApplication::translate("CCableTestPage", "Nouveau C\303\242ble", 0, QApplication::UnicodeUTF8));
  252. mCableIdentStepChkBx->setText(QApplication::translate("CCableTestPage", "1. Identification du c\303\242ble", 0, QApplication::UnicodeUTF8));
  253. #ifndef QT_NO_TOOLTIP
  254. mVisualInspStepChkBx->setToolTip(QString());
  255. #endif // QT_NO_TOOLTIP
  256. mVisualInspStepChkBx->setText(QApplication::translate("CCableTestPage", "2. Inspection visuelle", 0, QApplication::UnicodeUTF8));
  257. mConSelStepChkBx->setText(QApplication::translate("CCableTestPage", "3. S\303\251lection du connecteur d'entr\303\251e", 0, QApplication::UnicodeUTF8));
  258. groupBox->setTitle(QApplication::translate("CCableTestPage", "Test Automatique", 0, QApplication::UnicodeUTF8));
  259. mStartTestBtn->setText(QApplication::translate("CCableTestPage", "D\303\251marrer test", 0, QApplication::UnicodeUTF8));
  260. mReinitTestBtn->setText(QApplication::translate("CCableTestPage", "R\303\251initialiser test", 0, QApplication::UnicodeUTF8));
  261. groupBox_2->setTitle(QApplication::translate("CCableTestPage", "Test Manuel", 0, QApplication::UnicodeUTF8));
  262. mStartManualTestBtn->setText(QApplication::translate("CCableTestPage", "Ex\303\251cuter", 0, QApplication::UnicodeUTF8));
  263. mSaveReportBtn->setText(QApplication::translate("CCableTestPage", "Sauvegarder Rapport", 0, QApplication::UnicodeUTF8));
  264. mInspVisuelleLabel_2->setText(QApplication::translate("CCableTestPage", "Contr\303\264le du test \303\251lectrique", 0, QApplication::UnicodeUTF8));
  265. groupBox_3->setTitle(QApplication::translate("CCableTestPage", "R\303\251sultat du test", 0, QApplication::UnicodeUTF8));
  266. mAutoTestResultLabel->setText(QApplication::translate("CCableTestPage", "En cours...", 0, QApplication::UnicodeUTF8));
  267. mOpenReportBtn->setText(QApplication::translate("CCableTestPage", "Ouvrir Rapport", 0, QApplication::UnicodeUTF8));
  268. } // retranslateUi
  269. };
  270. namespace Ui {
  271. class CCableTestPage: public Ui_CCableTestPage {};
  272. } // namespace Ui
  273. QT_END_NAMESPACE
  274. #endif // UI_CABLETESTPAGE_H