test_tj.ui 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>test_tj</class>
  4. <widget class="QMainWindow" name="test_tj">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>415</width>
  10. <height>373</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <layout class="QGridLayout" name="gridLayout_4">
  18. <item row="2" column="0">
  19. <widget class="QPushButton" name="btn_set">
  20. <property name="text">
  21. <string>板卡控制</string>
  22. </property>
  23. </widget>
  24. </item>
  25. <item row="0" column="0">
  26. <widget class="QGroupBox" name="groupBox">
  27. <property name="title">
  28. <string/>
  29. </property>
  30. <layout class="QGridLayout" name="gridLayout">
  31. <item row="0" column="0">
  32. <widget class="QLabel" name="label">
  33. <property name="text">
  34. <string>通道</string>
  35. </property>
  36. </widget>
  37. </item>
  38. <item row="0" column="1">
  39. <widget class="QComboBox" name="cbo_line"/>
  40. </item>
  41. <item row="0" column="2">
  42. <widget class="QLabel" name="label_2">
  43. <property name="text">
  44. <string>通道值</string>
  45. </property>
  46. </widget>
  47. </item>
  48. <item row="0" column="3">
  49. <widget class="QLineEdit" name="lineEdit"/>
  50. </item>
  51. </layout>
  52. </widget>
  53. </item>
  54. <item row="3" column="0">
  55. <widget class="QGroupBox" name="groupBox_2">
  56. <property name="title">
  57. <string>pid</string>
  58. </property>
  59. <layout class="QGridLayout" name="gridLayout_3">
  60. <item row="0" column="0">
  61. <widget class="QLabel" name="label_4">
  62. <property name="text">
  63. <string>PID类型</string>
  64. </property>
  65. </widget>
  66. </item>
  67. <item row="2" column="0">
  68. <widget class="QGroupBox" name="groupBox_3">
  69. <property name="title">
  70. <string>参数</string>
  71. </property>
  72. <layout class="QGridLayout" name="gridLayout_2">
  73. <item row="0" column="0">
  74. <widget class="QLabel" name="label_5">
  75. <property name="text">
  76. <string>P</string>
  77. </property>
  78. </widget>
  79. </item>
  80. <item row="0" column="1">
  81. <widget class="QLineEdit" name="lineEdit_2"/>
  82. </item>
  83. <item row="1" column="0" rowspan="2" colspan="2">
  84. <widget class="QLabel" name="label_6">
  85. <property name="text">
  86. <string>I</string>
  87. </property>
  88. </widget>
  89. </item>
  90. <item row="2" column="1">
  91. <widget class="QLineEdit" name="lineEdit_4"/>
  92. </item>
  93. <item row="3" column="0">
  94. <widget class="QLabel" name="label_3">
  95. <property name="text">
  96. <string>D</string>
  97. </property>
  98. </widget>
  99. </item>
  100. <item row="3" column="1">
  101. <widget class="QLineEdit" name="lineEdit_3"/>
  102. </item>
  103. </layout>
  104. </widget>
  105. </item>
  106. <item row="1" column="0">
  107. <widget class="QComboBox" name="cbo_line_2"/>
  108. </item>
  109. </layout>
  110. </widget>
  111. </item>
  112. <item row="4" column="0">
  113. <widget class="QPushButton" name="pushButton">
  114. <property name="text">
  115. <string>确认参数</string>
  116. </property>
  117. </widget>
  118. </item>
  119. <item row="1" column="0">
  120. <spacer name="verticalSpacer">
  121. <property name="orientation">
  122. <enum>Qt::Orientation::Vertical</enum>
  123. </property>
  124. <property name="sizeHint" stdset="0">
  125. <size>
  126. <width>20</width>
  127. <height>40</height>
  128. </size>
  129. </property>
  130. </spacer>
  131. </item>
  132. </layout>
  133. </widget>
  134. <widget class="QMenuBar" name="menubar">
  135. <property name="geometry">
  136. <rect>
  137. <x>0</x>
  138. <y>0</y>
  139. <width>415</width>
  140. <height>21</height>
  141. </rect>
  142. </property>
  143. </widget>
  144. <widget class="QStatusBar" name="statusbar"/>
  145. </widget>
  146. <resources/>
  147. <connections/>
  148. </ui>