LightJoystickSwitchPage.ui 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>LightJoystickSwitchPage</class>
  4. <widget class="QWidget" name="LightJoystickSwitchPage">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>495</width>
  10. <height>166</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <widget class="QTabWidget" name="switchTabWidget">
  17. <property name="geometry">
  18. <rect>
  19. <x>0</x>
  20. <y>0</y>
  21. <width>491</width>
  22. <height>161</height>
  23. </rect>
  24. </property>
  25. <property name="currentIndex">
  26. <number>1</number>
  27. </property>
  28. <widget class="QWidget" name="GreenLightTab">
  29. <attribute name="title">
  30. <string>GreenLight</string>
  31. </attribute>
  32. <widget class="QWidget" name="RedLight" native="true">
  33. <property name="enabled">
  34. <bool>true</bool>
  35. </property>
  36. <property name="geometry">
  37. <rect>
  38. <x>80</x>
  39. <y>0</y>
  40. <width>61</width>
  41. <height>114</height>
  42. </rect>
  43. </property>
  44. <widget class="QSlider" name="RedLightverticalSlider">
  45. <property name="geometry">
  46. <rect>
  47. <x>10</x>
  48. <y>12</y>
  49. <width>18</width>
  50. <height>56</height>
  51. </rect>
  52. </property>
  53. <property name="cursor">
  54. <cursorShape>PointingHandCursor</cursorShape>
  55. </property>
  56. <property name="maximum">
  57. <number>255</number>
  58. </property>
  59. <property name="orientation">
  60. <enum>Qt::Vertical</enum>
  61. </property>
  62. </widget>
  63. <widget class="QLineEdit" name="RedLightlineEdit">
  64. <property name="geometry">
  65. <rect>
  66. <x>10</x>
  67. <y>78</y>
  68. <width>40</width>
  69. <height>24</height>
  70. </rect>
  71. </property>
  72. <property name="text">
  73. <string>22</string>
  74. </property>
  75. </widget>
  76. <widget class="QLabel" name="RedLightlabel">
  77. <property name="geometry">
  78. <rect>
  79. <x>39</x>
  80. <y>22</y>
  81. <width>10</width>
  82. <height>34</height>
  83. </rect>
  84. </property>
  85. <property name="text">
  86. <string/>
  87. </property>
  88. </widget>
  89. <widget class="QProgressBar" name="RedLightprogressBar">
  90. <property name="geometry">
  91. <rect>
  92. <x>32</x>
  93. <y>15</y>
  94. <width>18</width>
  95. <height>51</height>
  96. </rect>
  97. </property>
  98. <property name="maximum">
  99. <number>255</number>
  100. </property>
  101. <property name="value">
  102. <number>22</number>
  103. </property>
  104. <property name="orientation">
  105. <enum>Qt::Vertical</enum>
  106. </property>
  107. <property name="format">
  108. <string/>
  109. </property>
  110. </widget>
  111. </widget>
  112. <widget class="QWidget" name="BlueLight" native="true">
  113. <property name="geometry">
  114. <rect>
  115. <x>258</x>
  116. <y>0</y>
  117. <width>61</width>
  118. <height>114</height>
  119. </rect>
  120. </property>
  121. <widget class="QSlider" name="BlueLightverticalSlider">
  122. <property name="geometry">
  123. <rect>
  124. <x>10</x>
  125. <y>12</y>
  126. <width>18</width>
  127. <height>56</height>
  128. </rect>
  129. </property>
  130. <property name="cursor">
  131. <cursorShape>PointingHandCursor</cursorShape>
  132. </property>
  133. <property name="maximum">
  134. <number>255</number>
  135. </property>
  136. <property name="orientation">
  137. <enum>Qt::Vertical</enum>
  138. </property>
  139. </widget>
  140. <widget class="QLineEdit" name="BlueLightlineEdit">
  141. <property name="geometry">
  142. <rect>
  143. <x>10</x>
  144. <y>78</y>
  145. <width>40</width>
  146. <height>24</height>
  147. </rect>
  148. </property>
  149. <property name="text">
  150. <string>0</string>
  151. </property>
  152. </widget>
  153. <widget class="QLabel" name="BlueLightlabel">
  154. <property name="geometry">
  155. <rect>
  156. <x>32</x>
  157. <y>22</y>
  158. <width>19</width>
  159. <height>34</height>
  160. </rect>
  161. </property>
  162. <property name="text">
  163. <string/>
  164. </property>
  165. </widget>
  166. <widget class="QProgressBar" name="BlueLightprogressBar">
  167. <property name="geometry">
  168. <rect>
  169. <x>32</x>
  170. <y>15</y>
  171. <width>18</width>
  172. <height>51</height>
  173. </rect>
  174. </property>
  175. <property name="maximum">
  176. <number>255</number>
  177. </property>
  178. <property name="value">
  179. <number>0</number>
  180. </property>
  181. <property name="orientation">
  182. <enum>Qt::Vertical</enum>
  183. </property>
  184. <property name="format">
  185. <string/>
  186. </property>
  187. </widget>
  188. </widget>
  189. <widget class="QWidget" name="DotLight" native="true">
  190. <property name="geometry">
  191. <rect>
  192. <x>347</x>
  193. <y>0</y>
  194. <width>61</width>
  195. <height>114</height>
  196. </rect>
  197. </property>
  198. <widget class="QSlider" name="DotLightverticalSlider">
  199. <property name="geometry">
  200. <rect>
  201. <x>10</x>
  202. <y>12</y>
  203. <width>18</width>
  204. <height>56</height>
  205. </rect>
  206. </property>
  207. <property name="cursor">
  208. <cursorShape>PointingHandCursor</cursorShape>
  209. </property>
  210. <property name="maximum">
  211. <number>255</number>
  212. </property>
  213. <property name="orientation">
  214. <enum>Qt::Vertical</enum>
  215. </property>
  216. </widget>
  217. <widget class="QLineEdit" name="DotLightlineEdit">
  218. <property name="geometry">
  219. <rect>
  220. <x>10</x>
  221. <y>78</y>
  222. <width>40</width>
  223. <height>24</height>
  224. </rect>
  225. </property>
  226. <property name="text">
  227. <string>0</string>
  228. </property>
  229. </widget>
  230. <widget class="QLabel" name="DotLightlabel">
  231. <property name="geometry">
  232. <rect>
  233. <x>32</x>
  234. <y>22</y>
  235. <width>19</width>
  236. <height>34</height>
  237. </rect>
  238. </property>
  239. <property name="text">
  240. <string/>
  241. </property>
  242. </widget>
  243. <widget class="QProgressBar" name="DotLightprogressBar">
  244. <property name="geometry">
  245. <rect>
  246. <x>32</x>
  247. <y>15</y>
  248. <width>18</width>
  249. <height>51</height>
  250. </rect>
  251. </property>
  252. <property name="maximum">
  253. <number>255</number>
  254. </property>
  255. <property name="value">
  256. <number>0</number>
  257. </property>
  258. <property name="orientation">
  259. <enum>Qt::Vertical</enum>
  260. </property>
  261. <property name="format">
  262. <string/>
  263. </property>
  264. </widget>
  265. </widget>
  266. <widget class="QWidget" name="GreenLight" native="true">
  267. <property name="geometry">
  268. <rect>
  269. <x>169</x>
  270. <y>0</y>
  271. <width>61</width>
  272. <height>114</height>
  273. </rect>
  274. </property>
  275. <widget class="QSlider" name="GreenLightverticalSlider">
  276. <property name="geometry">
  277. <rect>
  278. <x>10</x>
  279. <y>12</y>
  280. <width>18</width>
  281. <height>56</height>
  282. </rect>
  283. </property>
  284. <property name="cursor">
  285. <cursorShape>PointingHandCursor</cursorShape>
  286. </property>
  287. <property name="maximum">
  288. <number>255</number>
  289. </property>
  290. <property name="orientation">
  291. <enum>Qt::Vertical</enum>
  292. </property>
  293. </widget>
  294. <widget class="QLineEdit" name="GreenLightlineEdit">
  295. <property name="geometry">
  296. <rect>
  297. <x>10</x>
  298. <y>78</y>
  299. <width>40</width>
  300. <height>24</height>
  301. </rect>
  302. </property>
  303. <property name="text">
  304. <string>11</string>
  305. </property>
  306. </widget>
  307. <widget class="QLabel" name="GreenLightlabel">
  308. <property name="geometry">
  309. <rect>
  310. <x>36</x>
  311. <y>22</y>
  312. <width>12</width>
  313. <height>34</height>
  314. </rect>
  315. </property>
  316. <property name="text">
  317. <string/>
  318. </property>
  319. </widget>
  320. <widget class="QProgressBar" name="GreenLightprogressBar">
  321. <property name="geometry">
  322. <rect>
  323. <x>32</x>
  324. <y>15</y>
  325. <width>18</width>
  326. <height>51</height>
  327. </rect>
  328. </property>
  329. <property name="maximum">
  330. <number>255</number>
  331. </property>
  332. <property name="value">
  333. <number>11</number>
  334. </property>
  335. <property name="orientation">
  336. <enum>Qt::Vertical</enum>
  337. </property>
  338. <property name="format">
  339. <string/>
  340. </property>
  341. </widget>
  342. </widget>
  343. </widget>
  344. <widget class="QWidget" name="JoystickTab">
  345. <attribute name="title">
  346. <string>Joystick</string>
  347. </attribute>
  348. <widget class="QGroupBox" name="groupBox">
  349. <property name="geometry">
  350. <rect>
  351. <x>340</x>
  352. <y>10</y>
  353. <width>141</width>
  354. <height>121</height>
  355. </rect>
  356. </property>
  357. <property name="title">
  358. <string/>
  359. </property>
  360. <widget class="QPushButton" name="left_Button">
  361. <property name="geometry">
  362. <rect>
  363. <x>10</x>
  364. <y>42</y>
  365. <width>41</width>
  366. <height>31</height>
  367. </rect>
  368. </property>
  369. <property name="text">
  370. <string>←</string>
  371. </property>
  372. </widget>
  373. <widget class="QPushButton" name="right_Button">
  374. <property name="geometry">
  375. <rect>
  376. <x>90</x>
  377. <y>40</y>
  378. <width>41</width>
  379. <height>31</height>
  380. </rect>
  381. </property>
  382. <property name="text">
  383. <string>→</string>
  384. </property>
  385. </widget>
  386. <widget class="QPushButton" name="down_Button">
  387. <property name="geometry">
  388. <rect>
  389. <x>50</x>
  390. <y>70</y>
  391. <width>41</width>
  392. <height>31</height>
  393. </rect>
  394. </property>
  395. <property name="text">
  396. <string>↓</string>
  397. </property>
  398. </widget>
  399. <widget class="QPushButton" name="up_Button">
  400. <property name="geometry">
  401. <rect>
  402. <x>50</x>
  403. <y>10</y>
  404. <width>41</width>
  405. <height>31</height>
  406. </rect>
  407. </property>
  408. <property name="text">
  409. <string>↑</string>
  410. </property>
  411. </widget>
  412. <widget class="JoystickPage" name="widgetPage" native="true">
  413. <property name="geometry">
  414. <rect>
  415. <x>20</x>
  416. <y>0</y>
  417. <width>131</width>
  418. <height>121</height>
  419. </rect>
  420. </property>
  421. </widget>
  422. </widget>
  423. <widget class="QGroupBox" name="groupBox_2">
  424. <property name="geometry">
  425. <rect>
  426. <x>0</x>
  427. <y>0</y>
  428. <width>341</width>
  429. <height>131</height>
  430. </rect>
  431. </property>
  432. <property name="title">
  433. <string/>
  434. </property>
  435. <widget class="QLabel" name="label">
  436. <property name="geometry">
  437. <rect>
  438. <x>10</x>
  439. <y>10</y>
  440. <width>71</width>
  441. <height>31</height>
  442. </rect>
  443. </property>
  444. <property name="font">
  445. <font>
  446. <family>宋体</family>
  447. <pointsize>12</pointsize>
  448. </font>
  449. </property>
  450. <property name="text">
  451. <string>module:</string>
  452. </property>
  453. <property name="alignment">
  454. <set>Qt::AlignCenter</set>
  455. </property>
  456. </widget>
  457. <widget class="QComboBox" name="modeComboBox">
  458. <property name="geometry">
  459. <rect>
  460. <x>90</x>
  461. <y>10</y>
  462. <width>91</width>
  463. <height>31</height>
  464. </rect>
  465. </property>
  466. <property name="font">
  467. <font>
  468. <family>宋体</family>
  469. <pointsize>12</pointsize>
  470. </font>
  471. </property>
  472. </widget>
  473. <widget class="QWidget" name="layoutWidget">
  474. <property name="geometry">
  475. <rect>
  476. <x>190</x>
  477. <y>90</y>
  478. <width>141</width>
  479. <height>33</height>
  480. </rect>
  481. </property>
  482. <layout class="QHBoxLayout" name="forceLayout">
  483. <property name="spacing">
  484. <number>0</number>
  485. </property>
  486. <item>
  487. <widget class="QCheckBox" name="forceCheckBox">
  488. <property name="minimumSize">
  489. <size>
  490. <width>67</width>
  491. <height>30</height>
  492. </size>
  493. </property>
  494. <property name="font">
  495. <font>
  496. <family>宋体</family>
  497. <pointsize>12</pointsize>
  498. </font>
  499. </property>
  500. <property name="text">
  501. <string>FORCE</string>
  502. </property>
  503. </widget>
  504. </item>
  505. <item>
  506. <widget class="JReLineEdit" name="forceLineEdit">
  507. <property name="minimumSize">
  508. <size>
  509. <width>0</width>
  510. <height>30</height>
  511. </size>
  512. </property>
  513. <property name="font">
  514. <font>
  515. <family>宋体</family>
  516. <pointsize>12</pointsize>
  517. </font>
  518. </property>
  519. <property name="text">
  520. <string>0</string>
  521. </property>
  522. <property name="alignment">
  523. <set>Qt::AlignCenter</set>
  524. </property>
  525. </widget>
  526. </item>
  527. </layout>
  528. </widget>
  529. <widget class="QWidget" name="layoutWidget">
  530. <property name="geometry">
  531. <rect>
  532. <x>10</x>
  533. <y>50</y>
  534. <width>161</width>
  535. <height>32</height>
  536. </rect>
  537. </property>
  538. <layout class="QHBoxLayout" name="xLayout">
  539. <property name="spacing">
  540. <number>0</number>
  541. </property>
  542. <item>
  543. <widget class="QCheckBox" name="xCheckBox">
  544. <property name="minimumSize">
  545. <size>
  546. <width>56</width>
  547. <height>30</height>
  548. </size>
  549. </property>
  550. <property name="font">
  551. <font>
  552. <family>宋体</family>
  553. <pointsize>12</pointsize>
  554. </font>
  555. </property>
  556. <property name="text">
  557. <string>X</string>
  558. </property>
  559. </widget>
  560. </item>
  561. <item>
  562. <widget class="JReLineEdit" name="xLineEdit">
  563. <property name="minimumSize">
  564. <size>
  565. <width>0</width>
  566. <height>30</height>
  567. </size>
  568. </property>
  569. <property name="font">
  570. <font>
  571. <family>宋体</family>
  572. <pointsize>12</pointsize>
  573. </font>
  574. </property>
  575. <property name="text">
  576. <string>0</string>
  577. </property>
  578. <property name="alignment">
  579. <set>Qt::AlignCenter</set>
  580. </property>
  581. </widget>
  582. </item>
  583. </layout>
  584. </widget>
  585. <widget class="QWidget" name="layoutWidget">
  586. <property name="geometry">
  587. <rect>
  588. <x>10</x>
  589. <y>90</y>
  590. <width>161</width>
  591. <height>32</height>
  592. </rect>
  593. </property>
  594. <layout class="QHBoxLayout" name="yLayout">
  595. <property name="spacing">
  596. <number>0</number>
  597. </property>
  598. <item>
  599. <widget class="QCheckBox" name="yCheckBox">
  600. <property name="minimumSize">
  601. <size>
  602. <width>56</width>
  603. <height>30</height>
  604. </size>
  605. </property>
  606. <property name="font">
  607. <font>
  608. <family>宋体</family>
  609. <pointsize>12</pointsize>
  610. </font>
  611. </property>
  612. <property name="text">
  613. <string>Y</string>
  614. </property>
  615. </widget>
  616. </item>
  617. <item>
  618. <widget class="JReLineEdit" name="yLineEdit">
  619. <property name="minimumSize">
  620. <size>
  621. <width>0</width>
  622. <height>30</height>
  623. </size>
  624. </property>
  625. <property name="font">
  626. <font>
  627. <family>宋体</family>
  628. <pointsize>12</pointsize>
  629. </font>
  630. </property>
  631. <property name="text">
  632. <string>0</string>
  633. </property>
  634. <property name="alignment">
  635. <set>Qt::AlignCenter</set>
  636. </property>
  637. </widget>
  638. </item>
  639. </layout>
  640. </widget>
  641. <widget class="QWidget" name="layoutWidget">
  642. <property name="geometry">
  643. <rect>
  644. <x>190</x>
  645. <y>10</y>
  646. <width>141</width>
  647. <height>32</height>
  648. </rect>
  649. </property>
  650. <layout class="QHBoxLayout" name="zLayout">
  651. <property name="spacing">
  652. <number>0</number>
  653. </property>
  654. <item>
  655. <widget class="QCheckBox" name="zCheckBox">
  656. <property name="minimumSize">
  657. <size>
  658. <width>56</width>
  659. <height>30</height>
  660. </size>
  661. </property>
  662. <property name="font">
  663. <font>
  664. <family>宋体</family>
  665. <pointsize>12</pointsize>
  666. </font>
  667. </property>
  668. <property name="text">
  669. <string>z</string>
  670. </property>
  671. </widget>
  672. </item>
  673. <item>
  674. <widget class="JReLineEdit" name="zLineEdit">
  675. <property name="minimumSize">
  676. <size>
  677. <width>0</width>
  678. <height>30</height>
  679. </size>
  680. </property>
  681. <property name="font">
  682. <font>
  683. <family>宋体</family>
  684. <pointsize>12</pointsize>
  685. </font>
  686. </property>
  687. <property name="text">
  688. <string>0</string>
  689. </property>
  690. <property name="alignment">
  691. <set>Qt::AlignCenter</set>
  692. </property>
  693. </widget>
  694. </item>
  695. </layout>
  696. </widget>
  697. <widget class="QWidget" name="layoutWidget">
  698. <property name="geometry">
  699. <rect>
  700. <x>190</x>
  701. <y>50</y>
  702. <width>141</width>
  703. <height>32</height>
  704. </rect>
  705. </property>
  706. <layout class="QHBoxLayout" name="rLayout">
  707. <property name="spacing">
  708. <number>0</number>
  709. </property>
  710. <item>
  711. <widget class="QCheckBox" name="rCheckBox">
  712. <property name="minimumSize">
  713. <size>
  714. <width>56</width>
  715. <height>30</height>
  716. </size>
  717. </property>
  718. <property name="font">
  719. <font>
  720. <family>宋体</family>
  721. <pointsize>12</pointsize>
  722. </font>
  723. </property>
  724. <property name="text">
  725. <string>R</string>
  726. </property>
  727. </widget>
  728. </item>
  729. <item>
  730. <widget class="JReLineEdit" name="rLineEdit">
  731. <property name="minimumSize">
  732. <size>
  733. <width>0</width>
  734. <height>30</height>
  735. </size>
  736. </property>
  737. <property name="font">
  738. <font>
  739. <family>宋体</family>
  740. <pointsize>12</pointsize>
  741. </font>
  742. </property>
  743. <property name="text">
  744. <string>0</string>
  745. </property>
  746. <property name="alignment">
  747. <set>Qt::AlignCenter</set>
  748. </property>
  749. </widget>
  750. </item>
  751. </layout>
  752. </widget>
  753. </widget>
  754. </widget>
  755. </widget>
  756. </widget>
  757. <customwidgets>
  758. <customwidget>
  759. <class>JoystickPage</class>
  760. <extends>QWidget</extends>
  761. <header location="global">Src/RewriteControl/JoystickPage.h</header>
  762. <container>1</container>
  763. </customwidget>
  764. <customwidget>
  765. <class>JReLineEdit</class>
  766. <extends>QLineEdit</extends>
  767. <header>Controls/jrelineedit.h</header>
  768. </customwidget>
  769. </customwidgets>
  770. <resources/>
  771. <connections/>
  772. </ui>