ctkHostAppExampleWidget.ui 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  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>593</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="runButton">
  69. <property name="text">
  70. <string>Run</string>
  71. </property>
  72. </widget>
  73. </item>
  74. <item>
  75. <widget class="QPushButton" name="stopButton">
  76. <property name="text">
  77. <string>Stop</string>
  78. </property>
  79. </widget>
  80. </item>
  81. <item>
  82. <widget class="QLabel" name="label">
  83. <property name="text">
  84. <string>Plugin Status:</string>
  85. </property>
  86. </widget>
  87. </item>
  88. <item>
  89. <widget class="QLabel" name="statusLabel">
  90. <property name="font">
  91. <font>
  92. <weight>75</weight>
  93. <bold>true</bold>
  94. </font>
  95. </property>
  96. <property name="text">
  97. <string>-</string>
  98. </property>
  99. </widget>
  100. </item>
  101. <item>
  102. <widget class="QLabel" name="label_3">
  103. <property name="text">
  104. <string>Process Status:</string>
  105. </property>
  106. </widget>
  107. </item>
  108. <item>
  109. <widget class="QLabel" name="processStateLabel">
  110. <property name="font">
  111. <font>
  112. <weight>75</weight>
  113. <bold>true</bold>
  114. </font>
  115. </property>
  116. <property name="text">
  117. <string>Not running</string>
  118. </property>
  119. </widget>
  120. </item>
  121. <item>
  122. <spacer name="horizontalSpacer">
  123. <property name="orientation">
  124. <enum>Qt::Horizontal</enum>
  125. </property>
  126. <property name="sizeHint" stdset="0">
  127. <size>
  128. <width>107</width>
  129. <height>20</height>
  130. </size>
  131. </property>
  132. </spacer>
  133. </item>
  134. </layout>
  135. </item>
  136. <item>
  137. <widget class="Line" name="line">
  138. <property name="orientation">
  139. <enum>Qt::Horizontal</enum>
  140. </property>
  141. </widget>
  142. </item>
  143. <item>
  144. <layout class="QHBoxLayout" name="horizontalLayout">
  145. <item>
  146. <widget class="QCheckBox" name="checkBox">
  147. <property name="text">
  148. <string>Show Messages</string>
  149. </property>
  150. <property name="checked">
  151. <bool>false</bool>
  152. </property>
  153. </widget>
  154. </item>
  155. <item>
  156. <spacer name="horizontalSpacer_2">
  157. <property name="orientation">
  158. <enum>Qt::Horizontal</enum>
  159. </property>
  160. <property name="sizeHint" stdset="0">
  161. <size>
  162. <width>107</width>
  163. <height>20</height>
  164. </size>
  165. </property>
  166. </spacer>
  167. </item>
  168. </layout>
  169. </item>
  170. <item>
  171. <widget class="QTextEdit" name="messageOutput">
  172. <property name="sizePolicy">
  173. <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
  174. <horstretch>0</horstretch>
  175. <verstretch>0</verstretch>
  176. </sizepolicy>
  177. </property>
  178. <property name="font">
  179. <font>
  180. <weight>75</weight>
  181. <bold>true</bold>
  182. </font>
  183. </property>
  184. </widget>
  185. </item>
  186. <item>
  187. <widget class="ctkHostedAppPlaceholderWidget" name="placeholderFrame">
  188. <property name="sizePolicy">
  189. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  190. <horstretch>0</horstretch>
  191. <verstretch>1</verstretch>
  192. </sizepolicy>
  193. </property>
  194. <property name="frameShape">
  195. <enum>QFrame::StyledPanel</enum>
  196. </property>
  197. <property name="frameShadow">
  198. <enum>QFrame::Raised</enum>
  199. </property>
  200. <layout class="QHBoxLayout" name="horizontalLayout_4">
  201. <item>
  202. <spacer name="horizontalSpacer_4">
  203. <property name="orientation">
  204. <enum>Qt::Horizontal</enum>
  205. </property>
  206. <property name="sizeHint" stdset="0">
  207. <size>
  208. <width>40</width>
  209. <height>20</height>
  210. </size>
  211. </property>
  212. </spacer>
  213. </item>
  214. <item>
  215. <widget class="QLabel" name="crashLabel">
  216. <property name="sizePolicy">
  217. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  218. <horstretch>0</horstretch>
  219. <verstretch>0</verstretch>
  220. </sizepolicy>
  221. </property>
  222. <property name="text">
  223. <string/>
  224. </property>
  225. <property name="pixmap">
  226. <pixmap>crash.jpg</pixmap>
  227. </property>
  228. <property name="scaledContents">
  229. <bool>false</bool>
  230. </property>
  231. </widget>
  232. </item>
  233. <item>
  234. <spacer name="horizontalSpacer_5">
  235. <property name="orientation">
  236. <enum>Qt::Horizontal</enum>
  237. </property>
  238. <property name="sizeHint" stdset="0">
  239. <size>
  240. <width>40</width>
  241. <height>20</height>
  242. </size>
  243. </property>
  244. </spacer>
  245. </item>
  246. </layout>
  247. </widget>
  248. </item>
  249. </layout>
  250. </widget>
  251. <customwidgets>
  252. <customwidget>
  253. <class>ctkHostedAppPlaceholderWidget</class>
  254. <extends>QFrame</extends>
  255. <header>ctkHostedAppPlaceholderWidget.h</header>
  256. <container>1</container>
  257. </customwidget>
  258. </customwidgets>
  259. <resources/>
  260. <connections>
  261. <connection>
  262. <sender>startButton</sender>
  263. <signal>clicked()</signal>
  264. <receiver>ctkHostAppExampleWidget</receiver>
  265. <slot>startButtonClicked()</slot>
  266. <hints>
  267. <hint type="sourcelabel">
  268. <x>64</x>
  269. <y>63</y>
  270. </hint>
  271. <hint type="destinationlabel">
  272. <x>269</x>
  273. <y>26</y>
  274. </hint>
  275. </hints>
  276. </connection>
  277. <connection>
  278. <sender>stopButton</sender>
  279. <signal>clicked()</signal>
  280. <receiver>ctkHostAppExampleWidget</receiver>
  281. <slot>stopButtonClicked()</slot>
  282. <hints>
  283. <hint type="sourcelabel">
  284. <x>246</x>
  285. <y>63</y>
  286. </hint>
  287. <hint type="destinationlabel">
  288. <x>238</x>
  289. <y>52</y>
  290. </hint>
  291. </hints>
  292. </connection>
  293. <connection>
  294. <sender>loadButton</sender>
  295. <signal>clicked()</signal>
  296. <receiver>ctkHostAppExampleWidget</receiver>
  297. <slot>loadButtonClicked()</slot>
  298. <hints>
  299. <hint type="sourcelabel">
  300. <x>65</x>
  301. <y>32</y>
  302. </hint>
  303. <hint type="destinationlabel">
  304. <x>87</x>
  305. <y>25</y>
  306. </hint>
  307. </hints>
  308. </connection>
  309. <connection>
  310. <sender>checkBox</sender>
  311. <signal>clicked(bool)</signal>
  312. <receiver>messageOutput</receiver>
  313. <slot>setVisible(bool)</slot>
  314. <hints>
  315. <hint type="sourcelabel">
  316. <x>38</x>
  317. <y>98</y>
  318. </hint>
  319. <hint type="destinationlabel">
  320. <x>151</x>
  321. <y>184</y>
  322. </hint>
  323. </hints>
  324. </connection>
  325. <connection>
  326. <sender>runButton</sender>
  327. <signal>clicked()</signal>
  328. <receiver>ctkHostAppExampleWidget</receiver>
  329. <slot>runButtonClicked()</slot>
  330. <hints>
  331. <hint type="sourcelabel">
  332. <x>122</x>
  333. <y>53</y>
  334. </hint>
  335. <hint type="destinationlabel">
  336. <x>4</x>
  337. <y>538</y>
  338. </hint>
  339. </hints>
  340. </connection>
  341. </connections>
  342. <slots>
  343. <slot>startButtonClicked()</slot>
  344. <slot>stopButtonClicked()</slot>
  345. <slot>loadButtonClicked()</slot>
  346. <slot>runButtonClicked()</slot>
  347. </slots>
  348. </ui>