|
@@ -0,0 +1,113 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<ui version="4.0">
|
|
|
+ <class>ctkHostAppExampleWidget</class>
|
|
|
+ <widget class="QDockWidget" name="ctkHostAppExampleWidget">
|
|
|
+ <property name="geometry">
|
|
|
+ <rect>
|
|
|
+ <x>0</x>
|
|
|
+ <y>0</y>
|
|
|
+ <width>386</width>
|
|
|
+ <height>70</height>
|
|
|
+ </rect>
|
|
|
+ </property>
|
|
|
+ <property name="features">
|
|
|
+ <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
|
|
|
+ </property>
|
|
|
+ <property name="allowedAreas">
|
|
|
+ <set>Qt::BottomDockWidgetArea|Qt::TopDockWidgetArea</set>
|
|
|
+ </property>
|
|
|
+ <property name="windowTitle">
|
|
|
+ <string>Host Application Example2</string>
|
|
|
+ </property>
|
|
|
+ <widget class="QWidget" name="dockWidgetContents">
|
|
|
+ <layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
+ <item>
|
|
|
+ <widget class="QPushButton" name="startButton">
|
|
|
+ <property name="text">
|
|
|
+ <string>Start</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QPushButton" name="stopButton">
|
|
|
+ <property name="text">
|
|
|
+ <string>Stop</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <spacer name="horizontalSpacer">
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Qt::Horizontal</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeHint" stdset="0">
|
|
|
+ <size>
|
|
|
+ <width>107</width>
|
|
|
+ <height>20</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QLabel" name="label">
|
|
|
+ <property name="text">
|
|
|
+ <string>Status:</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QLabel" name="label_2">
|
|
|
+ <property name="font">
|
|
|
+ <font>
|
|
|
+ <weight>75</weight>
|
|
|
+ <bold>true</bold>
|
|
|
+ </font>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>IDLE</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </widget>
|
|
|
+ <resources/>
|
|
|
+ <connections>
|
|
|
+ <connection>
|
|
|
+ <sender>startButton</sender>
|
|
|
+ <signal>clicked()</signal>
|
|
|
+ <receiver>ctkHostAppExampleWidget</receiver>
|
|
|
+ <slot>startButtonClicked()</slot>
|
|
|
+ <hints>
|
|
|
+ <hint type="sourcelabel">
|
|
|
+ <x>53</x>
|
|
|
+ <y>57</y>
|
|
|
+ </hint>
|
|
|
+ <hint type="destinationlabel">
|
|
|
+ <x>269</x>
|
|
|
+ <y>26</y>
|
|
|
+ </hint>
|
|
|
+ </hints>
|
|
|
+ </connection>
|
|
|
+ <connection>
|
|
|
+ <sender>stopButton</sender>
|
|
|
+ <signal>clicked()</signal>
|
|
|
+ <receiver>ctkHostAppExampleWidget</receiver>
|
|
|
+ <slot>stopButtonClicked()</slot>
|
|
|
+ <hints>
|
|
|
+ <hint type="sourcelabel">
|
|
|
+ <x>146</x>
|
|
|
+ <y>48</y>
|
|
|
+ </hint>
|
|
|
+ <hint type="destinationlabel">
|
|
|
+ <x>238</x>
|
|
|
+ <y>52</y>
|
|
|
+ </hint>
|
|
|
+ </hints>
|
|
|
+ </connection>
|
|
|
+ </connections>
|
|
|
+ <slots>
|
|
|
+ <slot>startButtonClicked()</slot>
|
|
|
+ <slot>stopButtonClicked()</slot>
|
|
|
+ </slots>
|
|
|
+</ui>
|