123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>Digit</class>
- <widget class="QDialog" name="Digit">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>653</width>
- <height>166</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>手写数字识别程序</string>
- </property>
- <property name="styleSheet">
- <string notr="true">QPushButton{
- border-style:solid;
- border-width:1px;
- border-radius:8px;
- border-top-color:#FFFFFF;
- border-bottom-color:#888888;
- border-left-color:#FFFFFF;
- border-right-color:#888888;
- }
- QLabel#lbl_top1,#lbl_top2{
- color:red;
- font-size:24px;
- }
- QLabel#lbl_prob1,#lbl_prob2{
- color:blue;
- }</string>
- </property>
- <widget class="QPushButton" name="btn_recognize">
- <property name="geometry">
- <rect>
- <x>300</x>
- <y>200</y>
- <width>92</width>
- <height>28</height>
- </rect>
- </property>
- <property name="text">
- <string>数组识别</string>
- </property>
- </widget>
- <widget class="QLabel" name="label">
- <property name="geometry">
- <rect>
- <x>220</x>
- <y>10</y>
- <width>81</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text">
- <string>用户名:</string>
- </property>
- </widget>
- <widget class="QTextEdit" name="lbl_user">
- <property name="geometry">
- <rect>
- <x>300</x>
- <y>20</y>
- <width>111</width>
- <height>31</height>
- </rect>
- </property>
- </widget>
- <widget class="QLabel" name="label_2">
- <property name="geometry">
- <rect>
- <x>230</x>
- <y>70</y>
- <width>60</width>
- <height>16</height>
- </rect>
- </property>
- <property name="text">
- <string>密 码:</string>
- </property>
- </widget>
- <widget class="QTextEdit" name="lbl_pwd">
- <property name="geometry">
- <rect>
- <x>300</x>
- <y>60</y>
- <width>111</width>
- <height>31</height>
- </rect>
- </property>
- </widget>
- <widget class="QPushButton" name="btn_login">
- <property name="geometry">
- <rect>
- <x>270</x>
- <y>110</y>
- <width>113</width>
- <height>32</height>
- </rect>
- </property>
- <property name="text">
- <string>登录</string>
- </property>
- </widget>
- <widget class="QLabel" name="lbl_result">
- <property name="geometry">
- <rect>
- <x>500</x>
- <y>50</y>
- <width>111</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>btn_login</sender>
- <signal>clicked()</signal>
- <receiver>Digit</receiver>
- <slot>capture_image()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>326</x>
- <y>125</y>
- </hint>
- <hint type="destinationlabel">
- <x>326</x>
- <y>82</y>
- </hint>
- </hints>
- </connection>
- </connections>
- <slots>
- <slot>capture_image()</slot>
- <slot>digit_recognize()</slot>
- </slots>
- </ui>
|