CToolDialog.ui 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CToolDialog</class>
  4. <widget class="QDialog" name="CToolDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>900</width>
  10. <height>540</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>CToolDialog</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">#Tool_widget{border:1px solid rgb(61, 61, 61)}
  18. #Image_widget{border:1px solid rgb(61, 61, 61)}</string>
  19. </property>
  20. <layout class="QGridLayout" name="gridLayout_2">
  21. <item row="0" column="0">
  22. <widget class="QTabWidget" name="tabWidget">
  23. <property name="currentIndex">
  24. <number>0</number>
  25. </property>
  26. <widget class="QWidget" name="tab">
  27. <attribute name="title">
  28. <string>变量相关</string>
  29. </attribute>
  30. <widget class="QGroupBox" name="groupBox_2">
  31. <property name="geometry">
  32. <rect>
  33. <x>2</x>
  34. <y>20</y>
  35. <width>881</width>
  36. <height>71</height>
  37. </rect>
  38. </property>
  39. <property name="title">
  40. <string>连接参数</string>
  41. </property>
  42. <widget class="QLabel" name="label_IP">
  43. <property name="enabled">
  44. <bool>true</bool>
  45. </property>
  46. <property name="geometry">
  47. <rect>
  48. <x>50</x>
  49. <y>20</y>
  50. <width>41</width>
  51. <height>31</height>
  52. </rect>
  53. </property>
  54. <property name="text">
  55. <string>IP:</string>
  56. </property>
  57. </widget>
  58. <widget class="QLineEdit" name="edit_IP">
  59. <property name="geometry">
  60. <rect>
  61. <x>90</x>
  62. <y>30</y>
  63. <width>113</width>
  64. <height>20</height>
  65. </rect>
  66. </property>
  67. </widget>
  68. <widget class="QLineEdit" name="edit_Port">
  69. <property name="geometry">
  70. <rect>
  71. <x>390</x>
  72. <y>30</y>
  73. <width>113</width>
  74. <height>20</height>
  75. </rect>
  76. </property>
  77. </widget>
  78. <widget class="QLabel" name="label_Port">
  79. <property name="enabled">
  80. <bool>true</bool>
  81. </property>
  82. <property name="geometry">
  83. <rect>
  84. <x>340</x>
  85. <y>20</y>
  86. <width>41</width>
  87. <height>31</height>
  88. </rect>
  89. </property>
  90. <property name="text">
  91. <string>Port:</string>
  92. </property>
  93. </widget>
  94. <widget class="QPushButton" name="btn_Connect">
  95. <property name="geometry">
  96. <rect>
  97. <x>570</x>
  98. <y>30</y>
  99. <width>75</width>
  100. <height>23</height>
  101. </rect>
  102. </property>
  103. <property name="text">
  104. <string>连接</string>
  105. </property>
  106. </widget>
  107. </widget>
  108. <widget class="QTableWidget" name="tableWidget">
  109. <property name="geometry">
  110. <rect>
  111. <x>10</x>
  112. <y>100</y>
  113. <width>861</width>
  114. <height>341</height>
  115. </rect>
  116. </property>
  117. </widget>
  118. </widget>
  119. </widget>
  120. </item>
  121. <item row="1" column="0">
  122. <widget class="QWidget" name="Tool_widget" native="true">
  123. <property name="maximumSize">
  124. <size>
  125. <width>16777215</width>
  126. <height>42</height>
  127. </size>
  128. </property>
  129. <property name="styleSheet">
  130. <string notr="true"/>
  131. </property>
  132. <layout class="QGridLayout" name="gridLayout">
  133. <property name="leftMargin">
  134. <number>6</number>
  135. </property>
  136. <property name="topMargin">
  137. <number>6</number>
  138. </property>
  139. <property name="rightMargin">
  140. <number>6</number>
  141. </property>
  142. <property name="bottomMargin">
  143. <number>6</number>
  144. </property>
  145. <property name="horizontalSpacing">
  146. <number>20</number>
  147. </property>
  148. <item row="0" column="3" rowspan="2">
  149. <widget class="QPushButton" name="btnOK">
  150. <property name="minimumSize">
  151. <size>
  152. <width>80</width>
  153. <height>30</height>
  154. </size>
  155. </property>
  156. <property name="styleSheet">
  157. <string notr="true"/>
  158. </property>
  159. <property name="text">
  160. <string>确定</string>
  161. </property>
  162. </widget>
  163. </item>
  164. <item row="0" column="2" rowspan="2">
  165. <widget class="QPushButton" name="btnExecute">
  166. <property name="minimumSize">
  167. <size>
  168. <width>80</width>
  169. <height>30</height>
  170. </size>
  171. </property>
  172. <property name="styleSheet">
  173. <string notr="true"/>
  174. </property>
  175. <property name="text">
  176. <string>执行</string>
  177. </property>
  178. </widget>
  179. </item>
  180. <item row="0" column="4" rowspan="2">
  181. <widget class="QPushButton" name="btnCancel">
  182. <property name="minimumSize">
  183. <size>
  184. <width>80</width>
  185. <height>30</height>
  186. </size>
  187. </property>
  188. <property name="styleSheet">
  189. <string notr="true"/>
  190. </property>
  191. <property name="text">
  192. <string>取消</string>
  193. </property>
  194. </widget>
  195. </item>
  196. <item row="0" column="1" rowspan="2">
  197. <spacer name="horizontalSpacer">
  198. <property name="orientation">
  199. <enum>Qt::Horizontal</enum>
  200. </property>
  201. <property name="sizeHint" stdset="0">
  202. <size>
  203. <width>553</width>
  204. <height>20</height>
  205. </size>
  206. </property>
  207. </spacer>
  208. </item>
  209. <item row="1" column="0">
  210. <widget class="QLabel" name="label_time">
  211. <property name="enabled">
  212. <bool>true</bool>
  213. </property>
  214. <property name="minimumSize">
  215. <size>
  216. <width>200</width>
  217. <height>0</height>
  218. </size>
  219. </property>
  220. <property name="styleSheet">
  221. <string notr="true"/>
  222. </property>
  223. <property name="text">
  224. <string>耗时: 0ms</string>
  225. </property>
  226. </widget>
  227. </item>
  228. <item row="0" column="0">
  229. <widget class="QLabel" name="label_state">
  230. <property name="enabled">
  231. <bool>true</bool>
  232. </property>
  233. <property name="minimumSize">
  234. <size>
  235. <width>0</width>
  236. <height>0</height>
  237. </size>
  238. </property>
  239. <property name="styleSheet">
  240. <string notr="true"/>
  241. </property>
  242. <property name="text">
  243. <string>状态: OK</string>
  244. </property>
  245. </widget>
  246. </item>
  247. </layout>
  248. </widget>
  249. </item>
  250. </layout>
  251. </widget>
  252. <layoutdefault spacing="6" margin="11"/>
  253. <resources/>
  254. <connections/>
  255. </ui>