ControlOperationPage.ui 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ControlOperationPage</class>
  4. <widget class="QWidget" name="ControlOperationPage">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>525</width>
  10. <height>599</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <widget class="QPushButton" name="LiveButton">
  17. <property name="geometry">
  18. <rect>
  19. <x>452</x>
  20. <y>10</y>
  21. <width>60</width>
  22. <height>32</height>
  23. </rect>
  24. </property>
  25. <property name="text">
  26. <string>Live</string>
  27. </property>
  28. </widget>
  29. <widget class="QComboBox" name="DataSources">
  30. <property name="geometry">
  31. <rect>
  32. <x>12</x>
  33. <y>10</y>
  34. <width>421</width>
  35. <height>32</height>
  36. </rect>
  37. </property>
  38. </widget>
  39. <widget class="QWidget" name="BackGround" native="true">
  40. <property name="geometry">
  41. <rect>
  42. <x>10</x>
  43. <y>50</y>
  44. <width>501</width>
  45. <height>501</height>
  46. </rect>
  47. </property>
  48. <property name="styleSheet">
  49. <string notr="true">border: 4px solid red;</string>
  50. </property>
  51. </widget>
  52. <widget class="QWidget" name="layoutWidget">
  53. <property name="geometry">
  54. <rect>
  55. <x>10</x>
  56. <y>560</y>
  57. <width>509</width>
  58. <height>31</height>
  59. </rect>
  60. </property>
  61. <layout class="QHBoxLayout" name="horizontalLayout_2">
  62. <property name="spacing">
  63. <number>2</number>
  64. </property>
  65. <item>
  66. <widget class="QPushButton" name="ZoomUpButton">
  67. <property name="text">
  68. <string/>
  69. </property>
  70. </widget>
  71. </item>
  72. <item>
  73. <widget class="QPushButton" name="ZoomOutButton">
  74. <property name="text">
  75. <string/>
  76. </property>
  77. </widget>
  78. </item>
  79. <item>
  80. <widget class="QLabel" name="label_Percentage">
  81. <property name="maximumSize">
  82. <size>
  83. <width>16777215</width>
  84. <height>21</height>
  85. </size>
  86. </property>
  87. <property name="layoutDirection">
  88. <enum>Qt::LeftToRight</enum>
  89. </property>
  90. <property name="text">
  91. <string>100%</string>
  92. </property>
  93. <property name="alignment">
  94. <set>Qt::AlignCenter</set>
  95. </property>
  96. </widget>
  97. </item>
  98. <item>
  99. <widget class="QPushButton" name="RulerButton">
  100. <property name="text">
  101. <string/>
  102. </property>
  103. <property name="checkable">
  104. <bool>true</bool>
  105. </property>
  106. </widget>
  107. </item>
  108. <item>
  109. <widget class="QPushButton" name="PenButton">
  110. <property name="text">
  111. <string/>
  112. </property>
  113. <property name="checkable">
  114. <bool>true</bool>
  115. </property>
  116. </widget>
  117. </item>
  118. <item>
  119. <layout class="QHBoxLayout" name="horizontalLayout">
  120. <property name="spacing">
  121. <number>1</number>
  122. </property>
  123. <item>
  124. <widget class="QComboBox" name="moduleTypeComboBox">
  125. <property name="maximumSize">
  126. <size>
  127. <width>16777215</width>
  128. <height>25</height>
  129. </size>
  130. </property>
  131. </widget>
  132. </item>
  133. <item>
  134. <widget class="QComboBox" name="axisTypeComboBox">
  135. <property name="maximumSize">
  136. <size>
  137. <width>16777215</width>
  138. <height>27</height>
  139. </size>
  140. </property>
  141. </widget>
  142. </item>
  143. </layout>
  144. </item>
  145. <item>
  146. <widget class="QPushButton" name="switchJoystickBut">
  147. <property name="maximumSize">
  148. <size>
  149. <width>53</width>
  150. <height>16777215</height>
  151. </size>
  152. </property>
  153. <property name="cursor">
  154. <cursorShape>PointingHandCursor</cursorShape>
  155. </property>
  156. <property name="toolTip">
  157. <string extracomment="打开摇杆页面">Open Joystick page</string>
  158. </property>
  159. <property name="styleSheet">
  160. <string notr="true">background-image: url(:/images/light/control.png);
  161. background-repeat: no-repeat;
  162. background-position: center; /* 可选,使图片居中显示 */
  163. border: none; /* 可选,移除按钮边框 */</string>
  164. </property>
  165. <property name="text">
  166. <string/>
  167. </property>
  168. </widget>
  169. </item>
  170. <item>
  171. <widget class="QPushButton" name="runStopCameraBut">
  172. <property name="cursor">
  173. <cursorShape>PointingHandCursor</cursorShape>
  174. </property>
  175. <property name="toolTip">
  176. <string extracomment="关闭相机">Close Camera</string>
  177. </property>
  178. <property name="styleSheet">
  179. <string notr="true">background-image: url(:/images/light/Camera.png);
  180. background-repeat: no-repeat;
  181. background-position: center; /* 可选,使图片居中显示 */
  182. border: none; /* 可选,移除按钮边框 */</string>
  183. </property>
  184. </widget>
  185. </item>
  186. </layout>
  187. </widget>
  188. <widget class="ImageWidget" name="Operatewidget" native="true">
  189. <property name="geometry">
  190. <rect>
  191. <x>14</x>
  192. <y>54</y>
  193. <width>493</width>
  194. <height>493</height>
  195. </rect>
  196. </property>
  197. </widget>
  198. </widget>
  199. <customwidgets>
  200. <customwidget>
  201. <class>ImageWidget</class>
  202. <extends>QWidget</extends>
  203. <header>ImageWidget.h</header>
  204. <container>1</container>
  205. </customwidget>
  206. </customwidgets>
  207. <resources/>
  208. <connections/>
  209. </ui>