diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e9ae80694875f869892f13f4fcaf1170a00dea41 (patch) | |
tree | aa2f8d8a217e2d376224c8d46b7397b68d35de2d /kommander/examples/tutorial/picview.kmdr | |
download | tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.tar.gz tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/examples/tutorial/picview.kmdr')
-rw-r--r-- | kommander/examples/tutorial/picview.kmdr | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/kommander/examples/tutorial/picview.kmdr b/kommander/examples/tutorial/picview.kmdr new file mode 100644 index 00000000..be75af7b --- /dev/null +++ b/kommander/examples/tutorial/picview.kmdr @@ -0,0 +1,148 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form1</class> +<widget class="Dialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>618</width> + <height>436</height> + </rect> + </property> + <property name="caption"> + <string>Picture viewer</string> + </property> + <property name="sizeGripEnabled"> + <bool>true</bool> + </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="Label" row="0" column="0"> + <property name="name"> + <cstring>Label1</cstring> + </property> + <property name="text"> + <string>Directory:</string> + </property> + </widget> + <widget class="Label" row="1" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>Label2</cstring> + </property> + <property name="text"> + <string>Images:</string> + </property> + </widget> + <widget class="FileSelector" row="0" column="1"> + <property name="name"> + <cstring>FileSelector1</cstring> + </property> + <property name="selectionType"> + <enum>Directory</enum> + </property> + </widget> + <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>Layout2</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="ListBox"> + <property name="name"> + <cstring>ListBox1</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>0</hsizetype> + <vsizetype>7</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>200</width> + <height>0</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>200</width> + <height>32767</height> + </size> + </property> + <property name="populationText"> + <string>@exec(cd @FileSelector1.text && find * -name "*.jpg" -o -name "*.png" -o -name "*.gif" -o -name "*.bmp")</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + </stringlist> + </property> + </widget> + <widget class="PixmapLabel"> + <property name="name"> + <cstring>PixmapLabel1</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>2</hsizetype> + <vsizetype>2</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="frameShape"> + <enum>Box</enum> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + <property name="populationText"> + <string>@FileSelector1.text/@ListBox1.selection</string> + </property> + <property name="associations" stdset="0"> + <stringlist> + <string></string> + </stringlist> + </property> + </widget> + </hbox> + </widget> + </grid> +</widget> +<connections> + <connection> + <sender>FileSelector1</sender> + <signal>widgetTextChanged(const QString&)</signal> + <receiver>ListBox1</receiver> + <slot>populate()</slot> + </connection> + <connection> + <sender>ListBox1</sender> + <signal>highlighted(int)</signal> + <receiver>PixmapLabel1</receiver> + <slot>populate()</slot> + </connection> +</connections> +<layoutdefaults spacing="6" margin="11"/> +</UI> |