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="runStopCameraBut">
  67. <property name="cursor">
  68. <cursorShape>PointingHandCursor</cursorShape>
  69. </property>
  70. <property name="toolTip">
  71. <string extracomment="关闭相机">Close Camera</string>
  72. </property>
  73. <property name="styleSheet">
  74. <string notr="true">background-image: url(:/images/light/Camera.png);
  75. background-repeat: no-repeat;
  76. background-position: center; /* 可选,使图片居中显示 */
  77. border: none; /* 可选,移除按钮边框 */</string>
  78. </property>
  79. </widget>
  80. </item>
  81. <item>
  82. <widget class="QPushButton" name="ZoomUpButton">
  83. <property name="text">
  84. <string/>
  85. </property>
  86. </widget>
  87. </item>
  88. <item>
  89. <widget class="QPushButton" name="ZoomOutButton">
  90. <property name="text">
  91. <string/>
  92. </property>
  93. </widget>
  94. </item>
  95. <item>
  96. <widget class="QLabel" name="label_Percentage">
  97. <property name="maximumSize">
  98. <size>
  99. <width>16777215</width>
  100. <height>21</height>
  101. </size>
  102. </property>
  103. <property name="layoutDirection">
  104. <enum>Qt::LeftToRight</enum>
  105. </property>
  106. <property name="text">
  107. <string>100%</string>
  108. </property>
  109. <property name="alignment">
  110. <set>Qt::AlignCenter</set>
  111. </property>
  112. </widget>
  113. </item>
  114. <item>
  115. <widget class="QPushButton" name="RulerButton">
  116. <property name="text">
  117. <string/>
  118. </property>
  119. <property name="checkable">
  120. <bool>true</bool>
  121. </property>
  122. </widget>
  123. </item>
  124. <item>
  125. <widget class="QPushButton" name="PenButton">
  126. <property name="text">
  127. <string/>
  128. </property>
  129. <property name="checkable">
  130. <bool>true</bool>
  131. </property>
  132. </widget>
  133. </item>
  134. <item>
  135. <layout class="QHBoxLayout" name="horizontalLayout">
  136. <property name="spacing">
  137. <number>1</number>
  138. </property>
  139. <item>
  140. <widget class="QComboBox" name="moduleTypeComboBox">
  141. <property name="maximumSize">
  142. <size>
  143. <width>16777215</width>
  144. <height>25</height>
  145. </size>
  146. </property>
  147. </widget>
  148. </item>
  149. <item>
  150. <widget class="QComboBox" name="axisTypeComboBox">
  151. <property name="maximumSize">
  152. <size>
  153. <width>16777215</width>
  154. <height>27</height>
  155. </size>
  156. </property>
  157. </widget>
  158. </item>
  159. </layout>
  160. </item>
  161. <item>
  162. <widget class="QPushButton" name="switchJoystickBut">
  163. <property name="maximumSize">
  164. <size>
  165. <width>53</width>
  166. <height>16777215</height>
  167. </size>
  168. </property>
  169. <property name="cursor">
  170. <cursorShape>PointingHandCursor</cursorShape>
  171. </property>
  172. <property name="toolTip">
  173. <string extracomment="打开摇杆页面">Open Joystick page</string>
  174. </property>
  175. <property name="styleSheet">
  176. <string notr="true">background-image: url(:/images/light/control.png);
  177. background-repeat: no-repeat;
  178. background-position: center; /* 可选,使图片居中显示 */
  179. border: none; /* 可选,移除按钮边框 */</string>
  180. </property>
  181. <property name="text">
  182. <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>