39 Star 69 Fork 25

tboox / hnr

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mainwindow.ui 5.23 KB
一键复制 编辑 原始数据 按行查看 历史
ruki 提交于 2013-07-02 14:09 . ...
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindowClass</class>
<widget class="QMainWindow" name="MainWindowClass">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>669</width>
<height>493</height>
</rect>
</property>
<property name="windowTitle">
<string>HDR 1.0</string>
</property>
<property name="windowIcon">
<iconset resource="res/res.qrc">
<normaloff>:/new/main/main</normaloff>:/new/main/main</iconset>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QGraphicsView" name="graphicsView">
<property name="minimumSize">
<size>
<width>485</width>
<height>325</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="cacheMode">
<set>QGraphicsView::CacheBackground</set>
</property>
<property name="transformationAnchor">
<enum>QGraphicsView::NoAnchor</enum>
</property>
<property name="resizeAnchor">
<enum>QGraphicsView::NoAnchor</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QTextEdit" name="resultEdit">
<property name="minimumSize">
<size>
<width>0</width>
<height>80</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>100</height>
</size>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QPushButton" name="trainButton">
<property name="text">
<string>train</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="text">
<string>recognize</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>669</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusBar">
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
</widget>
<widget class="QDockWidget" name="dockWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>160</width>
<height>320</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>160</width>
<height>524287</height>
</size>
</property>
<property name="windowTitle">
<string>Samples</string>
</property>
<attribute name="dockWidgetArea">
<number>1</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="SampleView" name="treeView">
<property name="sortingEnabled">
<bool>false</bool>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<property name="headerHidden">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>SampleView</class>
<extends>QTreeView</extends>
<header location="global">sampleview.h</header>
</customwidget>
</customwidgets>
<resources>
<include location="res/res.qrc"/>
</resources>
<connections>
<connection>
<sender>pushButton</sender>
<signal>clicked()</signal>
<receiver>MainWindowClass</receiver>
<slot>recognize()</slot>
<hints>
<hint type="sourcelabel">
<x>638</x>
<y>412</y>
</hint>
<hint type="destinationlabel">
<x>659</x>
<y>412</y>
</hint>
</hints>
</connection>
<connection>
<sender>trainButton</sender>
<signal>clicked()</signal>
<receiver>MainWindowClass</receiver>
<slot>train()</slot>
<hints>
<hint type="sourcelabel">
<x>627</x>
<y>377</y>
</hint>
<hint type="destinationlabel">
<x>658</x>
<y>367</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>add()</slot>
<slot>recognize()</slot>
<slot>train()</slot>
</slots>
</ui>
C
1
https://gitee.com/tboox/hnr.git
git@gitee.com:tboox/hnr.git
tboox
hnr
hnr
master

搜索帮助