DiagnosisPage.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>DiagnosisPageClass</class>
  4. <widget class="QWidget" name="DiagnosisPageClass">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>480</width>
  10. <height>1178</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>DiagnosisPage</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">background-color: rgb(240,243,253);</string>
  18. </property>
  19. <widget class="QTabWidget" name="axisSwitchTabPage">
  20. <property name="geometry">
  21. <rect>
  22. <x>0</x>
  23. <y>80</y>
  24. <width>481</width>
  25. <height>1101</height>
  26. </rect>
  27. </property>
  28. <property name="currentIndex">
  29. <number>1</number>
  30. </property>
  31. <widget class="QWidget" name="AxisTab">
  32. <attribute name="title">
  33. <string extracomment="轴页面">Axis Tab</string>
  34. </attribute>
  35. <widget class="QTreeView" name="axisListTree">
  36. <property name="geometry">
  37. <rect>
  38. <x>0</x>
  39. <y>0</y>
  40. <width>475</width>
  41. <height>1071</height>
  42. </rect>
  43. </property>
  44. </widget>
  45. </widget>
  46. <widget class="QWidget" name="operAxisPage">
  47. <attribute name="title">
  48. <string extracomment="操作轴页面">Operation axis page</string>
  49. </attribute>
  50. <widget class="QGroupBox" name="groupBox">
  51. <property name="geometry">
  52. <rect>
  53. <x>10</x>
  54. <y>80</y>
  55. <width>441</width>
  56. <height>391</height>
  57. </rect>
  58. </property>
  59. <property name="font">
  60. <font>
  61. <pointsize>12</pointsize>
  62. </font>
  63. </property>
  64. <property name="title">
  65. <string extracomment="X轴"/>
  66. </property>
  67. <widget class="QWidget" name="layoutWidget">
  68. <property name="geometry">
  69. <rect>
  70. <x>250</x>
  71. <y>10</y>
  72. <width>181</width>
  73. <height>51</height>
  74. </rect>
  75. </property>
  76. <layout class="QHBoxLayout" name="horizontalLayout_3">
  77. <item>
  78. <widget class="QLabel" name="label_6">
  79. <property name="minimumSize">
  80. <size>
  81. <width>70</width>
  82. <height>0</height>
  83. </size>
  84. </property>
  85. <property name="font">
  86. <font>
  87. <pointsize>12</pointsize>
  88. </font>
  89. </property>
  90. <property name="text">
  91. <string extracomment="当前位置">Position</string>
  92. </property>
  93. </widget>
  94. </item>
  95. <item>
  96. <widget class="QLineEdit" name="xPositionLineEdit">
  97. <property name="enabled">
  98. <bool>false</bool>
  99. </property>
  100. <property name="minimumSize">
  101. <size>
  102. <width>0</width>
  103. <height>40</height>
  104. </size>
  105. </property>
  106. <property name="font">
  107. <font>
  108. <pointsize>12</pointsize>
  109. </font>
  110. </property>
  111. <property name="styleSheet">
  112. <string notr="true">color: rgb(255, 170, 0);
  113. background-color: rgb(0, 0, 0);</string>
  114. </property>
  115. <property name="text">
  116. <string>0</string>
  117. </property>
  118. <property name="alignment">
  119. <set>Qt::AlignCenter</set>
  120. </property>
  121. </widget>
  122. </item>
  123. <item>
  124. <spacer name="horizontalSpacer">
  125. <property name="orientation">
  126. <enum>Qt::Horizontal</enum>
  127. </property>
  128. <property name="sizeHint" stdset="0">
  129. <size>
  130. <width>86</width>
  131. <height>20</height>
  132. </size>
  133. </property>
  134. </spacer>
  135. </item>
  136. </layout>
  137. </widget>
  138. <widget class="QWidget" name="layoutWidget">
  139. <property name="geometry">
  140. <rect>
  141. <x>10</x>
  142. <y>10</y>
  143. <width>221</width>
  144. <height>51</height>
  145. </rect>
  146. </property>
  147. <layout class="QHBoxLayout" name="horizontalLayout_5">
  148. <item>
  149. <widget class="QRadioButton" name="xAxisEnabledRadioBut">
  150. <property name="font">
  151. <font>
  152. <pointsize>12</pointsize>
  153. </font>
  154. </property>
  155. <property name="styleSheet">
  156. <string notr="true"/>
  157. </property>
  158. <property name="text">
  159. <string extracomment="使能">Enabled</string>
  160. </property>
  161. <property name="autoExclusive">
  162. <bool>false</bool>
  163. </property>
  164. </widget>
  165. </item>
  166. <item>
  167. <widget class="QRadioButton" name="xAxisSatausOkRadioBut">
  168. <property name="font">
  169. <font>
  170. <pointsize>12</pointsize>
  171. </font>
  172. </property>
  173. <property name="text">
  174. <string extracomment="状态OK">Status OK</string>
  175. </property>
  176. <property name="autoExclusive">
  177. <bool>false</bool>
  178. </property>
  179. </widget>
  180. </item>
  181. </layout>
  182. </widget>
  183. <widget class="QWidget" name="layoutWidget">
  184. <property name="geometry">
  185. <rect>
  186. <x>20</x>
  187. <y>270</y>
  188. <width>401</width>
  189. <height>62</height>
  190. </rect>
  191. </property>
  192. <layout class="QHBoxLayout" name="horizontalLayout_4">
  193. <item>
  194. <widget class="QPushButton" name="xAxisDisable">
  195. <property name="minimumSize">
  196. <size>
  197. <width>0</width>
  198. <height>44</height>
  199. </size>
  200. </property>
  201. <property name="font">
  202. <font>
  203. <pointsize>12</pointsize>
  204. </font>
  205. </property>
  206. <property name="styleSheet">
  207. <string notr="true">background-color: rgb(203,208,255);</string>
  208. </property>
  209. <property name="text">
  210. <string extracomment="关使能">Disable</string>
  211. </property>
  212. </widget>
  213. </item>
  214. <item>
  215. <widget class="QPushButton" name="xAxisHomeBut">
  216. <property name="minimumSize">
  217. <size>
  218. <width>0</width>
  219. <height>44</height>
  220. </size>
  221. </property>
  222. <property name="font">
  223. <font>
  224. <pointsize>12</pointsize>
  225. </font>
  226. </property>
  227. <property name="styleSheet">
  228. <string notr="true">background-color: rgb(203,208,255);</string>
  229. </property>
  230. <property name="text">
  231. <string extracomment="回零">Home</string>
  232. </property>
  233. </widget>
  234. </item>
  235. </layout>
  236. </widget>
  237. <widget class="QWidget" name="layoutWidget">
  238. <property name="geometry">
  239. <rect>
  240. <x>10</x>
  241. <y>70</y>
  242. <width>311</width>
  243. <height>81</height>
  244. </rect>
  245. </property>
  246. <layout class="QGridLayout" name="gridLayout">
  247. <item row="0" column="0">
  248. <layout class="QHBoxLayout" name="horizontalLayout_2">
  249. <item>
  250. <widget class="QLabel" name="label">
  251. <property name="minimumSize">
  252. <size>
  253. <width>80</width>
  254. <height>0</height>
  255. </size>
  256. </property>
  257. <property name="text">
  258. <string extracomment="轴负软限位">Axis Neg</string>
  259. </property>
  260. </widget>
  261. </item>
  262. <item>
  263. <widget class="QLineEdit" name="negLineEdit">
  264. <property name="minimumSize">
  265. <size>
  266. <width>0</width>
  267. <height>34</height>
  268. </size>
  269. </property>
  270. <property name="text">
  271. <string>0</string>
  272. </property>
  273. <property name="alignment">
  274. <set>Qt::AlignCenter</set>
  275. </property>
  276. </widget>
  277. </item>
  278. <item>
  279. <widget class="QPushButton" name="setNegBut">
  280. <property name="minimumSize">
  281. <size>
  282. <width>0</width>
  283. <height>34</height>
  284. </size>
  285. </property>
  286. <property name="text">
  287. <string>Set</string>
  288. </property>
  289. </widget>
  290. </item>
  291. </layout>
  292. </item>
  293. <item row="1" column="0">
  294. <layout class="QHBoxLayout" name="horizontalLayout_6">
  295. <item>
  296. <widget class="QLabel" name="label_3">
  297. <property name="minimumSize">
  298. <size>
  299. <width>80</width>
  300. <height>0</height>
  301. </size>
  302. </property>
  303. <property name="text">
  304. <string extracomment="轴正软限位">Axis Pos</string>
  305. </property>
  306. </widget>
  307. </item>
  308. <item>
  309. <widget class="QLineEdit" name="posLineEdit">
  310. <property name="minimumSize">
  311. <size>
  312. <width>0</width>
  313. <height>34</height>
  314. </size>
  315. </property>
  316. <property name="text">
  317. <string>0</string>
  318. </property>
  319. <property name="alignment">
  320. <set>Qt::AlignCenter</set>
  321. </property>
  322. </widget>
  323. </item>
  324. <item>
  325. <widget class="QPushButton" name="setPosBut">
  326. <property name="minimumSize">
  327. <size>
  328. <width>0</width>
  329. <height>34</height>
  330. </size>
  331. </property>
  332. <property name="text">
  333. <string>Set</string>
  334. </property>
  335. </widget>
  336. </item>
  337. </layout>
  338. </item>
  339. </layout>
  340. </widget>
  341. <widget class="QWidget" name="layoutWidget">
  342. <property name="geometry">
  343. <rect>
  344. <x>10</x>
  345. <y>170</y>
  346. <width>311</width>
  347. <height>41</height>
  348. </rect>
  349. </property>
  350. <layout class="QHBoxLayout" name="horizontalLayout_7">
  351. <item>
  352. <widget class="QLabel" name="label_4">
  353. <property name="minimumSize">
  354. <size>
  355. <width>80</width>
  356. <height>0</height>
  357. </size>
  358. </property>
  359. <property name="text">
  360. <string>Set Speed</string>
  361. </property>
  362. </widget>
  363. </item>
  364. <item>
  365. <widget class="QLineEdit" name="speedLineEdit">
  366. <property name="minimumSize">
  367. <size>
  368. <width>0</width>
  369. <height>34</height>
  370. </size>
  371. </property>
  372. <property name="text">
  373. <string>0</string>
  374. </property>
  375. <property name="alignment">
  376. <set>Qt::AlignCenter</set>
  377. </property>
  378. </widget>
  379. </item>
  380. <item>
  381. <widget class="QPushButton" name="setSpeedBut">
  382. <property name="minimumSize">
  383. <size>
  384. <width>0</width>
  385. <height>34</height>
  386. </size>
  387. </property>
  388. <property name="text">
  389. <string>Set</string>
  390. </property>
  391. </widget>
  392. </item>
  393. </layout>
  394. </widget>
  395. <widget class="QWidget" name="layoutWidget_2">
  396. <property name="geometry">
  397. <rect>
  398. <x>10</x>
  399. <y>220</y>
  400. <width>311</width>
  401. <height>41</height>
  402. </rect>
  403. </property>
  404. <layout class="QHBoxLayout" name="horizontalLayout_8">
  405. <item>
  406. <widget class="QLabel" name="label_5">
  407. <property name="text">
  408. <string extracomment="设置最大速度">Set Max Speed</string>
  409. </property>
  410. </widget>
  411. </item>
  412. <item>
  413. <widget class="QLineEdit" name="speedMaxLineEdit">
  414. <property name="minimumSize">
  415. <size>
  416. <width>0</width>
  417. <height>34</height>
  418. </size>
  419. </property>
  420. <property name="text">
  421. <string>0</string>
  422. </property>
  423. <property name="alignment">
  424. <set>Qt::AlignCenter</set>
  425. </property>
  426. </widget>
  427. </item>
  428. <item>
  429. <widget class="QPushButton" name="setMaxSpeedBut">
  430. <property name="minimumSize">
  431. <size>
  432. <width>0</width>
  433. <height>34</height>
  434. </size>
  435. </property>
  436. <property name="text">
  437. <string>Set</string>
  438. </property>
  439. </widget>
  440. </item>
  441. </layout>
  442. </widget>
  443. </widget>
  444. <widget class="QWidget" name="layoutWidget">
  445. <property name="geometry">
  446. <rect>
  447. <x>10</x>
  448. <y>10</y>
  449. <width>401</width>
  450. <height>61</height>
  451. </rect>
  452. </property>
  453. <layout class="QHBoxLayout" name="horizontalLayout">
  454. <item>
  455. <widget class="QLabel" name="label_2">
  456. <property name="font">
  457. <font>
  458. <family>Agency FB</family>
  459. <pointsize>16</pointsize>
  460. </font>
  461. </property>
  462. <property name="text">
  463. <string extracomment="当前轴名称:">Current axis name:</string>
  464. </property>
  465. <property name="alignment">
  466. <set>Qt::AlignCenter</set>
  467. </property>
  468. </widget>
  469. </item>
  470. <item>
  471. <widget class="QLabel" name="titleLable">
  472. <property name="font">
  473. <font>
  474. <family>Agency FB</family>
  475. <pointsize>16</pointsize>
  476. </font>
  477. </property>
  478. <property name="text">
  479. <string>xx</string>
  480. </property>
  481. <property name="alignment">
  482. <set>Qt::AlignCenter</set>
  483. </property>
  484. </widget>
  485. </item>
  486. </layout>
  487. </widget>
  488. </widget>
  489. <widget class="QWidget" name="io">
  490. <attribute name="title">
  491. <string>io</string>
  492. </attribute>
  493. <widget class="QWidget" name="verticalLayoutWidget">
  494. <property name="geometry">
  495. <rect>
  496. <x>0</x>
  497. <y>0</y>
  498. <width>471</width>
  499. <height>1071</height>
  500. </rect>
  501. </property>
  502. <layout class="QVBoxLayout" name="ioUi"/>
  503. </widget>
  504. </widget>
  505. </widget>
  506. <widget class="QPushButton" name="retBut">
  507. <property name="geometry">
  508. <rect>
  509. <x>366</x>
  510. <y>20</y>
  511. <width>111</width>
  512. <height>41</height>
  513. </rect>
  514. </property>
  515. <property name="styleSheet">
  516. <string notr="true"/>
  517. </property>
  518. <property name="text">
  519. <string/>
  520. </property>
  521. </widget>
  522. <widget class="QFrame" name="frame">
  523. <property name="geometry">
  524. <rect>
  525. <x>0</x>
  526. <y>70</y>
  527. <width>481</width>
  528. <height>2</height>
  529. </rect>
  530. </property>
  531. <property name="styleSheet">
  532. <string notr="true">background-color: #C7CAEB</string>
  533. </property>
  534. <property name="frameShape">
  535. <enum>QFrame::StyledPanel</enum>
  536. </property>
  537. <property name="frameShadow">
  538. <enum>QFrame::Raised</enum>
  539. </property>
  540. </widget>
  541. <widget class="QPushButton" name="AllHomeBut">
  542. <property name="geometry">
  543. <rect>
  544. <x>10</x>
  545. <y>20</y>
  546. <width>121</width>
  547. <height>41</height>
  548. </rect>
  549. </property>
  550. <property name="text">
  551. <string extracomment="所有轴回零">All Home</string>
  552. </property>
  553. </widget>
  554. <widget class="QPushButton" name="AllEnableBut">
  555. <property name="geometry">
  556. <rect>
  557. <x>140</x>
  558. <y>20</y>
  559. <width>121</width>
  560. <height>41</height>
  561. </rect>
  562. </property>
  563. <property name="text">
  564. <string extracomment="所有轴使能">All Enable</string>
  565. </property>
  566. </widget>
  567. <widget class="QPushButton" name="AllIOPageBut">
  568. <property name="geometry">
  569. <rect>
  570. <x>270</x>
  571. <y>20</y>
  572. <width>121</width>
  573. <height>41</height>
  574. </rect>
  575. </property>
  576. <property name="text">
  577. <string>IO</string>
  578. </property>
  579. </widget>
  580. </widget>
  581. <layoutdefault spacing="6" margin="11"/>
  582. <resources/>
  583. <connections/>
  584. </ui>