summaryrefslogtreecommitdiffstats
path: root/python/pykde/examples/qxembedexample.ui
diff options
context:
space:
mode:
Diffstat (limited to 'python/pykde/examples/qxembedexample.ui')
-rw-r--r--python/pykde/examples/qxembedexample.ui150
1 files changed, 150 insertions, 0 deletions
diff --git a/python/pykde/examples/qxembedexample.ui b/python/pykde/examples/qxembedexample.ui
new file mode 100644
index 00000000..d3465162
--- /dev/null
+++ b/python/pykde/examples/qxembedexample.ui
@@ -0,0 +1,150 @@
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
+<class>QXEmbedExample</class>
+<widget class="QWidget">
+ <property name="name">
+ <cstring>QXEmbedExample</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>471</width>
+ <height>499</height>
+ </rect>
+ </property>
+ <property name="caption">
+ <string>QXEmbed Example</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout2</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="KComboBox">
+ <item>
+ <property name="text">
+ <string>kcalc</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>konqueror</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>kedit</string>
+ </property>
+ </item>
+ <property name="name">
+ <cstring>appNameCombo</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
+ <widget class="KPushButton">
+ <property name="name">
+ <cstring>launchButton</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Launch and Embed</string>
+ </property>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer1</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>209</width>
+ <height>31</height>
+ </size>
+ </property>
+ </spacer>
+ </hbox>
+ </widget>
+ <widget class="Line">
+ <property name="name">
+ <cstring>line1</cstring>
+ </property>
+ <property name="frameShape">
+ <enum>HLine</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>Sunken</enum>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ </widget>
+ <widget class="QTabWidget">
+ <property name="name">
+ <cstring>mainTabs</cstring>
+ </property>
+ <widget class="QWidget">
+ <property name="name">
+ <cstring>tab</cstring>
+ </property>
+ <attribute name="title">
+ <string>Help</string>
+ </attribute>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1</cstring>
+ </property>
+ <property name="text">
+ <string>&lt;b&gt;QXEmbed Example&lt;/b&gt;
+&lt;br&gt;&lt;br&gt;
+
+Select one of the app names from the combo list, then launch it with the button. Two seconds after launch, the window for the new process will get added as a new tab.</string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ </widget>
+ </vbox>
+</widget>
+<connections>
+ <connection>
+ <sender>launchButton</sender>
+ <signal>clicked()</signal>
+ <receiver>QXEmbedExample</receiver>
+ <slot>launchApp()</slot>
+ </connection>
+</connections>
+<slots>
+ <slot>launchApp()</slot>
+</slots>
+<layoutdefaults spacing="6" margin="11"/>
+</UI>