ctkHostAppExampleWidget.ui 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ctkHostAppExampleWidget</class>
  4. <widget class="QDockWidget" name="ctkHostAppExampleWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>386</width>
  10. <height>70</height>
  11. </rect>
  12. </property>
  13. <property name="features">
  14. <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
  15. </property>
  16. <property name="allowedAreas">
  17. <set>Qt::BottomDockWidgetArea|Qt::TopDockWidgetArea</set>
  18. </property>
  19. <property name="windowTitle">
  20. <string>Host Application Example2</string>
  21. </property>
  22. <widget class="QWidget" name="dockWidgetContents">
  23. <layout class="QHBoxLayout" name="horizontalLayout">
  24. <item>
  25. <widget class="QPushButton" name="startButton">
  26. <property name="text">
  27. <string>Start</string>
  28. </property>
  29. </widget>
  30. </item>
  31. <item>
  32. <widget class="QPushButton" name="stopButton">
  33. <property name="text">
  34. <string>Stop</string>
  35. </property>
  36. </widget>
  37. </item>
  38. <item>
  39. <spacer name="horizontalSpacer">
  40. <property name="orientation">
  41. <enum>Qt::Horizontal</enum>
  42. </property>
  43. <property name="sizeHint" stdset="0">
  44. <size>
  45. <width>107</width>
  46. <height>20</height>
  47. </size>
  48. </property>
  49. </spacer>
  50. </item>
  51. <item>
  52. <widget class="QLabel" name="label">
  53. <property name="text">
  54. <string>Status:</string>
  55. </property>
  56. </widget>
  57. </item>
  58. <item>
  59. <widget class="QLabel" name="label_2">
  60. <property name="font">
  61. <font>
  62. <weight>75</weight>
  63. <bold>true</bold>
  64. </font>
  65. </property>
  66. <property name="text">
  67. <string>IDLE</string>
  68. </property>
  69. </widget>
  70. </item>
  71. </layout>
  72. </widget>
  73. </widget>
  74. <resources/>
  75. <connections>
  76. <connection>
  77. <sender>startButton</sender>
  78. <signal>clicked()</signal>
  79. <receiver>ctkHostAppExampleWidget</receiver>
  80. <slot>startButtonClicked()</slot>
  81. <hints>
  82. <hint type="sourcelabel">
  83. <x>53</x>
  84. <y>57</y>
  85. </hint>
  86. <hint type="destinationlabel">
  87. <x>269</x>
  88. <y>26</y>
  89. </hint>
  90. </hints>
  91. </connection>
  92. <connection>
  93. <sender>stopButton</sender>
  94. <signal>clicked()</signal>
  95. <receiver>ctkHostAppExampleWidget</receiver>
  96. <slot>stopButtonClicked()</slot>
  97. <hints>
  98. <hint type="sourcelabel">
  99. <x>146</x>
  100. <y>48</y>
  101. </hint>
  102. <hint type="destinationlabel">
  103. <x>238</x>
  104. <y>52</y>
  105. </hint>
  106. </hints>
  107. </connection>
  108. </connections>
  109. <slots>
  110. <slot>startButtonClicked()</slot>
  111. <slot>stopButtonClicked()</slot>
  112. </slots>
  113. </ui>