CToolDialog.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558
  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>873</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="1" column="0">
  22. <widget class="QWidget" name="Tool_widget" native="true">
  23. <property name="maximumSize">
  24. <size>
  25. <width>16777215</width>
  26. <height>72</height>
  27. </size>
  28. </property>
  29. <property name="styleSheet">
  30. <string notr="true"/>
  31. </property>
  32. <layout class="QGridLayout" name="gridLayout">
  33. <property name="leftMargin">
  34. <number>6</number>
  35. </property>
  36. <property name="topMargin">
  37. <number>6</number>
  38. </property>
  39. <property name="rightMargin">
  40. <number>6</number>
  41. </property>
  42. <property name="bottomMargin">
  43. <number>6</number>
  44. </property>
  45. <property name="horizontalSpacing">
  46. <number>20</number>
  47. </property>
  48. <item row="0" column="3" rowspan="2">
  49. <widget class="QPushButton" name="btnOK">
  50. <property name="minimumSize">
  51. <size>
  52. <width>80</width>
  53. <height>30</height>
  54. </size>
  55. </property>
  56. <property name="styleSheet">
  57. <string notr="true"/>
  58. </property>
  59. <property name="text">
  60. <string>确定</string>
  61. </property>
  62. </widget>
  63. </item>
  64. <item row="0" column="2" rowspan="2">
  65. <widget class="QPushButton" name="btnExecute">
  66. <property name="minimumSize">
  67. <size>
  68. <width>80</width>
  69. <height>30</height>
  70. </size>
  71. </property>
  72. <property name="styleSheet">
  73. <string notr="true"/>
  74. </property>
  75. <property name="text">
  76. <string>执行</string>
  77. </property>
  78. </widget>
  79. </item>
  80. <item row="0" column="4" rowspan="2">
  81. <widget class="QPushButton" name="btnCancel">
  82. <property name="minimumSize">
  83. <size>
  84. <width>80</width>
  85. <height>30</height>
  86. </size>
  87. </property>
  88. <property name="styleSheet">
  89. <string notr="true"/>
  90. </property>
  91. <property name="text">
  92. <string>取消</string>
  93. </property>
  94. </widget>
  95. </item>
  96. <item row="0" column="1" rowspan="2">
  97. <spacer name="horizontalSpacer">
  98. <property name="orientation">
  99. <enum>Qt::Horizontal</enum>
  100. </property>
  101. <property name="sizeHint" stdset="0">
  102. <size>
  103. <width>553</width>
  104. <height>20</height>
  105. </size>
  106. </property>
  107. </spacer>
  108. </item>
  109. <item row="1" column="0">
  110. <widget class="QLabel" name="label_time">
  111. <property name="enabled">
  112. <bool>true</bool>
  113. </property>
  114. <property name="minimumSize">
  115. <size>
  116. <width>200</width>
  117. <height>0</height>
  118. </size>
  119. </property>
  120. <property name="styleSheet">
  121. <string notr="true"/>
  122. </property>
  123. <property name="text">
  124. <string>耗时: 0ms</string>
  125. </property>
  126. </widget>
  127. </item>
  128. <item row="0" column="0">
  129. <widget class="QLabel" name="label_state">
  130. <property name="enabled">
  131. <bool>true</bool>
  132. </property>
  133. <property name="minimumSize">
  134. <size>
  135. <width>0</width>
  136. <height>0</height>
  137. </size>
  138. </property>
  139. <property name="styleSheet">
  140. <string notr="true"/>
  141. </property>
  142. <property name="text">
  143. <string>状态: OK</string>
  144. </property>
  145. </widget>
  146. </item>
  147. </layout>
  148. </widget>
  149. </item>
  150. <item row="0" column="0">
  151. <widget class="QSplitter" name="splitter">
  152. <property name="maximumSize">
  153. <size>
  154. <width>16777215</width>
  155. <height>16777215</height>
  156. </size>
  157. </property>
  158. <property name="layoutDirection">
  159. <enum>Qt::LeftToRight</enum>
  160. </property>
  161. <property name="orientation">
  162. <enum>Qt::Horizontal</enum>
  163. </property>
  164. <widget class="QTabWidget" name="tabWidget">
  165. <property name="sizePolicy">
  166. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  167. <horstretch>0</horstretch>
  168. <verstretch>8</verstretch>
  169. </sizepolicy>
  170. </property>
  171. <property name="minimumSize">
  172. <size>
  173. <width>300</width>
  174. <height>0</height>
  175. </size>
  176. </property>
  177. <property name="maximumSize">
  178. <size>
  179. <width>300</width>
  180. <height>16777215</height>
  181. </size>
  182. </property>
  183. <property name="currentIndex">
  184. <number>1</number>
  185. </property>
  186. <widget class="QWidget" name="tab_1">
  187. <attribute name="title">
  188. <string>基本参数</string>
  189. </attribute>
  190. <layout class="QVBoxLayout" name="verticalLayout_2">
  191. <item>
  192. <widget class="QLabel" name="label_5">
  193. <property name="maximumSize">
  194. <size>
  195. <width>16777215</width>
  196. <height>20</height>
  197. </size>
  198. </property>
  199. <property name="text">
  200. <string>Disp</string>
  201. </property>
  202. </widget>
  203. </item>
  204. <item>
  205. <widget class="QWidget" name="Image_widget" native="true">
  206. <property name="minimumSize">
  207. <size>
  208. <width>50</width>
  209. <height>50</height>
  210. </size>
  211. </property>
  212. <widget class="QWidget" name="widget_3" native="true">
  213. <property name="geometry">
  214. <rect>
  215. <x>0</x>
  216. <y>200</y>
  217. <width>281</width>
  218. <height>150</height>
  219. </rect>
  220. </property>
  221. <property name="minimumSize">
  222. <size>
  223. <width>0</width>
  224. <height>150</height>
  225. </size>
  226. </property>
  227. <property name="maximumSize">
  228. <size>
  229. <width>16777215</width>
  230. <height>150</height>
  231. </size>
  232. </property>
  233. <layout class="QGridLayout" name="gridLayout_7">
  234. <item row="0" column="0" rowspan="2">
  235. <widget class="QWidget" name="widget_2" native="true">
  236. <property name="minimumSize">
  237. <size>
  238. <width>0</width>
  239. <height>0</height>
  240. </size>
  241. </property>
  242. <property name="maximumSize">
  243. <size>
  244. <width>16777215</width>
  245. <height>150</height>
  246. </size>
  247. </property>
  248. <layout class="QGridLayout" name="gridLayout_6">
  249. <item row="0" column="0">
  250. <widget class="QPushButton" name="btnEdit">
  251. <property name="text">
  252. <string>编辑脚本</string>
  253. </property>
  254. </widget>
  255. </item>
  256. <item row="0" column="1">
  257. <widget class="QPushButton" name="btnCheck">
  258. <property name="text">
  259. <string>检查错误</string>
  260. </property>
  261. </widget>
  262. </item>
  263. <item row="1" column="0" colspan="2">
  264. <widget class="QCheckBox" name="cbEnDebug">
  265. <property name="text">
  266. <string>启用调试器</string>
  267. </property>
  268. </widget>
  269. </item>
  270. </layout>
  271. </widget>
  272. </item>
  273. </layout>
  274. </widget>
  275. <widget class="QTreeWidget" name="treeWidget_2">
  276. <property name="geometry">
  277. <rect>
  278. <x>10</x>
  279. <y>10</y>
  280. <width>256</width>
  281. <height>192</height>
  282. </rect>
  283. </property>
  284. <column>
  285. <property name="text">
  286. <string>功能</string>
  287. </property>
  288. </column>
  289. <column>
  290. <property name="text">
  291. <string>数据</string>
  292. </property>
  293. </column>
  294. <item>
  295. <property name="text">
  296. <string>基础变量</string>
  297. </property>
  298. <property name="text">
  299. <string/>
  300. </property>
  301. <item>
  302. <property name="text">
  303. <string>int</string>
  304. </property>
  305. <property name="text">
  306. <string>int</string>
  307. </property>
  308. </item>
  309. <item>
  310. <property name="text">
  311. <string>bool</string>
  312. </property>
  313. <property name="text">
  314. <string>bool</string>
  315. </property>
  316. </item>
  317. <item>
  318. <property name="text">
  319. <string>float</string>
  320. </property>
  321. <property name="text">
  322. <string>float</string>
  323. </property>
  324. </item>
  325. <item>
  326. <property name="text">
  327. <string>string</string>
  328. </property>
  329. <property name="text">
  330. <string>string</string>
  331. </property>
  332. </item>
  333. </item>
  334. <item>
  335. <property name="text">
  336. <string>逻辑运算</string>
  337. </property>
  338. <property name="text">
  339. <string/>
  340. </property>
  341. <item>
  342. <property name="text">
  343. <string>if</string>
  344. </property>
  345. <property name="text">
  346. <string/>
  347. </property>
  348. </item>
  349. <item>
  350. <property name="text">
  351. <string>for</string>
  352. </property>
  353. <property name="text">
  354. <string/>
  355. </property>
  356. </item>
  357. <item>
  358. <property name="text">
  359. <string>大于</string>
  360. </property>
  361. <property name="text">
  362. <string/>
  363. </property>
  364. </item>
  365. </item>
  366. <item>
  367. <property name="text">
  368. <string>系统函数</string>
  369. </property>
  370. <property name="text">
  371. <string/>
  372. </property>
  373. <item>
  374. <property name="text">
  375. <string>Sleep</string>
  376. </property>
  377. <property name="text">
  378. <string/>
  379. </property>
  380. </item>
  381. </item>
  382. <item>
  383. <property name="text">
  384. <string>其他函数</string>
  385. </property>
  386. <property name="text">
  387. <string/>
  388. </property>
  389. <item>
  390. <property name="text">
  391. <string>GetValue</string>
  392. </property>
  393. <property name="text">
  394. <string/>
  395. </property>
  396. </item>
  397. </item>
  398. </widget>
  399. </widget>
  400. </item>
  401. </layout>
  402. </widget>
  403. <widget class="QWidget" name="tab_2">
  404. <attribute name="title">
  405. <string>显示设置</string>
  406. </attribute>
  407. <layout class="QGridLayout" name="gridLayout_8">
  408. <item row="0" column="0">
  409. <widget class="QPushButton" name="btnAddInterface">
  410. <property name="text">
  411. <string>+</string>
  412. </property>
  413. </widget>
  414. </item>
  415. <item row="0" column="1">
  416. <widget class="QPushButton" name="btnDelInterface">
  417. <property name="text">
  418. <string>-</string>
  419. </property>
  420. </widget>
  421. </item>
  422. <item row="1" column="0" colspan="2">
  423. <widget class="QTabWidget" name="tab_Interface">
  424. <property name="currentIndex">
  425. <number>0</number>
  426. </property>
  427. <widget class="QWidget" name="tab_Input">
  428. <attribute name="title">
  429. <string>Tab 1</string>
  430. </attribute>
  431. <layout class="QGridLayout" name="gridLayout_9">
  432. <item row="0" column="0">
  433. <widget class="QTableWidget" name="tableWidget">
  434. <attribute name="horizontalHeaderDefaultSectionSize">
  435. <number>63</number>
  436. </attribute>
  437. <column>
  438. <property name="text">
  439. <string>序号</string>
  440. </property>
  441. </column>
  442. <column>
  443. <property name="text">
  444. <string>数据类型</string>
  445. </property>
  446. </column>
  447. <column>
  448. <property name="text">
  449. <string>变量名称</string>
  450. </property>
  451. </column>
  452. <column>
  453. <property name="text">
  454. <string>变量注释</string>
  455. </property>
  456. </column>
  457. </widget>
  458. </item>
  459. </layout>
  460. </widget>
  461. <widget class="QWidget" name="tab_output">
  462. <attribute name="title">
  463. <string>Tab 2</string>
  464. </attribute>
  465. <layout class="QGridLayout" name="gridLayout_10">
  466. <item row="0" column="0">
  467. <widget class="QTableWidget" name="tableWidget_2">
  468. <attribute name="horizontalHeaderDefaultSectionSize">
  469. <number>63</number>
  470. </attribute>
  471. <column>
  472. <property name="text">
  473. <string>序号</string>
  474. </property>
  475. </column>
  476. <column>
  477. <property name="text">
  478. <string>数据类型</string>
  479. </property>
  480. </column>
  481. <column>
  482. <property name="text">
  483. <string>变量名称</string>
  484. </property>
  485. </column>
  486. <column>
  487. <property name="text">
  488. <string>变量注释</string>
  489. </property>
  490. </column>
  491. </widget>
  492. </item>
  493. </layout>
  494. </widget>
  495. </widget>
  496. </item>
  497. <item row="2" column="0">
  498. <widget class="QPushButton" name="btnImport">
  499. <property name="text">
  500. <string>导入</string>
  501. </property>
  502. </widget>
  503. </item>
  504. <item row="2" column="1">
  505. <widget class="QPushButton" name="btnExport">
  506. <property name="text">
  507. <string>导出</string>
  508. </property>
  509. </widget>
  510. </item>
  511. </layout>
  512. </widget>
  513. </widget>
  514. <widget class="QWidget" name="widget" native="true">
  515. <property name="styleSheet">
  516. <string notr="true"/>
  517. </property>
  518. <layout class="QGridLayout" name="gridLayout_3">
  519. <item row="0" column="0">
  520. <widget class="QStackedWidget" name="stackedWidget">
  521. <property name="currentIndex">
  522. <number>1</number>
  523. </property>
  524. <widget class="QWidget" name="page_Debug">
  525. <layout class="QGridLayout" name="gridLayout_5">
  526. <item row="0" column="0">
  527. <widget class="QWidget" name="widgetDebug" native="true">
  528. <property name="styleSheet">
  529. <string notr="true"/>
  530. </property>
  531. </widget>
  532. </item>
  533. </layout>
  534. </widget>
  535. <widget class="QWidget" name="page_Edit">
  536. <layout class="QGridLayout" name="gridLayout_4">
  537. <item row="0" column="0">
  538. <widget class="QWidget" name="widgetEditor" native="true">
  539. <property name="styleSheet">
  540. <string notr="true"/>
  541. </property>
  542. </widget>
  543. </item>
  544. </layout>
  545. </widget>
  546. </widget>
  547. </item>
  548. </layout>
  549. </widget>
  550. </widget>
  551. </item>
  552. </layout>
  553. </widget>
  554. <layoutdefault spacing="6" margin="11"/>
  555. <resources/>
  556. <connections/>
  557. </ui>