ctkExampleHostControlWidget.ui 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ctkExampleHostControlWidget</class>
  4. <widget class="QWidget" name="ctkExampleHostControlWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>583</width>
  10. <height>343</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="QLabel" name="label_2">
  24. <property name="text">
  25. <string>Application Path:</string>
  26. </property>
  27. </widget>
  28. </item>
  29. <item>
  30. <widget class="QLabel" name="applicationPathLabel">
  31. <property name="text">
  32. <string>None</string>
  33. </property>
  34. </widget>
  35. </item>
  36. <item>
  37. <spacer name="horizontalSpacer_3">
  38. <property name="orientation">
  39. <enum>Qt::Horizontal</enum>
  40. </property>
  41. <property name="sizeHint" stdset="0">
  42. <size>
  43. <width>40</width>
  44. <height>20</height>
  45. </size>
  46. </property>
  47. </spacer>
  48. </item>
  49. </layout>
  50. </item>
  51. <item row="1" column="0">
  52. <layout class="QHBoxLayout" name="horizontalLayout_2">
  53. <item>
  54. <widget class="QPushButton" name="startButton">
  55. <property name="text">
  56. <string>Start</string>
  57. </property>
  58. </widget>
  59. </item>
  60. <item>
  61. <widget class="QPushButton" name="runButton">
  62. <property name="text">
  63. <string>Run</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>Plugin 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>-</string>
  91. </property>
  92. </widget>
  93. </item>
  94. <item>
  95. <widget class="QLabel" name="label_3">
  96. <property name="text">
  97. <string>Process Status:</string>
  98. </property>
  99. </widget>
  100. </item>
  101. <item>
  102. <widget class="QLabel" name="processStateLabel">
  103. <property name="font">
  104. <font>
  105. <weight>75</weight>
  106. <bold>true</bold>
  107. </font>
  108. </property>
  109. <property name="text">
  110. <string>Not running</string>
  111. </property>
  112. </widget>
  113. </item>
  114. <item>
  115. <spacer name="horizontalSpacer">
  116. <property name="orientation">
  117. <enum>Qt::Horizontal</enum>
  118. </property>
  119. <property name="sizeHint" stdset="0">
  120. <size>
  121. <width>107</width>
  122. <height>20</height>
  123. </size>
  124. </property>
  125. </spacer>
  126. </item>
  127. </layout>
  128. </item>
  129. <item row="2" column="0">
  130. <layout class="QHBoxLayout" name="horizontalLayout_5">
  131. <item>
  132. <widget class="QPushButton" name="SuspendButton">
  133. <property name="text">
  134. <string>Suspend</string>
  135. </property>
  136. </widget>
  137. </item>
  138. <item>
  139. <widget class="QPushButton" name="CancelButton">
  140. <property name="text">
  141. <string>Cancel</string>
  142. </property>
  143. </widget>
  144. </item>
  145. <item>
  146. <spacer name="horizontalSpacer_6">
  147. <property name="orientation">
  148. <enum>Qt::Horizontal</enum>
  149. </property>
  150. <property name="sizeHint" stdset="0">
  151. <size>
  152. <width>40</width>
  153. <height>20</height>
  154. </size>
  155. </property>
  156. </spacer>
  157. </item>
  158. </layout>
  159. </item>
  160. <item row="3" column="0">
  161. <widget class="Line" name="line">
  162. <property name="orientation">
  163. <enum>Qt::Horizontal</enum>
  164. </property>
  165. </widget>
  166. </item>
  167. <item row="4" column="0">
  168. <layout class="QHBoxLayout" name="horizontalLayout">
  169. <item>
  170. <widget class="QCheckBox" name="checkBox">
  171. <property name="text">
  172. <string>Show Messages</string>
  173. </property>
  174. <property name="checked">
  175. <bool>true</bool>
  176. </property>
  177. </widget>
  178. </item>
  179. <item>
  180. <spacer name="horizontalSpacer_2">
  181. <property name="orientation">
  182. <enum>Qt::Horizontal</enum>
  183. </property>
  184. <property name="sizeHint" stdset="0">
  185. <size>
  186. <width>107</width>
  187. <height>20</height>
  188. </size>
  189. </property>
  190. </spacer>
  191. </item>
  192. </layout>
  193. </item>
  194. <item row="5" column="0">
  195. <widget class="QTextEdit" name="messageOutput">
  196. <property name="sizePolicy">
  197. <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
  198. <horstretch>0</horstretch>
  199. <verstretch>0</verstretch>
  200. </sizepolicy>
  201. </property>
  202. <property name="font">
  203. <font>
  204. <weight>75</weight>
  205. <bold>true</bold>
  206. </font>
  207. </property>
  208. </widget>
  209. </item>
  210. <item row="6" column="0">
  211. <spacer name="verticalSpacer">
  212. <property name="orientation">
  213. <enum>Qt::Vertical</enum>
  214. </property>
  215. <property name="sizeHint" stdset="0">
  216. <size>
  217. <width>20</width>
  218. <height>0</height>
  219. </size>
  220. </property>
  221. </spacer>
  222. </item>
  223. </layout>
  224. </widget>
  225. <resources/>
  226. <connections>
  227. <connection>
  228. <sender>startButton</sender>
  229. <signal>clicked()</signal>
  230. <receiver>ctkExampleHostControlWidget</receiver>
  231. <slot>StartApplication()</slot>
  232. <hints>
  233. <hint type="sourcelabel">
  234. <x>64</x>
  235. <y>63</y>
  236. </hint>
  237. <hint type="destinationlabel">
  238. <x>269</x>
  239. <y>26</y>
  240. </hint>
  241. </hints>
  242. </connection>
  243. <connection>
  244. <sender>stopButton</sender>
  245. <signal>clicked()</signal>
  246. <receiver>ctkExampleHostControlWidget</receiver>
  247. <slot>stopButtonClicked()</slot>
  248. <hints>
  249. <hint type="sourcelabel">
  250. <x>246</x>
  251. <y>63</y>
  252. </hint>
  253. <hint type="destinationlabel">
  254. <x>238</x>
  255. <y>52</y>
  256. </hint>
  257. </hints>
  258. </connection>
  259. <connection>
  260. <sender>checkBox</sender>
  261. <signal>clicked(bool)</signal>
  262. <receiver>messageOutput</receiver>
  263. <slot>setVisible(bool)</slot>
  264. <hints>
  265. <hint type="sourcelabel">
  266. <x>38</x>
  267. <y>98</y>
  268. </hint>
  269. <hint type="destinationlabel">
  270. <x>151</x>
  271. <y>184</y>
  272. </hint>
  273. </hints>
  274. </connection>
  275. <connection>
  276. <sender>runButton</sender>
  277. <signal>clicked()</signal>
  278. <receiver>ctkExampleHostControlWidget</receiver>
  279. <slot>runButtonClicked()</slot>
  280. <hints>
  281. <hint type="sourcelabel">
  282. <x>122</x>
  283. <y>53</y>
  284. </hint>
  285. <hint type="destinationlabel">
  286. <x>4</x>
  287. <y>538</y>
  288. </hint>
  289. </hints>
  290. </connection>
  291. <connection>
  292. <sender>SuspendButton</sender>
  293. <signal>clicked()</signal>
  294. <receiver>ctkExampleHostControlWidget</receiver>
  295. <slot>suspendButtonClicked()</slot>
  296. <hints>
  297. <hint type="sourcelabel">
  298. <x>47</x>
  299. <y>83</y>
  300. </hint>
  301. <hint type="destinationlabel">
  302. <x>291</x>
  303. <y>296</y>
  304. </hint>
  305. </hints>
  306. </connection>
  307. <connection>
  308. <sender>CancelButton</sender>
  309. <signal>clicked()</signal>
  310. <receiver>ctkExampleHostControlWidget</receiver>
  311. <slot>cancelButtonClicked()</slot>
  312. <hints>
  313. <hint type="sourcelabel">
  314. <x>132</x>
  315. <y>83</y>
  316. </hint>
  317. <hint type="destinationlabel">
  318. <x>291</x>
  319. <y>296</y>
  320. </hint>
  321. </hints>
  322. </connection>
  323. </connections>
  324. <slots>
  325. <slot>StartApplication()</slot>
  326. <slot>stopButtonClicked()</slot>
  327. <slot>loadButtonClicked()</slot>
  328. <slot>runButtonClicked()</slot>
  329. <slot>suspendButtonClicked()</slot>
  330. <slot>cancelButtonClicked()</slot>
  331. </slots>
  332. </ui>