Object Detection  5.0
Image Processing Using Qt and Opencv
ui_mainwindow.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'mainwindow.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.9.0
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_MAINWINDOW_H
10 #define UI_MAINWINDOW_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QGridLayout>
17 #include <QtWidgets/QGroupBox>
18 #include <QtWidgets/QHBoxLayout>
19 #include <QtWidgets/QHeaderView>
20 #include <QtWidgets/QLabel>
21 #include <QtWidgets/QMainWindow>
22 #include <QtWidgets/QMenuBar>
23 #include <QtWidgets/QPushButton>
24 #include <QtWidgets/QRadioButton>
25 #include <QtWidgets/QSlider>
26 #include <QtWidgets/QSpinBox>
27 #include <QtWidgets/QStatusBar>
28 #include <QtWidgets/QTableView>
29 #include <QtWidgets/QToolBar>
30 #include <QtWidgets/QVBoxLayout>
31 #include <QtWidgets/QWidget>
32 #include "cvvideocapture.h"
33 
34 QT_BEGIN_NAMESPACE
35 
37 {
38 public:
39  QWidget *centralWidget;
40  QGridLayout *gridLayout_3;
41  QLabel *label_3;
42  QLabel *label_2;
43  QGridLayout *gridLayout_2;
44  QGridLayout *gridLayout;
45  QPushButton *pushButton_3;
46  QSlider *vMaxSlider;
47  QSlider *sMinSlider;
48  QHBoxLayout *horizontalLayout;
49  QLabel *radiusLabel;
50  QLabel *yLabelCenter;
51  QLabel *xCenterLabel;
52  QGroupBox *groupBox_2;
53  QVBoxLayout *verticalLayout_2;
54  QSlider *minDistSlider;
55  QSlider *param1Slider;
56  QSlider *param2Slider;
57  QPushButton *pushButton_2;
58  QSlider *circleThicknessSlider;
59  QSlider *vMinSlider;
60  QSlider *sMaxSlider;
61  QSlider *hMinSlider;
62  QPushButton *pushButton;
63  QSlider *hMaxSlider;
64  QLabel *label_4;
65  QLabel *label_6;
66  QLabel *label_7;
67  QLabel *label_5;
68  QLabel *label_8;
69  QSpinBox *spinBox_3;
70  QSpinBox *spinBox_4;
71  QSpinBox *spinBox_2;
72  QSpinBox *spinBox_5;
73  QSpinBox *spinBox_6;
74  QSpinBox *spinBox_7;
75  QGroupBox *groupBox;
76  QVBoxLayout *verticalLayout;
77  QRadioButton *radioButton;
78  QRadioButton *radioButton_2;
79  QRadioButton *radioButton_3;
80  QRadioButton *radioButton_4;
81  QSlider *dilSlider;
82  QPushButton *pushButton_6;
83  QPushButton *pushButton_5;
84  QSpinBox *spinBox;
85  QVBoxLayout *verticalLayout_3;
86  QTableView *tableView;
87  QPushButton *pushButton_4;
88  CVVideoCapture *cVVideoCapture;
89  QMenuBar *menuBar;
90  QToolBar *mainToolBar;
91  QStatusBar *statusBar;
92 
93  void setupUi(QMainWindow *MainWindow)
94  {
95  if (MainWindow->objectName().isEmpty())
96  MainWindow->setObjectName(QStringLiteral("MainWindow"));
97  MainWindow->resize(730, 471);
98  centralWidget = new QWidget(MainWindow);
99  centralWidget->setObjectName(QStringLiteral("centralWidget"));
100  gridLayout_3 = new QGridLayout(centralWidget);
101  gridLayout_3->setSpacing(6);
102  gridLayout_3->setContentsMargins(11, 11, 11, 11);
103  gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
104  label_3 = new QLabel(centralWidget);
105  label_3->setObjectName(QStringLiteral("label_3"));
106 
107  gridLayout_3->addWidget(label_3, 0, 0, 1, 1);
108 
109  label_2 = new QLabel(centralWidget);
110  label_2->setObjectName(QStringLiteral("label_2"));
111 
112  gridLayout_3->addWidget(label_2, 0, 1, 1, 1);
113 
114  gridLayout_2 = new QGridLayout();
115  gridLayout_2->setSpacing(6);
116  gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
117  gridLayout = new QGridLayout();
118  gridLayout->setSpacing(6);
119  gridLayout->setObjectName(QStringLiteral("gridLayout"));
120  pushButton_3 = new QPushButton(centralWidget);
121  pushButton_3->setObjectName(QStringLiteral("pushButton_3"));
122 
123  gridLayout->addWidget(pushButton_3, 2, 5, 1, 1);
124 
125  vMaxSlider = new QSlider(centralWidget);
126  vMaxSlider->setObjectName(QStringLiteral("vMaxSlider"));
127  vMaxSlider->setMaximum(255);
128  vMaxSlider->setOrientation(Qt::Horizontal);
129 
130  gridLayout->addWidget(vMaxSlider, 3, 4, 1, 1);
131 
132  sMinSlider = new QSlider(centralWidget);
133  sMinSlider->setObjectName(QStringLiteral("sMinSlider"));
134  sMinSlider->setMaximum(255);
135  sMinSlider->setOrientation(Qt::Horizontal);
136 
137  gridLayout->addWidget(sMinSlider, 2, 2, 1, 1);
138 
139  horizontalLayout = new QHBoxLayout();
140  horizontalLayout->setSpacing(6);
141  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
142  radiusLabel = new QLabel(centralWidget);
143  radiusLabel->setObjectName(QStringLiteral("radiusLabel"));
144 
145  horizontalLayout->addWidget(radiusLabel);
146 
147  yLabelCenter = new QLabel(centralWidget);
148  yLabelCenter->setObjectName(QStringLiteral("yLabelCenter"));
149 
150  horizontalLayout->addWidget(yLabelCenter);
151 
152  xCenterLabel = new QLabel(centralWidget);
153  xCenterLabel->setObjectName(QStringLiteral("xCenterLabel"));
154 
155  horizontalLayout->addWidget(xCenterLabel);
156 
157 
158  gridLayout->addLayout(horizontalLayout, 3, 5, 1, 1);
159 
160  groupBox_2 = new QGroupBox(centralWidget);
161  groupBox_2->setObjectName(QStringLiteral("groupBox_2"));
162  verticalLayout_2 = new QVBoxLayout(groupBox_2);
163  verticalLayout_2->setSpacing(6);
164  verticalLayout_2->setContentsMargins(11, 11, 11, 11);
165  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
166  minDistSlider = new QSlider(groupBox_2);
167  minDistSlider->setObjectName(QStringLiteral("minDistSlider"));
168  minDistSlider->setMinimum(5);
169  minDistSlider->setOrientation(Qt::Horizontal);
170 
171  verticalLayout_2->addWidget(minDistSlider);
172 
173  param1Slider = new QSlider(groupBox_2);
174  param1Slider->setObjectName(QStringLiteral("param1Slider"));
175  param1Slider->setMinimum(5);
176  param1Slider->setOrientation(Qt::Horizontal);
177 
178  verticalLayout_2->addWidget(param1Slider);
179 
180  param2Slider = new QSlider(groupBox_2);
181  param2Slider->setObjectName(QStringLiteral("param2Slider"));
182  param2Slider->setMinimum(5);
183  param2Slider->setOrientation(Qt::Horizontal);
184 
185  verticalLayout_2->addWidget(param2Slider);
186 
187 
188  gridLayout->addWidget(groupBox_2, 4, 5, 1, 1);
189 
190  pushButton_2 = new QPushButton(centralWidget);
191  pushButton_2->setObjectName(QStringLiteral("pushButton_2"));
192 
193  gridLayout->addWidget(pushButton_2, 4, 4, 1, 1);
194 
195  circleThicknessSlider = new QSlider(centralWidget);
196  circleThicknessSlider->setObjectName(QStringLiteral("circleThicknessSlider"));
197  circleThicknessSlider->setOrientation(Qt::Horizontal);
198 
199  gridLayout->addWidget(circleThicknessSlider, 1, 5, 1, 1);
200 
201  vMinSlider = new QSlider(centralWidget);
202  vMinSlider->setObjectName(QStringLiteral("vMinSlider"));
203  vMinSlider->setMaximum(255);
204  vMinSlider->setOrientation(Qt::Horizontal);
205 
206  gridLayout->addWidget(vMinSlider, 3, 2, 1, 1);
207 
208  sMaxSlider = new QSlider(centralWidget);
209  sMaxSlider->setObjectName(QStringLiteral("sMaxSlider"));
210  sMaxSlider->setMaximum(255);
211  sMaxSlider->setOrientation(Qt::Horizontal);
212 
213  gridLayout->addWidget(sMaxSlider, 2, 4, 1, 1);
214 
215  hMinSlider = new QSlider(centralWidget);
216  hMinSlider->setObjectName(QStringLiteral("hMinSlider"));
217  hMinSlider->setMaximum(180);
218  hMinSlider->setOrientation(Qt::Horizontal);
219 
220  gridLayout->addWidget(hMinSlider, 1, 2, 1, 1);
221 
222  pushButton = new QPushButton(centralWidget);
223  pushButton->setObjectName(QStringLiteral("pushButton"));
224 
225  gridLayout->addWidget(pushButton, 4, 2, 1, 1);
226 
227  hMaxSlider = new QSlider(centralWidget);
228  hMaxSlider->setObjectName(QStringLiteral("hMaxSlider"));
229  hMaxSlider->setMaximum(180);
230  hMaxSlider->setOrientation(Qt::Horizontal);
231 
232  gridLayout->addWidget(hMaxSlider, 1, 4, 1, 1);
233 
234  label_4 = new QLabel(centralWidget);
235  label_4->setObjectName(QStringLiteral("label_4"));
236 
237  gridLayout->addWidget(label_4, 1, 0, 1, 1);
238 
239  label_6 = new QLabel(centralWidget);
240  label_6->setObjectName(QStringLiteral("label_6"));
241 
242  gridLayout->addWidget(label_6, 3, 0, 1, 1);
243 
244  label_7 = new QLabel(centralWidget);
245  label_7->setObjectName(QStringLiteral("label_7"));
246  QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
247  sizePolicy.setHorizontalStretch(0);
248  sizePolicy.setVerticalStretch(0);
249  sizePolicy.setHeightForWidth(label_7->sizePolicy().hasHeightForWidth());
250  label_7->setSizePolicy(sizePolicy);
251  label_7->setAlignment(Qt::AlignCenter);
252 
253  gridLayout->addWidget(label_7, 0, 2, 1, 1);
254 
255  label_5 = new QLabel(centralWidget);
256  label_5->setObjectName(QStringLiteral("label_5"));
257 
258  gridLayout->addWidget(label_5, 2, 0, 1, 1);
259 
260  label_8 = new QLabel(centralWidget);
261  label_8->setObjectName(QStringLiteral("label_8"));
262  sizePolicy.setHeightForWidth(label_8->sizePolicy().hasHeightForWidth());
263  label_8->setSizePolicy(sizePolicy);
264  label_8->setAlignment(Qt::AlignCenter);
265 
266  gridLayout->addWidget(label_8, 0, 4, 1, 1);
267 
268  spinBox_3 = new QSpinBox(centralWidget);
269  spinBox_3->setObjectName(QStringLiteral("spinBox_3"));
270 
271  gridLayout->addWidget(spinBox_3, 2, 1, 1, 1);
272 
273  spinBox_4 = new QSpinBox(centralWidget);
274  spinBox_4->setObjectName(QStringLiteral("spinBox_4"));
275 
276  gridLayout->addWidget(spinBox_4, 3, 1, 1, 1);
277 
278  spinBox_2 = new QSpinBox(centralWidget);
279  spinBox_2->setObjectName(QStringLiteral("spinBox_2"));
280 
281  gridLayout->addWidget(spinBox_2, 1, 1, 1, 1);
282 
283  spinBox_5 = new QSpinBox(centralWidget);
284  spinBox_5->setObjectName(QStringLiteral("spinBox_5"));
285 
286  gridLayout->addWidget(spinBox_5, 1, 3, 1, 1);
287 
288  spinBox_6 = new QSpinBox(centralWidget);
289  spinBox_6->setObjectName(QStringLiteral("spinBox_6"));
290 
291  gridLayout->addWidget(spinBox_6, 2, 3, 1, 1);
292 
293  spinBox_7 = new QSpinBox(centralWidget);
294  spinBox_7->setObjectName(QStringLiteral("spinBox_7"));
295 
296  gridLayout->addWidget(spinBox_7, 3, 3, 1, 1);
297 
298 
299  gridLayout_2->addLayout(gridLayout, 0, 1, 1, 1);
300 
301  groupBox = new QGroupBox(centralWidget);
302  groupBox->setObjectName(QStringLiteral("groupBox"));
303  QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding);
304  sizePolicy1.setHorizontalStretch(0);
305  sizePolicy1.setVerticalStretch(0);
306  sizePolicy1.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth());
307  groupBox->setSizePolicy(sizePolicy1);
308  verticalLayout = new QVBoxLayout(groupBox);
309  verticalLayout->setSpacing(6);
310  verticalLayout->setContentsMargins(11, 11, 11, 11);
311  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
312  radioButton = new QRadioButton(groupBox);
313  radioButton->setObjectName(QStringLiteral("radioButton"));
314 
315  verticalLayout->addWidget(radioButton);
316 
317  radioButton_2 = new QRadioButton(groupBox);
318  radioButton_2->setObjectName(QStringLiteral("radioButton_2"));
319 
320  verticalLayout->addWidget(radioButton_2);
321 
322  radioButton_3 = new QRadioButton(groupBox);
323  radioButton_3->setObjectName(QStringLiteral("radioButton_3"));
324 
325  verticalLayout->addWidget(radioButton_3);
326 
327  radioButton_4 = new QRadioButton(groupBox);
328  radioButton_4->setObjectName(QStringLiteral("radioButton_4"));
329 
330  verticalLayout->addWidget(radioButton_4);
331 
332  dilSlider = new QSlider(groupBox);
333  dilSlider->setObjectName(QStringLiteral("dilSlider"));
334  dilSlider->setOrientation(Qt::Horizontal);
335 
336  verticalLayout->addWidget(dilSlider);
337 
338  pushButton_6 = new QPushButton(groupBox);
339  pushButton_6->setObjectName(QStringLiteral("pushButton_6"));
340 
341  verticalLayout->addWidget(pushButton_6);
342 
343  pushButton_5 = new QPushButton(groupBox);
344  pushButton_5->setObjectName(QStringLiteral("pushButton_5"));
345 
346  verticalLayout->addWidget(pushButton_5);
347 
348  spinBox = new QSpinBox(groupBox);
349  spinBox->setObjectName(QStringLiteral("spinBox"));
350 
351  verticalLayout->addWidget(spinBox);
352 
353 
354  gridLayout_2->addWidget(groupBox, 0, 0, 1, 1);
355 
356 
357  gridLayout_3->addLayout(gridLayout_2, 1, 0, 1, 2);
358 
359  verticalLayout_3 = new QVBoxLayout();
360  verticalLayout_3->setSpacing(6);
361  verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
362  tableView = new QTableView(centralWidget);
363  tableView->setObjectName(QStringLiteral("tableView"));
364 
365  verticalLayout_3->addWidget(tableView);
366 
367  pushButton_4 = new QPushButton(centralWidget);
368  pushButton_4->setObjectName(QStringLiteral("pushButton_4"));
369 
370  verticalLayout_3->addWidget(pushButton_4);
371 
372 
373  gridLayout_3->addLayout(verticalLayout_3, 1, 2, 1, 1);
374 
375  cVVideoCapture = new CVVideoCapture(centralWidget);
376  cVVideoCapture->setObjectName(QStringLiteral("cVVideoCapture"));
377 
378  gridLayout_3->addWidget(cVVideoCapture, 0, 2, 1, 1);
379 
380  MainWindow->setCentralWidget(centralWidget);
381  menuBar = new QMenuBar(MainWindow);
382  menuBar->setObjectName(QStringLiteral("menuBar"));
383  menuBar->setGeometry(QRect(0, 0, 730, 21));
384  MainWindow->setMenuBar(menuBar);
385  mainToolBar = new QToolBar(MainWindow);
386  mainToolBar->setObjectName(QStringLiteral("mainToolBar"));
387  MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
388  statusBar = new QStatusBar(MainWindow);
389  statusBar->setObjectName(QStringLiteral("statusBar"));
390  MainWindow->setStatusBar(statusBar);
391 
392  retranslateUi(MainWindow);
393  QObject::connect(hMaxSlider, SIGNAL(valueChanged(int)), spinBox_5, SLOT(setValue(int)));
394  QObject::connect(sMaxSlider, SIGNAL(valueChanged(int)), spinBox_6, SLOT(setValue(int)));
395  QObject::connect(vMaxSlider, SIGNAL(valueChanged(int)), spinBox_7, SLOT(setValue(int)));
396  QObject::connect(hMinSlider, SIGNAL(valueChanged(int)), spinBox_2, SLOT(setValue(int)));
397  QObject::connect(sMinSlider, SIGNAL(valueChanged(int)), spinBox_3, SLOT(setValue(int)));
398  QObject::connect(vMinSlider, SIGNAL(valueChanged(int)), spinBox_4, SLOT(setValue(int)));
399  QObject::connect(spinBox_2, SIGNAL(valueChanged(int)), hMinSlider, SLOT(setValue(int)));
400  QObject::connect(spinBox_3, SIGNAL(valueChanged(int)), sMinSlider, SLOT(setValue(int)));
401  QObject::connect(spinBox_4, SIGNAL(valueChanged(int)), vMinSlider, SLOT(setValue(int)));
402  QObject::connect(spinBox_5, SIGNAL(valueChanged(int)), hMaxSlider, SLOT(setValue(int)));
403  QObject::connect(spinBox_6, SIGNAL(valueChanged(int)), sMaxSlider, SLOT(setValue(int)));
404  QObject::connect(spinBox_7, SIGNAL(valueChanged(int)), vMaxSlider, SLOT(setValue(int)));
405 
406  QMetaObject::connectSlotsByName(MainWindow);
407  } // setupUi
408 
409  void retranslateUi(QMainWindow *MainWindow)
410  {
411  MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", Q_NULLPTR));
412  label_3->setText(QApplication::translate("MainWindow", "TextLabel", Q_NULLPTR));
413  label_2->setText(QApplication::translate("MainWindow", "TextLabel", Q_NULLPTR));
414  pushButton_3->setText(QApplication::translate("MainWindow", "Circle Color", Q_NULLPTR));
415  radiusLabel->setText(QApplication::translate("MainWindow", "TextLabel", Q_NULLPTR));
416  yLabelCenter->setText(QApplication::translate("MainWindow", "TextLabel", Q_NULLPTR));
417  xCenterLabel->setText(QApplication::translate("MainWindow", "TextLabel", Q_NULLPTR));
418  groupBox_2->setTitle(QApplication::translate("MainWindow", "Circles", Q_NULLPTR));
419  pushButton_2->setText(QApplication::translate("MainWindow", "Max Color", Q_NULLPTR));
420  pushButton->setText(QApplication::translate("MainWindow", "Min Color", Q_NULLPTR));
421  label_4->setText(QApplication::translate("MainWindow", "H", Q_NULLPTR));
422  label_6->setText(QApplication::translate("MainWindow", "V", Q_NULLPTR));
423  label_7->setText(QApplication::translate("MainWindow", "Min", Q_NULLPTR));
424  label_5->setText(QApplication::translate("MainWindow", "S", Q_NULLPTR));
425  label_8->setText(QApplication::translate("MainWindow", "Max", Q_NULLPTR));
426  groupBox->setTitle(QApplication::translate("MainWindow", "Elide", Q_NULLPTR));
427  radioButton->setText(QApplication::translate("MainWindow", "RadioButton", Q_NULLPTR));
428  radioButton_2->setText(QApplication::translate("MainWindow", "RadioButton", Q_NULLPTR));
429  radioButton_3->setText(QApplication::translate("MainWindow", "RadioButton", Q_NULLPTR));
430  radioButton_4->setText(QApplication::translate("MainWindow", "RadioButton", Q_NULLPTR));
431  pushButton_6->setText(QApplication::translate("MainWindow", "Change Plugin Path", Q_NULLPTR));
432  pushButton_5->setText(QApplication::translate("MainWindow", "Show Dock Area", Q_NULLPTR));
433  pushButton_4->setText(QApplication::translate("MainWindow", "Set Port", Q_NULLPTR));
434  } // retranslateUi
435 
436 };
437 
438 namespace Ui {
439  class MainWindow: public Ui_MainWindow {};
440 } // namespace Ui
441 
442 QT_END_NAMESPACE
443 
444 #endif // UI_MAINWINDOW_H