ui_label_maker_gui.h 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'label_maker_gui.ui'
  3. **
  4. ** Created by: Qt User Interface Compiler version 5.9.5
  5. **
  6. ** WARNING! All changes made in this file will be lost when recompiling UI file!
  7. ********************************************************************************/
  8. #ifndef UI_LABEL_MAKER_GUI_H
  9. #define UI_LABEL_MAKER_GUI_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QAction>
  12. #include <QtWidgets/QApplication>
  13. #include <QtWidgets/QButtonGroup>
  14. #include <QtWidgets/QGridLayout>
  15. #include <QtWidgets/QHBoxLayout>
  16. #include <QtWidgets/QHeaderView>
  17. #include <QtWidgets/QLabel>
  18. #include <QtWidgets/QMainWindow>
  19. #include <QtWidgets/QPushButton>
  20. #include <QtWidgets/QRadioButton>
  21. #include <QtWidgets/QSlider>
  22. #include <QtWidgets/QSpinBox>
  23. #include <QtWidgets/QStatusBar>
  24. #include <QtWidgets/QVBoxLayout>
  25. #include <QtWidgets/QWidget>
  26. #include <trafficlight_recognizer/label_maker/custom_graphics_view.h>
  27. QT_BEGIN_NAMESPACE
  28. class Ui_LabelMakerGui
  29. {
  30. public:
  31. QWidget *centralwidget;
  32. QGridLayout *gridLayout;
  33. QHBoxLayout *horizontalLayout_2;
  34. QLabel *label;
  35. QSpinBox *image_id_spin_box_;
  36. QSlider *image_id_horizontal_slider_;
  37. QVBoxLayout *verticalLayout_2;
  38. QVBoxLayout *verticalLayout;
  39. QRadioButton *green_radio_button_;
  40. QRadioButton *yellow_radio_button_;
  41. QRadioButton *red_radio_button_;
  42. QRadioButton *unknown_radio_button_;
  43. QHBoxLayout *horizontalLayout;
  44. QPushButton *previous_push_button_;
  45. QPushButton *next_push_button_;
  46. CustomGraphicsView *graphics_view_;
  47. QLabel *label_2;
  48. QPushButton *reset_push_button_;
  49. QStatusBar *statusbar;
  50. QButtonGroup *radio_button_group_;
  51. void setupUi(QMainWindow *LabelMakerGui)
  52. {
  53. if (LabelMakerGui->objectName().isEmpty())
  54. LabelMakerGui->setObjectName(QStringLiteral("LabelMakerGui"));
  55. LabelMakerGui->resize(800, 600);
  56. LabelMakerGui->setStyleSheet(QStringLiteral(""));
  57. centralwidget = new QWidget(LabelMakerGui);
  58. centralwidget->setObjectName(QStringLiteral("centralwidget"));
  59. gridLayout = new QGridLayout(centralwidget);
  60. gridLayout->setObjectName(QStringLiteral("gridLayout"));
  61. horizontalLayout_2 = new QHBoxLayout();
  62. horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
  63. label = new QLabel(centralwidget);
  64. label->setObjectName(QStringLiteral("label"));
  65. QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
  66. sizePolicy.setHorizontalStretch(0);
  67. sizePolicy.setVerticalStretch(0);
  68. sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
  69. label->setSizePolicy(sizePolicy);
  70. QFont font;
  71. font.setPointSize(12);
  72. label->setFont(font);
  73. horizontalLayout_2->addWidget(label);
  74. image_id_spin_box_ = new QSpinBox(centralwidget);
  75. image_id_spin_box_->setObjectName(QStringLiteral("image_id_spin_box_"));
  76. image_id_spin_box_->setFont(font);
  77. horizontalLayout_2->addWidget(image_id_spin_box_);
  78. image_id_horizontal_slider_ = new QSlider(centralwidget);
  79. image_id_horizontal_slider_->setObjectName(QStringLiteral("image_id_horizontal_slider_"));
  80. image_id_horizontal_slider_->setOrientation(Qt::Horizontal);
  81. horizontalLayout_2->addWidget(image_id_horizontal_slider_);
  82. gridLayout->addLayout(horizontalLayout_2, 0, 0, 1, 1);
  83. verticalLayout_2 = new QVBoxLayout();
  84. verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
  85. verticalLayout = new QVBoxLayout();
  86. verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
  87. green_radio_button_ = new QRadioButton(centralwidget);
  88. radio_button_group_ = new QButtonGroup(LabelMakerGui);
  89. radio_button_group_->setObjectName(QStringLiteral("radio_button_group_"));
  90. radio_button_group_->addButton(green_radio_button_);
  91. green_radio_button_->setObjectName(QStringLiteral("green_radio_button_"));
  92. QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
  93. sizePolicy1.setHorizontalStretch(0);
  94. sizePolicy1.setVerticalStretch(0);
  95. sizePolicy1.setHeightForWidth(green_radio_button_->sizePolicy().hasHeightForWidth());
  96. green_radio_button_->setSizePolicy(sizePolicy1);
  97. green_radio_button_->setFont(font);
  98. green_radio_button_->setCursor(QCursor(Qt::PointingHandCursor));
  99. green_radio_button_->setIconSize(QSize(24, 24));
  100. verticalLayout->addWidget(green_radio_button_);
  101. yellow_radio_button_ = new QRadioButton(centralwidget);
  102. radio_button_group_->addButton(yellow_radio_button_);
  103. yellow_radio_button_->setObjectName(QStringLiteral("yellow_radio_button_"));
  104. sizePolicy1.setHeightForWidth(yellow_radio_button_->sizePolicy().hasHeightForWidth());
  105. yellow_radio_button_->setSizePolicy(sizePolicy1);
  106. yellow_radio_button_->setFont(font);
  107. yellow_radio_button_->setCursor(QCursor(Qt::PointingHandCursor));
  108. yellow_radio_button_->setIconSize(QSize(24, 24));
  109. verticalLayout->addWidget(yellow_radio_button_);
  110. red_radio_button_ = new QRadioButton(centralwidget);
  111. radio_button_group_->addButton(red_radio_button_);
  112. red_radio_button_->setObjectName(QStringLiteral("red_radio_button_"));
  113. sizePolicy1.setHeightForWidth(red_radio_button_->sizePolicy().hasHeightForWidth());
  114. red_radio_button_->setSizePolicy(sizePolicy1);
  115. red_radio_button_->setFont(font);
  116. red_radio_button_->setCursor(QCursor(Qt::PointingHandCursor));
  117. red_radio_button_->setIconSize(QSize(24, 24));
  118. verticalLayout->addWidget(red_radio_button_);
  119. unknown_radio_button_ = new QRadioButton(centralwidget);
  120. radio_button_group_->addButton(unknown_radio_button_);
  121. unknown_radio_button_->setObjectName(QStringLiteral("unknown_radio_button_"));
  122. sizePolicy1.setHeightForWidth(unknown_radio_button_->sizePolicy().hasHeightForWidth());
  123. unknown_radio_button_->setSizePolicy(sizePolicy1);
  124. unknown_radio_button_->setFont(font);
  125. unknown_radio_button_->setCursor(QCursor(Qt::PointingHandCursor));
  126. unknown_radio_button_->setIconSize(QSize(24, 24));
  127. verticalLayout->addWidget(unknown_radio_button_);
  128. verticalLayout_2->addLayout(verticalLayout);
  129. horizontalLayout = new QHBoxLayout();
  130. horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
  131. previous_push_button_ = new QPushButton(centralwidget);
  132. previous_push_button_->setObjectName(QStringLiteral("previous_push_button_"));
  133. sizePolicy1.setHeightForWidth(previous_push_button_->sizePolicy().hasHeightForWidth());
  134. previous_push_button_->setSizePolicy(sizePolicy1);
  135. previous_push_button_->setFont(font);
  136. horizontalLayout->addWidget(previous_push_button_);
  137. next_push_button_ = new QPushButton(centralwidget);
  138. next_push_button_->setObjectName(QStringLiteral("next_push_button_"));
  139. sizePolicy1.setHeightForWidth(next_push_button_->sizePolicy().hasHeightForWidth());
  140. next_push_button_->setSizePolicy(sizePolicy1);
  141. next_push_button_->setFont(font);
  142. horizontalLayout->addWidget(next_push_button_);
  143. verticalLayout_2->addLayout(horizontalLayout);
  144. gridLayout->addLayout(verticalLayout_2, 1, 1, 1, 1);
  145. graphics_view_ = new CustomGraphicsView(centralwidget);
  146. graphics_view_->setObjectName(QStringLiteral("graphics_view_"));
  147. gridLayout->addWidget(graphics_view_, 1, 0, 1, 1);
  148. label_2 = new QLabel(centralwidget);
  149. label_2->setObjectName(QStringLiteral("label_2"));
  150. label_2->setFont(font);
  151. gridLayout->addWidget(label_2, 3, 0, 1, 1);
  152. reset_push_button_ = new QPushButton(centralwidget);
  153. reset_push_button_->setObjectName(QStringLiteral("reset_push_button_"));
  154. gridLayout->addWidget(reset_push_button_, 3, 1, 1, 1);
  155. LabelMakerGui->setCentralWidget(centralwidget);
  156. statusbar = new QStatusBar(LabelMakerGui);
  157. statusbar->setObjectName(QStringLiteral("statusbar"));
  158. LabelMakerGui->setStatusBar(statusbar);
  159. retranslateUi(LabelMakerGui);
  160. QMetaObject::connectSlotsByName(LabelMakerGui);
  161. } // setupUi
  162. void retranslateUi(QMainWindow *LabelMakerGui)
  163. {
  164. LabelMakerGui->setWindowTitle(QApplication::translate("LabelMakerGui", "trafficlight_recognizer/Label_Maker", Q_NULLPTR));
  165. label->setText(QApplication::translate("LabelMakerGui", "Image ID: ", Q_NULLPTR));
  166. green_radio_button_->setText(QApplication::translate("LabelMakerGui", "GREEN", Q_NULLPTR));
  167. yellow_radio_button_->setText(QApplication::translate("LabelMakerGui", "YELLOW", Q_NULLPTR));
  168. red_radio_button_->setText(QApplication::translate("LabelMakerGui", "RED", Q_NULLPTR));
  169. unknown_radio_button_->setText(QApplication::translate("LabelMakerGui", "UNKNOWN", Q_NULLPTR));
  170. #ifndef QT_NO_TOOLTIP
  171. previous_push_button_->setToolTip(QApplication::translate("LabelMakerGui", "Save the selection and Go Previous image", Q_NULLPTR));
  172. #endif // QT_NO_TOOLTIP
  173. previous_push_button_->setText(QApplication::translate("LabelMakerGui", "< Previous", Q_NULLPTR));
  174. #ifndef QT_NO_TOOLTIP
  175. next_push_button_->setToolTip(QApplication::translate("LabelMakerGui", "Save the selection and Go Next image", Q_NULLPTR));
  176. #endif // QT_NO_TOOLTIP
  177. #ifndef QT_NO_WHATSTHIS
  178. next_push_button_->setWhatsThis(QString());
  179. #endif // QT_NO_WHATSTHIS
  180. #ifndef QT_NO_ACCESSIBILITY
  181. next_push_button_->setAccessibleDescription(QString());
  182. #endif // QT_NO_ACCESSIBILITY
  183. next_push_button_->setText(QApplication::translate("LabelMakerGui", "Next >", Q_NULLPTR));
  184. label_2->setText(QApplication::translate("LabelMakerGui", "<html><head/><body><p>[<span style=\" font-weight:600;\">Mouse Drag</span>]: Specify traffic light area, [<span style=\" font-weight:600;\">Mouse Wheel</span>]: Zoom In / Out</p></body></html>", Q_NULLPTR));
  185. reset_push_button_->setText(QApplication::translate("LabelMakerGui", "Reset Selection", Q_NULLPTR));
  186. } // retranslateUi
  187. };
  188. namespace Ui {
  189. class LabelMakerGui: public Ui_LabelMakerGui {};
  190. } // namespace Ui
  191. QT_END_NAMESPACE
  192. #endif // UI_LABEL_MAKER_GUI_H