This repository has been archived by the owner on May 25, 2018. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
ui_mainwindow.h
171 lines (143 loc) · 6.86 KB
/
ui_mainwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
/********************************************************************************
** Form generated from reading ui file 'mainwindow.ui'
**
** Created: Wed Jul 1 20:43:50 2009
** by: Qt User Interface Compiler version 4.5.0
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
********************************************************************************/
#ifndef UI_MAINWINDOW_H
#define UI_MAINWINDOW_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDockWidget>
#include <QtGui/QGraphicsView>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QMainWindow>
#include <QtGui/QMenuBar>
#include <QtGui/QPushButton>
#include <QtGui/QStatusBar>
#include <QtGui/QTextEdit>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include <sampleview.h>
QT_BEGIN_NAMESPACE
class Ui_MainWindowClass
{
public:
QWidget *centralWidget;
QGridLayout *gridLayout;
QVBoxLayout *verticalLayout_6;
QGraphicsView *graphicsView;
QHBoxLayout *horizontalLayout_3;
QTextEdit *resultEdit;
QVBoxLayout *verticalLayout;
QPushButton *trainButton;
QPushButton *pushButton;
QMenuBar *menuBar;
QStatusBar *statusBar;
QDockWidget *dockWidget;
QWidget *dockWidgetContents;
QGridLayout *gridLayout_2;
SampleView *treeView;
void setupUi(QMainWindow *MainWindowClass)
{
if (MainWindowClass->objectName().isEmpty())
MainWindowClass->setObjectName(QString::fromUtf8("MainWindowClass"));
MainWindowClass->resize(669, 493);
QIcon icon;
icon.addPixmap(QPixmap(QString::fromUtf8(":/new/main/main")), QIcon::Normal, QIcon::Off);
MainWindowClass->setWindowIcon(icon);
MainWindowClass->setStyleSheet(QString::fromUtf8(""));
centralWidget = new QWidget(MainWindowClass);
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
gridLayout = new QGridLayout(centralWidget);
gridLayout->setSpacing(6);
gridLayout->setMargin(11);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
verticalLayout_6 = new QVBoxLayout();
verticalLayout_6->setSpacing(6);
verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
graphicsView = new QGraphicsView(centralWidget);
graphicsView->setObjectName(QString::fromUtf8("graphicsView"));
graphicsView->setMinimumSize(QSize(485, 325));
graphicsView->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
graphicsView->setCacheMode(QGraphicsView::CacheBackground);
graphicsView->setTransformationAnchor(QGraphicsView::NoAnchor);
graphicsView->setResizeAnchor(QGraphicsView::NoAnchor);
verticalLayout_6->addWidget(graphicsView);
horizontalLayout_3 = new QHBoxLayout();
horizontalLayout_3->setSpacing(6);
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
resultEdit = new QTextEdit(centralWidget);
resultEdit->setObjectName(QString::fromUtf8("resultEdit"));
resultEdit->setMinimumSize(QSize(0, 80));
resultEdit->setMaximumSize(QSize(16777215, 100));
horizontalLayout_3->addWidget(resultEdit);
verticalLayout = new QVBoxLayout();
verticalLayout->setSpacing(6);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
trainButton = new QPushButton(centralWidget);
trainButton->setObjectName(QString::fromUtf8("trainButton"));
verticalLayout->addWidget(trainButton);
pushButton = new QPushButton(centralWidget);
pushButton->setObjectName(QString::fromUtf8("pushButton"));
verticalLayout->addWidget(pushButton);
horizontalLayout_3->addLayout(verticalLayout);
verticalLayout_6->addLayout(horizontalLayout_3);
gridLayout->addLayout(verticalLayout_6, 0, 0, 1, 1);
MainWindowClass->setCentralWidget(centralWidget);
menuBar = new QMenuBar(MainWindowClass);
menuBar->setObjectName(QString::fromUtf8("menuBar"));
menuBar->setGeometry(QRect(0, 0, 669, 20));
MainWindowClass->setMenuBar(menuBar);
statusBar = new QStatusBar(MainWindowClass);
statusBar->setObjectName(QString::fromUtf8("statusBar"));
statusBar->setSizeGripEnabled(true);
MainWindowClass->setStatusBar(statusBar);
dockWidget = new QDockWidget(MainWindowClass);
dockWidget->setObjectName(QString::fromUtf8("dockWidget"));
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(dockWidget->sizePolicy().hasHeightForWidth());
dockWidget->setSizePolicy(sizePolicy);
dockWidget->setMinimumSize(QSize(160, 320));
dockWidget->setMaximumSize(QSize(160, 524287));
dockWidgetContents = new QWidget();
dockWidgetContents->setObjectName(QString::fromUtf8("dockWidgetContents"));
gridLayout_2 = new QGridLayout(dockWidgetContents);
gridLayout_2->setSpacing(6);
gridLayout_2->setMargin(11);
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
treeView = new SampleView(dockWidgetContents);
treeView->setObjectName(QString::fromUtf8("treeView"));
treeView->setSortingEnabled(false);
treeView->setAllColumnsShowFocus(true);
treeView->setHeaderHidden(true);
gridLayout_2->addWidget(treeView, 0, 0, 1, 1);
dockWidget->setWidget(dockWidgetContents);
MainWindowClass->addDockWidget(static_cast<Qt::DockWidgetArea>(1), dockWidget);
retranslateUi(MainWindowClass);
QObject::connect(pushButton, SIGNAL(clicked()), MainWindowClass, SLOT(recognize()));
QObject::connect(trainButton, SIGNAL(clicked()), MainWindowClass, SLOT(train()));
QMetaObject::connectSlotsByName(MainWindowClass);
} // setupUi
void retranslateUi(QMainWindow *MainWindowClass)
{
MainWindowClass->setWindowTitle(QApplication::translate("MainWindowClass", "HDR 1.0", 0, QApplication::UnicodeUTF8));
trainButton->setText(QApplication::translate("MainWindowClass", "train", 0, QApplication::UnicodeUTF8));
pushButton->setText(QApplication::translate("MainWindowClass", "recognize", 0, QApplication::UnicodeUTF8));
dockWidget->setWindowTitle(QApplication::translate("MainWindowClass", "Samples", 0, QApplication::UnicodeUTF8));
Q_UNUSED(MainWindowClass);
} // retranslateUi
};
namespace Ui {
class MainWindowClass: public Ui_MainWindowClass {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_MAINWINDOW_H