You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pytde/examples/qxembedexample.ui

151 lines
5.2 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>QXEmbedExample</class>
<widget class="TQWidget">
<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="TQLayoutWidget">
<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="TQTabWidget">
<property name="name">
<cstring>mainTabs</cstring>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>Help</string>
</attribute>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<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>