ctkHostAppExampleWidget.ui 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  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="QGridLayout" name="gridLayout">
  20. <item row="0" column="0">
  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 row="1" column="0">
  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 row="2" column="0">
  137. <layout class="QHBoxLayout" name="horizontalLayout_5">
  138. <item>
  139. <widget class="QPushButton" name="SuspendButton">
  140. <property name="text">
  141. <string>Suspend</string>
  142. </property>
  143. </widget>
  144. </item>
  145. <item>
  146. <widget class="QPushButton" name="CancelButton">
  147. <property name="text">
  148. <string>Cancel</string>
  149. </property>
  150. </widget>
  151. </item>
  152. <item>
  153. <spacer name="horizontalSpacer_6">
  154. <property name="orientation">
  155. <enum>Qt::Horizontal</enum>
  156. </property>
  157. <property name="sizeHint" stdset="0">
  158. <size>
  159. <width>40</width>
  160. <height>20</height>
  161. </size>
  162. </property>
  163. </spacer>
  164. </item>
  165. </layout>
  166. </item>
  167. <item row="3" column="0">
  168. <widget class="Line" name="line">
  169. <property name="orientation">
  170. <enum>Qt::Horizontal</enum>
  171. </property>
  172. </widget>
  173. </item>
  174. <item row="4" column="0">
  175. <layout class="QHBoxLayout" name="horizontalLayout">
  176. <item>
  177. <widget class="QCheckBox" name="checkBox">
  178. <property name="text">
  179. <string>Show Messages</string>
  180. </property>
  181. <property name="checked">
  182. <bool>true</bool>
  183. </property>
  184. </widget>
  185. </item>
  186. <item>
  187. <spacer name="horizontalSpacer_2">
  188. <property name="orientation">
  189. <enum>Qt::Horizontal</enum>
  190. </property>
  191. <property name="sizeHint" stdset="0">
  192. <size>
  193. <width>107</width>
  194. <height>20</height>
  195. </size>
  196. </property>
  197. </spacer>
  198. </item>
  199. </layout>
  200. </item>
  201. <item row="5" column="0">
  202. <widget class="QTextEdit" name="messageOutput">
  203. <property name="sizePolicy">
  204. <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
  205. <horstretch>0</horstretch>
  206. <verstretch>0</verstretch>
  207. </sizepolicy>
  208. </property>
  209. <property name="font">
  210. <font>
  211. <weight>75</weight>
  212. <bold>true</bold>
  213. </font>
  214. </property>
  215. </widget>
  216. </item>
  217. <item row="6" column="0">
  218. <widget class="ctkHostedAppPlaceholderWidget" name="placeholderFrame">
  219. <property name="sizePolicy">
  220. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  221. <horstretch>0</horstretch>
  222. <verstretch>1</verstretch>
  223. </sizepolicy>
  224. </property>
  225. <property name="frameShape">
  226. <enum>QFrame::StyledPanel</enum>
  227. </property>
  228. <property name="frameShadow">
  229. <enum>QFrame::Raised</enum>
  230. </property>
  231. <layout class="QHBoxLayout" name="horizontalLayout_4">
  232. <item>
  233. <spacer name="horizontalSpacer_4">
  234. <property name="orientation">
  235. <enum>Qt::Horizontal</enum>
  236. </property>
  237. <property name="sizeHint" stdset="0">
  238. <size>
  239. <width>40</width>
  240. <height>20</height>
  241. </size>
  242. </property>
  243. </spacer>
  244. </item>
  245. <item>
  246. <widget class="QLabel" name="crashLabel">
  247. <property name="sizePolicy">
  248. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  249. <horstretch>0</horstretch>
  250. <verstretch>0</verstretch>
  251. </sizepolicy>
  252. </property>
  253. <property name="text">
  254. <string/>
  255. </property>
  256. <property name="pixmap">
  257. <pixmap>crash.jpg</pixmap>
  258. </property>
  259. <property name="scaledContents">
  260. <bool>false</bool>
  261. </property>
  262. </widget>
  263. </item>
  264. <item>
  265. <spacer name="horizontalSpacer_5">
  266. <property name="orientation">
  267. <enum>Qt::Horizontal</enum>
  268. </property>
  269. <property name="sizeHint" stdset="0">
  270. <size>
  271. <width>40</width>
  272. <height>20</height>
  273. </size>
  274. </property>
  275. </spacer>
  276. </item>
  277. </layout>
  278. </widget>
  279. </item>
  280. </layout>
  281. </widget>
  282. <customwidgets>
  283. <customwidget>
  284. <class>ctkHostedAppPlaceholderWidget</class>
  285. <extends>QFrame</extends>
  286. <header>ctkHostedAppPlaceholderWidget.h</header>
  287. <container>1</container>
  288. </customwidget>
  289. </customwidgets>
  290. <resources/>
  291. <connections>
  292. <connection>
  293. <sender>startButton</sender>
  294. <signal>clicked()</signal>
  295. <receiver>ctkHostAppExampleWidget</receiver>
  296. <slot>startButtonClicked()</slot>
  297. <hints>
  298. <hint type="sourcelabel">
  299. <x>64</x>
  300. <y>63</y>
  301. </hint>
  302. <hint type="destinationlabel">
  303. <x>269</x>
  304. <y>26</y>
  305. </hint>
  306. </hints>
  307. </connection>
  308. <connection>
  309. <sender>stopButton</sender>
  310. <signal>clicked()</signal>
  311. <receiver>ctkHostAppExampleWidget</receiver>
  312. <slot>stopButtonClicked()</slot>
  313. <hints>
  314. <hint type="sourcelabel">
  315. <x>246</x>
  316. <y>63</y>
  317. </hint>
  318. <hint type="destinationlabel">
  319. <x>238</x>
  320. <y>52</y>
  321. </hint>
  322. </hints>
  323. </connection>
  324. <connection>
  325. <sender>loadButton</sender>
  326. <signal>clicked()</signal>
  327. <receiver>ctkHostAppExampleWidget</receiver>
  328. <slot>loadButtonClicked()</slot>
  329. <hints>
  330. <hint type="sourcelabel">
  331. <x>65</x>
  332. <y>32</y>
  333. </hint>
  334. <hint type="destinationlabel">
  335. <x>87</x>
  336. <y>25</y>
  337. </hint>
  338. </hints>
  339. </connection>
  340. <connection>
  341. <sender>checkBox</sender>
  342. <signal>clicked(bool)</signal>
  343. <receiver>messageOutput</receiver>
  344. <slot>setVisible(bool)</slot>
  345. <hints>
  346. <hint type="sourcelabel">
  347. <x>38</x>
  348. <y>98</y>
  349. </hint>
  350. <hint type="destinationlabel">
  351. <x>151</x>
  352. <y>184</y>
  353. </hint>
  354. </hints>
  355. </connection>
  356. <connection>
  357. <sender>runButton</sender>
  358. <signal>clicked()</signal>
  359. <receiver>ctkHostAppExampleWidget</receiver>
  360. <slot>runButtonClicked()</slot>
  361. <hints>
  362. <hint type="sourcelabel">
  363. <x>122</x>
  364. <y>53</y>
  365. </hint>
  366. <hint type="destinationlabel">
  367. <x>4</x>
  368. <y>538</y>
  369. </hint>
  370. </hints>
  371. </connection>
  372. <connection>
  373. <sender>SuspendButton</sender>
  374. <signal>clicked()</signal>
  375. <receiver>ctkHostAppExampleWidget</receiver>
  376. <slot>suspendButtonClicked()</slot>
  377. <hints>
  378. <hint type="sourcelabel">
  379. <x>47</x>
  380. <y>83</y>
  381. </hint>
  382. <hint type="destinationlabel">
  383. <x>291</x>
  384. <y>296</y>
  385. </hint>
  386. </hints>
  387. </connection>
  388. <connection>
  389. <sender>CancelButton</sender>
  390. <signal>clicked()</signal>
  391. <receiver>ctkHostAppExampleWidget</receiver>
  392. <slot>cancelButtonClicked()</slot>
  393. <hints>
  394. <hint type="sourcelabel">
  395. <x>132</x>
  396. <y>83</y>
  397. </hint>
  398. <hint type="destinationlabel">
  399. <x>291</x>
  400. <y>296</y>
  401. </hint>
  402. </hints>
  403. </connection>
  404. </connections>
  405. <slots>
  406. <slot>startButtonClicked()</slot>
  407. <slot>stopButtonClicked()</slot>
  408. <slot>loadButtonClicked()</slot>
  409. <slot>runButtonClicked()</slot>
  410. <slot>suspendButtonClicked()</slot>
  411. <slot>cancelButtonClicked()</slot>
  412. </slots>
  413. </ui>