This repository has been archived on 2026-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
SP713_CPP_QT/mainwindow.ui
2025-07-17 13:10:47 +08:00

1205 lines
28 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>703</width>
<height>997</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>10</x>
<y>130</y>
<width>681</width>
<height>91</height>
</rect>
</property>
<property name="title">
<string>串口配置区</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>651</width>
<height>25</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>波特率:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_uartBps">
<item>
<property name="text">
<string>115200</string>
</property>
</item>
<item>
<property name="text">
<string>9600</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string>校验位:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_uartVerify">
<item>
<property name="text">
<string>None</string>
</property>
</item>
<item>
<property name="text">
<string>Odd</string>
</property>
</item>
<item>
<property name="text">
<string>Even</string>
</property>
</item>
<item>
<property name="text">
<string>Mark</string>
</property>
</item>
<item>
<property name="text">
<string>Space</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_9">
<property name="text">
<string>停止位:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_uartStop">
<item>
<property name="text">
<string>1位</string>
</property>
</item>
<item>
<property name="text">
<string>1.5位</string>
</property>
</item>
<item>
<property name="text">
<string>2位</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_10">
<property name="text">
<string>数据位:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_uartData">
<item>
<property name="text">
<string>8</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_11">
<property name="text">
<string>字节超时(ms):</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_uartTimeOut">
<property name="text">
<string>0</string>
</property>
<property name="maxLength">
<number>255</number>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_uartSetPara">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>串口参数设置</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget_2">
<property name="geometry">
<rect>
<x>370</x>
<y>30</y>
<width>291</width>
<height>25</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="pushButton_uartRefreshDev">
<property name="text">
<string>刷新设备列表</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_uartCloseDev">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>关闭设备</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_uartOpenDev">
<property name="text">
<string>打开设备</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QComboBox" name="comboBox_uartDevList">
<property name="geometry">
<rect>
<x>101</x>
<y>31</y>
<width>261</width>
<height>21</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>81</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>UART设备列表:</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_3">
<property name="geometry">
<rect>
<x>10</x>
<y>0</y>
<width>681</width>
<height>121</height>
</rect>
</property>
<property name="title">
<string>SPI配置区</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>320</x>
<y>60</y>
<width>351</width>
<height>54</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QComboBox" name="comboBox_spiCS1_POLA">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="sizeIncrement">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<item>
<property name="text">
<string>CS1_POLA_LOW</string>
</property>
</item>
<item>
<property name="text">
<string>CS1_POLA_HIGH</string>
</property>
</item>
</widget>
</item>
<item row="0" column="1" rowspan="2">
<widget class="QPushButton" name="pushButton_spiInit">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>初始化SPI(C0)</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QComboBox" name="comboBox_spiCS2_POLA">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item>
<property name="text">
<string>CS2_POLA_LOW</string>
</property>
</item>
<item>
<property name="text">
<string>CS2_POLA_HIGH</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>15</x>
<y>30</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>SPI设备列表:</string>
</property>
</widget>
<widget class="QComboBox" name="comboBox_spiDevList">
<property name="geometry">
<rect>
<x>96</x>
<y>31</y>
<width>261</width>
<height>21</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>380</x>
<y>30</y>
<width>291</width>
<height>25</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="pushButton_spiRefreshDev">
<property name="text">
<string>刷新设备列表</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_spiCloseDev">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>关闭设备</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_spiOpenDev">
<property name="text">
<string>打开设备</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>301</width>
<height>54</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>模式:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="comboBox_spiMode">
<item>
<property name="text">
<string>模式0</string>
</property>
</item>
<item>
<property name="text">
<string>模式1</string>
</property>
</item>
<item>
<property name="text">
<string>模式2</string>
</property>
</item>
<item>
<property name="text">
<string>模式3</string>
</property>
</item>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="comboBox_spiDataOrder">
<item>
<property name="text">
<string>LSB</string>
</property>
</item>
<item>
<property name="text">
<string>MSB</string>
</property>
</item>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>时钟频率:</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QComboBox" name="comboBox_spiDataLen">
<item>
<property name="text">
<string>8bit</string>
</property>
</item>
<item>
<property name="text">
<string>16bit</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>数据:</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="label_7">
<property name="text">
<string>数据宽度:</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QComboBox" name="comboBox_spiFreq">
<item>
<property name="text">
<string>60MHz</string>
</property>
</item>
<item>
<property name="text">
<string>30MHz</string>
</property>
</item>
<item>
<property name="text">
<string>15MHz</string>
</property>
</item>
<item>
<property name="text">
<string>7.5MHz</string>
</property>
</item>
<item>
<property name="text">
<string>3.75MHz</string>
</property>
</item>
<item>
<property name="text">
<string>1.875MHz</string>
</property>
</item>
<item>
<property name="text">
<string>937.5KHz</string>
</property>
</item>
<item>
<property name="text">
<string>468.75KHz</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>840</y>
<width>681</width>
<height>111</height>
</rect>
</property>
<property name="title">
<string>日志输出</string>
</property>
<widget class="QPlainTextEdit" name="plainTextEdit_logOutput">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>661</width>
<height>70</height>
</rect>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_4">
<property name="geometry">
<rect>
<x>10</x>
<y>340</y>
<width>681</width>
<height>501</height>
</rect>
</property>
<property name="title">
<string>配置电压区</string>
</property>
<widget class="QPushButton" name="pushButton_icdSendVolCMD">
<property name="geometry">
<rect>
<x>561</x>
<y>30</y>
<width>111</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>发送电压命令</string>
</property>
</widget>
<widget class="QLabel" name="label_14">
<property name="geometry">
<rect>
<x>250</x>
<y>30</y>
<width>39</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>子分组:</string>
</property>
</widget>
<widget class="QComboBox" name="comboBox_icdCmd">
<property name="geometry">
<rect>
<x>44</x>
<y>30</y>
<width>81</width>
<height>23</height>
</rect>
</property>
<item>
<property name="text">
<string>参数归零</string>
</property>
</item>
<item>
<property name="text">
<string>同值配置</string>
</property>
</item>
<item>
<property name="text">
<string>异值配置</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="comboBox_icdGroup">
<property name="geometry">
<rect>
<x>164</x>
<y>30</y>
<width>81</width>
<height>23</height>
</rect>
</property>
<item>
<property name="text">
<string>所有DAC</string>
</property>
</item>
<item>
<property name="text">
<string>A/B分组</string>
</property>
</item>
<item>
<property name="text">
<string>OPA分组</string>
</property>
</item>
<item>
<property name="text">
<string>单个DAC</string>
</property>
</item>
</widget>
<widget class="QLabel" name="label_13">
<property name="geometry">
<rect>
<x>130</x>
<y>30</y>
<width>39</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>分组:</string>
</property>
</widget>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>39</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>命令:</string>
</property>
</widget>
<widget class="QComboBox" name="comboBox_icdSubGroup">
<property name="geometry">
<rect>
<x>300</x>
<y>30</y>
<width>101</width>
<height>23</height>
</rect>
</property>
</widget>
<widget class="QTableWidget" name="tableWidget_volInput">
<property name="geometry">
<rect>
<x>0</x>
<y>60</y>
<width>671</width>
<height>431</height>
</rect>
</property>
<property name="autoScrollMargin">
<number>16</number>
</property>
<property name="rowCount">
<number>16</number>
</property>
<property name="columnCount">
<number>16</number>
</property>
<attribute name="horizontalHeaderMinimumSectionSize">
<number>20</number>
</attribute>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>40</number>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>25</number>
</attribute>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<row/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_5">
<property name="geometry">
<rect>
<x>10</x>
<y>230</y>
<width>681</width>
<height>111</height>
</rect>
</property>
<property name="title">
<string>寄存器配置及回读区</string>
</property>
<widget class="QCheckBox" name="checkBox_icdFBK_EN">
<property name="geometry">
<rect>
<x>480</x>
<y>20</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>FBK_EN</string>
</property>
</widget>
<widget class="QComboBox" name="comboBox_icdDacCh">
<property name="geometry">
<rect>
<x>300</x>
<y>20</y>
<width>61</width>
<height>23</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_15">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>61</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>DAC编号:</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_icdTEMPTEST">
<property name="geometry">
<rect>
<x>570</x>
<y>20</y>
<width>111</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>TEMPTEST_EN</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_icdRegRead">
<property name="geometry">
<rect>
<x>560</x>
<y>80</y>
<width>111</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>寄存器回读</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_icdEN_TADC">
<property name="geometry">
<rect>
<x>390</x>
<y>20</y>
<width>82</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>EN_TADC</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="label_icdRegRead">
<property name="geometry">
<rect>
<x>140</x>
<y>80</y>
<width>241</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>none</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_icdTRIG_TADC">
<property name="geometry">
<rect>
<x>110</x>
<y>50</y>
<width>91</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>TRIG_TADC</string>
</property>
</widget>
<widget class="QLabel" name="label_16">
<property name="geometry">
<rect>
<x>240</x>
<y>20</y>
<width>61</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>DAC通道:</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_icdTEST_EN">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>91</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>TEST_TADC</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QComboBox" name="comboBox_icdRefCurr">
<property name="geometry">
<rect>
<x>490</x>
<y>50</y>
<width>61</width>
<height>23</height>
</rect>
</property>
<property name="currentIndex">
<number>8</number>
</property>
<item>
<property name="text">
<string>0000</string>
</property>
</item>
<item>
<property name="text">
<string>0001</string>
</property>
</item>
<item>
<property name="text">
<string>0010</string>
</property>
</item>
<item>
<property name="text">
<string>0011</string>
</property>
</item>
<item>
<property name="text">
<string>0100</string>
</property>
</item>
<item>
<property name="text">
<string>0101</string>
</property>
</item>
<item>
<property name="text">
<string>0110</string>
</property>
</item>
<item>
<property name="text">
<string>0111</string>
</property>
</item>
<item>
<property name="text">
<string>1000</string>
</property>
</item>
<item>
<property name="text">
<string>1001</string>
</property>
</item>
<item>
<property name="text">
<string>1010</string>
</property>
</item>
<item>
<property name="text">
<string>1011</string>
</property>
</item>
<item>
<property name="text">
<string>1100</string>
</property>
</item>
<item>
<property name="text">
<string>1101</string>
</property>
</item>
<item>
<property name="text">
<string>1110</string>
</property>
</item>
<item>
<property name="text">
<string>1111</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="comboBox_icdADCClkPrs">
<property name="geometry">
<rect>
<x>300</x>
<y>50</y>
<width>61</width>
<height>23</height>
</rect>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>00</string>
</property>
</item>
<item>
<property name="text">
<string>01</string>
</property>
</item>
<item>
<property name="text">
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>11</string>
</property>
</item>
</widget>
<widget class="QPushButton" name="pushButton_icdRegConfig">
<property name="geometry">
<rect>
<x>560</x>
<y>50</y>
<width>111</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>寄存器配置</string>
</property>
</widget>
<widget class="QComboBox" name="comboBox_icdDacId">
<property name="geometry">
<rect>
<x>70</x>
<y>20</y>
<width>61</width>
<height>23</height>
</rect>
</property>
<item>
<property name="text">
<string>编号1</string>
</property>
</item>
<item>
<property name="text">
<string>编号2</string>
</property>
</item>
<item>
<property name="text">
<string>编号3</string>
</property>
</item>
<item>
<property name="text">
<string>编号4</string>
</property>
</item>
<item>
<property name="text">
<string>编号5</string>
</property>
</item>
<item>
<property name="text">
<string>编号6</string>
</property>
</item>
<item>
<property name="text">
<string>编号7</string>
</property>
</item>
<item>
<property name="text">
<string>编号8</string>
</property>
</item>
<item>
<property name="text">
<string>编号9</string>
</property>
</item>
<item>
<property name="text">
<string>编号10</string>
</property>
</item>
<item>
<property name="text">
<string>编号11</string>
</property>
</item>
<item>
<property name="text">
<string>编号12</string>
</property>
</item>
<item>
<property name="text">
<string>编号13</string>
</property>
</item>
<item>
<property name="text">
<string>编号14</string>
</property>
</item>
<item>
<property name="text">
<string>编号15</string>
</property>
</item>
<item>
<property name="text">
<string>编号16</string>
</property>
</item>
<item>
<property name="text">
<string>编号17</string>
</property>
</item>
<item>
<property name="text">
<string>编号18</string>
</property>
</item>
<item>
<property name="text">
<string>编号19</string>
</property>
</item>
<item>
<property name="text">
<string>编号20</string>
</property>
</item>
</widget>
<widget class="QLabel" name="label_20">
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>131</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>REG7至REG1读取的值:</string>
</property>
</widget>
<widget class="QLabel" name="label_19">
<property name="geometry">
<rect>
<x>410</x>
<y>50</y>
<width>51</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>ICON18:</string>
</property>
</widget>
<widget class="QLabel" name="label_17">
<property name="geometry">
<rect>
<x>210</x>
<y>50</y>
<width>81</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>N_CLKDIV18:</string>
</property>
</widget>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>703</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>