1 Star 0 Fork 28

Qt(开源集合) / BPNNDemoQt

forked from ZzqiZQute / BPNNDemoQt 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mainwindow.ui 15.75 KB
一键复制 编辑 原始数据 按行查看 历史
ZzqiZQute 提交于 2018-12-18 22:20 . fiix thread bug
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1120</width>
<height>630</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>1120</width>
<height>630</height>
</size>
</property>
<property name="windowTitle">
<string>BPNeuralNetwork Demo</string>
</property>
<widget class="QWidget" name="centralWidget">
<property name="minimumSize">
<size>
<width>0</width>
<height>441</height>
</size>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0" rowspan="3">
<widget class="QFrame" name="frame">
<property name="maximumSize">
<size>
<width>280</width>
<height>16777215</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="0">
<widget class="ClassifierController" name="classifierController" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>88</height>
</size>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QFrame" name="frame_4">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>31</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>隐层数量</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="sbHLCnt">
<property name="wrapping">
<bool>false</bool>
</property>
<property name="frame">
<bool>true</bool>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::UpDownArrows</enum>
</property>
<property name="correctionMode">
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
</property>
<property name="keyboardTracking">
<bool>true</bool>
</property>
<property name="showGroupSeparator" stdset="0">
<bool>false</bool>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>5</number>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>隐层节点数</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QListWidget" name="liHiddenLayer">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>120</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOn</enum>
</property>
<property name="alternatingRowColors">
<bool>false</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::NoSelection</enum>
</property>
<property name="horizontalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
<property name="flow">
<enum>QListView::LeftToRight</enum>
</property>
<property name="selectionRectVisible">
<bool>false</bool>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QPushButton" name="btnClearSamples">
<property name="text">
<string>清除所有样本点</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="1">
<widget class="QFrame" name="frame_2">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<layout class="QGridLayout" name="gridLayout_7">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="label_4">
<property name="maximumSize">
<size>
<width>111</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>当前训练次数</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lbCurrentTime">
<property name="styleSheet">
<string notr="true">font: 20pt &quot;Agency FB&quot;;</string>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="label_6">
<property name="maximumSize">
<size>
<width>91</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>当前误差</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lbCurrentErr">
<property name="styleSheet">
<string notr="true">font: 20pt &quot;Agency FB&quot;;</string>
</property>
<property name="text">
<string>nan</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="2">
<widget class="QFrame" name="frameTrainCfg">
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QRadioButton" name="rbTrainTime">
<property name="text">
<string>训练次数</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="leTrainTime">
<property name="text">
<string>10000</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QRadioButton" name="rbTrainErr">
<property name="text">
<string>训练误差</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="leTrainErr">
<property name="text">
<string>0.001</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="0" column="3">
<widget class="QFrame" name="frame_7">
<property name="maximumSize">
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_3">
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>学习率</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="sbLearnRate">
<property name="maximumSize">
<size>
<width>71</width>
<height>16777215</height>
</size>
</property>
<property name="decimals">
<number>3</number>
</property>
<property name="minimum">
<double>0.010000000000000</double>
</property>
<property name="maximum">
<double>1.000000000000000</double>
</property>
<property name="singleStep">
<double>0.010000000000000</double>
</property>
<property name="value">
<double>0.100000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1">
<widget class="QFrame" name="frame_5">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="1" column="0">
<widget class="QPushButton" name="btnPause">
<property name="enabled">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>暂停</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="btnStop">
<property name="enabled">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>停止</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="btnTrainByCond">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>训练至满足条件</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="btnTrain">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>持续训练</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="btnResetSurface">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>重置画面</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="btnResetTrainCnt">
<property name="enabled">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>重置训练次数</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="1">
<widget class="Surface" name="surface" native="true"/>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1120</width>
<height>26</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string/>
</property>
</widget>
<widget class="QMenu" name="menu">
<property name="title">
<string>文件(&amp;F)</string>
</property>
<addaction name="separator"/>
<addaction name="actionOpen"/>
<addaction name="actionSave"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menu"/>
</widget>
<action name="actionOpen">
<property name="text">
<string>打开(&amp;O)</string>
</property>
</action>
<action name="actionSave">
<property name="text">
<string>保存(&amp;S)</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>ClassifierController</class>
<extends>QWidget</extends>
<header location="global">classifiercontroller.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>Surface</class>
<extends>QWidget</extends>
<header location="global">surface.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/qt-open-source-collection/BPNNDemoQt.git
git@gitee.com:qt-open-source-collection/BPNNDemoQt.git
qt-open-source-collection
BPNNDemoQt
BPNNDemoQt
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891