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/kdeform1.ui

336 lines
12 KiB

<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>Form1</class>
<comment>Python:#import all necessary widgets
Python:from kfile import KURLRequester</comment>
<widget class="QDialog">
<property name="name">
<cstring>Form1</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>497</width>
<height>485</height>
</rect>
</property>
<property name="caption">
<string>Form1</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="KLed" row="0" column="0">
<property name="name">
<cstring>KLed1</cstring>
</property>
</widget>
<widget class="KLed" row="0" column="1">
<property name="name">
<cstring>KLed2</cstring>
</property>
<property name="color">
<color>
<red>255</red>
<green>255</green>
<blue>0</blue>
</color>
</property>
</widget>
<widget class="KLed" row="0" column="2">
<property name="name">
<cstring>KLed3</cstring>
</property>
<property name="color">
<color>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
</widget>
<widget class="KSqueezedTextLabel" row="0" column="3">
<property name="name">
<cstring>KSqueezedTextLabel1</cstring>
</property>
<property name="text">
<string>KSqueezedTextLa...h a lot of text</string>
</property>
</widget>
<spacer row="0" column="4" rowspan="1" colspan="2">
<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>231</width>
<height>0</height>
</size>
</property>
</spacer>
<widget class="QFrame" row="1" column="0" rowspan="1" colspan="6">
<property name="name">
<cstring>Frame3</cstring>
</property>
<property name="frameShape">
<enum>StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>Raised</enum>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="KURLLabel" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>KURLLabel1</cstring>
</property>
<property name="url" stdset="0">
<string>http://KURLLabel.org</string>
</property>
</widget>
<widget class="KURLRequester" row="1" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>KURLRequester1</cstring>
</property>
</widget>
<widget class="KLineEdit" row="2" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>KLineEdit1</cstring>
</property>
<property name="text">
<string>KLineEdit1</string>
</property>
</widget>
<spacer row="3" column="0">
<property name="name">
<cstring>Spacer2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
</spacer>
<widget class="KProgress" row="3" column="1">
<property name="name">
<cstring>KProgress1</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>2</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
<spacer row="3" column="2">
<property name="name">
<cstring>Spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
</spacer>
</grid>
</widget>
<widget class="QGroupBox" row="2" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>GroupBox1</cstring>
</property>
<property name="title">
<string>GroupBox1</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="KHistoryCombo" row="0" column="0">
<property name="name">
<cstring>KHistoryCombo1</cstring>
</property>
<property name="historyItems">
<stringlist>
<string>first, second, last</string>
</stringlist>
</property>
</widget>
<widget class="KDatePicker" row="1" column="0">
<property name="name">
<cstring>KDatePicker1</cstring>
</property>
<property name="date">
<date>
<year>2003</year>
<month>4</month>
<day>22</day>
</date>
</property>
</widget>
</grid>
</widget>
<widget class="QGroupBox" row="3" column="0" rowspan="1" colspan="6">
<property name="name">
<cstring>GroupBox3</cstring>
</property>
<property name="title">
<string>GroupBox3</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="KComboBox" row="0" column="0">
<property name="name">
<cstring>KComboBox1</cstring>
</property>
<property name="contextMenuEnabled">
<bool>false</bool>
</property>
<property name="urlDropsEnabled" stdset="0">
<bool>false</bool>
</property>
</widget>
<widget class="KIntSpinBox" row="0" column="1">
<property name="name">
<cstring>KIntSpinBox1</cstring>
</property>
<property name="value">
<number>7</number>
</property>
</widget>
<widget class="KFontCombo" row="0" column="2">
<property name="name">
<cstring>KFontCombo2</cstring>
</property>
</widget>
</grid>
</widget>
<widget class="QGroupBox" row="2" column="4" rowspan="1" colspan="2">
<property name="name">
<cstring>GroupBox4</cstring>
</property>
<property name="title">
<string>GroupBox4</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="KListView" row="0" column="0">
<property name="name">
<cstring>KListView1</cstring>
</property>
</widget>
</grid>
</widget>
<widget class="QPushButton" row="5" column="5">
<property name="name">
<cstring>PushButton1</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Close</string>
</property>
<property name="on">
<bool>false</bool>
</property>
</widget>
<spacer row="5" column="0" rowspan="1" colspan="5">
<property name="name">
<cstring>Spacer5</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>372</width>
<height>0</height>
</size>
</property>
</spacer>
</grid>
</widget>
<connections>
<connection>
<sender>PushButton1</sender>
<signal>clicked()</signal>
<receiver>Form1</receiver>
<slot>PushButton1_clicked()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">kdeform1.ui.h</include>
</includes>
<slots>
<slot>PushButton1_clicked()</slot>
</slots>
<layoutdefaults spacing="6" margin="6"/>
</UI>