ctkHostAppExampleWidget.ui 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ctkHostAppExampleWidget</class>
  4. <widget class="QWidget" name="ctkHostAppExampleWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>583</width>
  10. <height>572</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <layout class="QVBoxLayout" name="verticalLayout">
  20. <item>
  21. <layout class="QHBoxLayout" name="horizontalLayout_3">
  22. <item>
  23. <widget class="QPushButton" name="loadButton">
  24. <property name="text">
  25. <string>Load</string>
  26. </property>
  27. </widget>
  28. </item>
  29. <item>
  30. <widget class="QLabel" name="label_2">
  31. <property name="text">
  32. <string>Application Path:</string>
  33. </property>
  34. </widget>
  35. </item>
  36. <item>
  37. <widget class="QLabel" name="applicationPathLabel">
  38. <property name="text">
  39. <string>None</string>
  40. </property>
  41. </widget>
  42. </item>
  43. <item>
  44. <spacer name="horizontalSpacer_3">
  45. <property name="orientation">
  46. <enum>Qt::Horizontal</enum>
  47. </property>
  48. <property name="sizeHint" stdset="0">
  49. <size>
  50. <width>40</width>
  51. <height>20</height>
  52. </size>
  53. </property>
  54. </spacer>
  55. </item>
  56. </layout>
  57. </item>
  58. <item>
  59. <layout class="QHBoxLayout" name="horizontalLayout_2">
  60. <item>
  61. <widget class="QPushButton" name="startButton">
  62. <property name="text">
  63. <string>Start</string>
  64. </property>
  65. </widget>
  66. </item>
  67. <item>
  68. <widget class="QPushButton" name="stopButton">
  69. <property name="text">
  70. <string>Stop</string>
  71. </property>
  72. </widget>
  73. </item>
  74. <item>
  75. <widget class="QLabel" name="label">
  76. <property name="text">
  77. <string>Status:</string>
  78. </property>
  79. </widget>
  80. </item>
  81. <item>
  82. <widget class="QLabel" name="statusLabel">
  83. <property name="font">
  84. <font>
  85. <weight>75</weight>
  86. <bold>true</bold>
  87. </font>
  88. </property>
  89. <property name="text">
  90. <string>IDLE</string>
  91. </property>
  92. </widget>
  93. </item>
  94. <item>
  95. <spacer name="horizontalSpacer">
  96. <property name="orientation">
  97. <enum>Qt::Horizontal</enum>
  98. </property>
  99. <property name="sizeHint" stdset="0">
  100. <size>
  101. <width>107</width>
  102. <height>20</height>
  103. </size>
  104. </property>
  105. </spacer>
  106. </item>
  107. </layout>
  108. </item>
  109. <item>
  110. <widget class="Line" name="line">
  111. <property name="orientation">
  112. <enum>Qt::Horizontal</enum>
  113. </property>
  114. </widget>
  115. </item>
  116. <item>
  117. <layout class="QHBoxLayout" name="horizontalLayout">
  118. <item>
  119. <widget class="QCheckBox" name="checkBox">
  120. <property name="text">
  121. <string>Show Messages</string>
  122. </property>
  123. </widget>
  124. </item>
  125. <item>
  126. <spacer name="horizontalSpacer_2">
  127. <property name="orientation">
  128. <enum>Qt::Horizontal</enum>
  129. </property>
  130. <property name="sizeHint" stdset="0">
  131. <size>
  132. <width>107</width>
  133. <height>20</height>
  134. </size>
  135. </property>
  136. </spacer>
  137. </item>
  138. </layout>
  139. </item>
  140. <item>
  141. <widget class="QTextEdit" name="messageOutput">
  142. <property name="sizePolicy">
  143. <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
  144. <horstretch>0</horstretch>
  145. <verstretch>0</verstretch>
  146. </sizepolicy>
  147. </property>
  148. </widget>
  149. </item>
  150. <item>
  151. <widget class="QFrame" name="placeholderFrame">
  152. <property name="sizePolicy">
  153. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  154. <horstretch>0</horstretch>
  155. <verstretch>1</verstretch>
  156. </sizepolicy>
  157. </property>
  158. <property name="frameShape">
  159. <enum>QFrame::StyledPanel</enum>
  160. </property>
  161. <property name="frameShadow">
  162. <enum>QFrame::Raised</enum>
  163. </property>
  164. </widget>
  165. </item>
  166. </layout>
  167. </widget>
  168. <resources/>
  169. <connections>
  170. <connection>
  171. <sender>startButton</sender>
  172. <signal>clicked()</signal>
  173. <receiver>ctkHostAppExampleWidget</receiver>
  174. <slot>startButtonClicked()</slot>
  175. <hints>
  176. <hint type="sourcelabel">
  177. <x>54</x>
  178. <y>70</y>
  179. </hint>
  180. <hint type="destinationlabel">
  181. <x>269</x>
  182. <y>26</y>
  183. </hint>
  184. </hints>
  185. </connection>
  186. <connection>
  187. <sender>stopButton</sender>
  188. <signal>clicked()</signal>
  189. <receiver>ctkHostAppExampleWidget</receiver>
  190. <slot>stopButtonClicked()</slot>
  191. <hints>
  192. <hint type="sourcelabel">
  193. <x>185</x>
  194. <y>70</y>
  195. </hint>
  196. <hint type="destinationlabel">
  197. <x>238</x>
  198. <y>52</y>
  199. </hint>
  200. </hints>
  201. </connection>
  202. <connection>
  203. <sender>loadButton</sender>
  204. <signal>clicked()</signal>
  205. <receiver>ctkHostAppExampleWidget</receiver>
  206. <slot>loadButtonClicked()</slot>
  207. <hints>
  208. <hint type="sourcelabel">
  209. <x>55</x>
  210. <y>35</y>
  211. </hint>
  212. <hint type="destinationlabel">
  213. <x>87</x>
  214. <y>25</y>
  215. </hint>
  216. </hints>
  217. </connection>
  218. <connection>
  219. <sender>checkBox</sender>
  220. <signal>clicked(bool)</signal>
  221. <receiver>messageOutput</receiver>
  222. <slot>setVisible(bool)</slot>
  223. <hints>
  224. <hint type="sourcelabel">
  225. <x>28</x>
  226. <y>123</y>
  227. </hint>
  228. <hint type="destinationlabel">
  229. <x>151</x>
  230. <y>184</y>
  231. </hint>
  232. </hints>
  233. </connection>
  234. </connections>
  235. <slots>
  236. <slot>startButtonClicked()</slot>
  237. <slot>stopButtonClicked()</slot>
  238. <slot>loadButtonClicked()</slot>
  239. </slots>
  240. </ui>