Score
0
Watch 39 Star 49 Fork 11

tboox / hnrC

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
脱机手写数字识别系统,可以将手机拍摄的 多行多列的 手写数字 进行识别, 整个系统 实现了完整的 图像处理、特征提取、网络训练等 一系列算法, 每个阶段的各种算法 都有自己独有的算法优化,以提高识别率 spread retract

Clone or download
ui_mainwindow.h 6.86 KB
Copy Edit Web IDE Raw Blame History
ruki authored 2013-07-02 14:09 . ...
/********************************************************************************
** 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

Comment ( 0 )

Sign in for post a comment

C
1
https://gitee.com/tboox/hnr.git
git@gitee.com:tboox/hnr.git
tboox
hnr
hnr
master

Search