code_app/app/fwupgrade/mainwindow.ui

693 lines
18 KiB
XML

<?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>739</width>
<height>497</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>739</width>
<height>497</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>739</width>
<height>497</height>
</size>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label">
<property name="minimumSize">
<size>
<width>0</width>
<height>51</height>
</size>
</property>
<property name="text">
<string>device list</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboDevList">
<property name="minimumSize">
<size>
<width>181</width>
<height>20</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_deviceError">
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>device information</string>
</attribute>
<widget class="QLabel" name="label_rollerCout">
<property name="geometry">
<rect>
<x>221</x>
<y>141</y>
<width>311</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>roll count:</string>
</property>
</widget>
<widget class="QLabel" name="label_scanCount">
<property name="geometry">
<rect>
<x>221</x>
<y>181</y>
<width>321</width>
<height>20</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>81</width>
<height>20</height>
</size>
</property>
<property name="text">
<string>scan count:</string>
</property>
</widget>
<widget class="QPushButton" name="btnClearRollCount">
<property name="geometry">
<rect>
<x>240</x>
<y>280</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>clear roll count</string>
</property>
</widget>
<widget class="QLabel" name="label_sn">
<property name="geometry">
<rect>
<x>220</x>
<y>20</y>
<width>321</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Serial number:</string>
</property>
</widget>
<widget class="QLabel" name="label_fwNum">
<property name="geometry">
<rect>
<x>220</x>
<y>60</y>
<width>321</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Firmware number:</string>
</property>
</widget>
<widget class="QLabel" name="label_speedMode">
<property name="geometry">
<rect>
<x>220</x>
<y>100</y>
<width>321</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Speed mode:</string>
</property>
</widget>
<widget class="QLabel" name="label_motorVersion">
<property name="geometry">
<rect>
<x>220</x>
<y>220</y>
<width>311</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>motor version:</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_5">
<attribute name="title">
<string>flat correct</string>
</attribute>
<widget class="QPushButton" name="pushButton_correct">
<property name="geometry">
<rect>
<x>30</x>
<y>20</y>
<width>131</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Correct</string>
</property>
</widget>
<widget class="QLabel" name="label_correct">
<property name="geometry">
<rect>
<x>350</x>
<y>20</y>
<width>111</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Have not corrected</string>
</property>
</widget>
<widget class="QTextBrowser" name="textBrowser_flatcorrect">
<property name="geometry">
<rect>
<x>30</x>
<y>60</y>
<width>431</width>
<height>241</height>
</rect>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_colorCorrect">
<property name="geometry">
<rect>
<x>190</x>
<y>20</y>
<width>151</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Color correct(Hualing)</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_4">
<attribute name="title">
<string>distortion correct</string>
</attribute>
<widget class="QComboBox" name="comboBox_colorMode">
<property name="geometry">
<rect>
<x>110</x>
<y>20</y>
<width>121</width>
<height>22</height>
</rect>
</property>
<item>
<property name="text">
<string>Color</string>
</property>
</item>
<item>
<property name="text">
<string>Gray</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="comboBox_dpi">
<property name="geometry">
<rect>
<x>330</x>
<y>20</y>
<width>121</width>
<height>22</height>
</rect>
</property>
<item>
<property name="text">
<string>200</string>
</property>
</item>
<item>
<property name="text">
<string>300</string>
</property>
</item>
<item>
<property name="text">
<string>600</string>
</property>
</item>
</widget>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>30</x>
<y>20</y>
<width>81</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Color mode:</string>
</property>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>270</x>
<y>20</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Dpi:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_getDistortion">
<property name="geometry">
<rect>
<x>320</x>
<y>60</y>
<width>113</width>
<height>20</height>
</rect>
</property>
<property name="echoMode">
<enum>QLineEdit::Normal</enum>
</property>
</widget>
<widget class="QPushButton" name="pushButton_getDistortion">
<property name="geometry">
<rect>
<x>30</x>
<y>60</y>
<width>101</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Get distortion</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_setDistortion">
<property name="geometry">
<rect>
<x>170</x>
<y>60</y>
<width>101</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Set distortion</string>
</property>
</widget>
<widget class="QTextBrowser" name="textBrowser_disCorrect">
<property name="geometry">
<rect>
<x>30</x>
<y>140</y>
<width>411</width>
<height>201</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pushButton_exportTestPaper">
<property name="geometry">
<rect>
<x>490</x>
<y>200</y>
<width>161</width>
<height>23</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>161</width>
<height>23</height>
</size>
</property>
<property name="text">
<string>Export test paper</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_countDistortion">
<property name="geometry">
<rect>
<x>170</x>
<y>100</y>
<width>111</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Start scan</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>50</x>
<y>100</y>
<width>111</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Count distortion:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_countDistortion">
<property name="geometry">
<rect>
<x>320</x>
<y>100</y>
<width>113</width>
<height>20</height>
</rect>
</property>
<property name="echoMode">
<enum>QLineEdit::Normal</enum>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>update firmware</string>
</attribute>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>80</x>
<y>60</y>
<width>501</width>
<height>111</height>
</rect>
</property>
<property name="title">
<string>online upgrade</string>
</property>
<widget class="QComboBox" name="comboVersionList">
<property name="geometry">
<rect>
<x>110</x>
<y>30</y>
<width>271</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="btnGetVersionList">
<property name="geometry">
<rect>
<x>400</x>
<y>30</y>
<width>91</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>get version list</string>
</property>
</widget>
<widget class="QPushButton" name="btnDownloadUpgrade">
<property name="geometry">
<rect>
<x>400</x>
<y>70</y>
<width>91</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>download and upgrade</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>91</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>version list</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>80</x>
<y>190</y>
<width>501</width>
<height>111</height>
</rect>
</property>
<property name="title">
<string>local upgrade</string>
</property>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>91</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>file path</string>
</property>
</widget>
<widget class="QLineEdit" name="editFilePath">
<property name="geometry">
<rect>
<x>110</x>
<y>30</y>
<width>271</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="btnOpenFilePath">
<property name="geometry">
<rect>
<x>394</x>
<y>30</y>
<width>101</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>open file path</string>
</property>
</widget>
<widget class="QPushButton" name="btnUpgrade">
<property name="geometry">
<rect>
<x>394</x>
<y>70</y>
<width>101</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>upgrade</string>
</property>
</widget>
</widget>
<widget class="QLabel" name="labelDevInfo">
<property name="geometry">
<rect>
<x>80</x>
<y>10</y>
<width>108</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>password change</string>
</attribute>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>180</x>
<y>90</y>
<width>91</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>old password</string>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>180</x>
<y>140</y>
<width>91</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>new password</string>
</property>
</widget>
<widget class="QLineEdit" name="editOldPassword">
<property name="geometry">
<rect>
<x>290</x>
<y>90</y>
<width>191</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="editNewPassword">
<property name="geometry">
<rect>
<x>290</x>
<y>140</y>
<width>191</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="btnModifyPassword">
<property name="geometry">
<rect>
<x>350</x>
<y>250</y>
<width>131</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>modify password</string>
</property>
</widget>
<widget class="QLineEdit" name="editNewPassword_2">
<property name="geometry">
<rect>
<x>290</x>
<y>190</y>
<width>191</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>180</x>
<y>190</y>
<width>91</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>confirm new password</string>
</property>
</widget>
</widget>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="btnExit">
<property name="text">
<string>exit</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>739</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>