[PATCH] More compact ui.
Aurélien Gâteau
agateau at kde.org
Thu Jun 4 15:22:16 CEST 2009
---
kipi-plugins/printimages/printoptionspage.ui | 243 ++++++++++---------------
1 files changed, 97 insertions(+), 146 deletions(-)
diff --git a/kipi-plugins/printimages/printoptionspage.ui b/kipi-plugins/printimages/printoptionspage.ui
index 63c0924..d499ebf 100644
--- a/kipi-plugins/printimages/printoptionspage.ui
+++ b/kipi-plugins/printimages/printoptionspage.ui
@@ -6,98 +6,120 @@
<rect>
<x>0</x>
<y>0</y>
- <width>562</width>
- <height>418</height>
+ <width>622</width>
+ <height>368</height>
</rect>
</property>
<property name="windowTitle">
<string>Image Settings</string>
</property>
- <layout class="QVBoxLayout" name="verticalLayout_6">
- <item>
+ <layout class="QGridLayout" name="gridLayout_2">
+ <item row="0" column="0" rowspan="2">
+ <layout class="QGridLayout" name="gridLayout_3">
+ <item row="0" column="0" colspan="2">
+ <widget class="QGroupBox" name="groupBox_2">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="4" column="0">
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>25</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="mPreview">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="scaledContents">
+ <bool>false</bool>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignCenter</set>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <layout class="QHBoxLayout" name="horizontalLayout_4">
+ <item>
+ <widget class="QPushButton" name="mLeftButton">
+ <property name="text">
+ <string><</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="mRightButton">
+ <property name="text">
+ <string>></string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="2" column="0">
+ <widget class="QCheckBox" name="kcfg_PrintAutoRotate">
+ <property name="text">
+ <string>Auto rotate</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="mGroupPxP">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>Photos per page</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QSpinBox" name="mPhotoXPage">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="minimum">
+ <number>1</number>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="0" column="1">
<widget class="QGroupBox" name="mGroupImage">
<property name="title">
- <string>Image Position</string>
- </property>
- <property name="flat">
- <bool>true</bool>
+ <string>Position</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="QGroupBox" name="groupBox">
- <property name="title">
- <string/>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QFrame" name="mPositionFrame">
- <zorder>mGroupScaling</zorder>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="kcfg_PrintAutoRotate">
- <property name="text">
- <string>Auto rotate</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_3">
- <property name="title">
- <string/>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QLabel" name="mPreview">
- <property name="text">
- <string/>
- </property>
- <property name="scaledContents">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <item>
- <widget class="QPushButton" name="mLeftButton">
- <property name="text">
- <string><</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="mRightButton">
- <property name="text">
- <string>></string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
+ <widget class="QFrame" name="mPositionFrame">
+ <zorder>kcfg_PrintAutoRotate</zorder>
</widget>
</item>
<item>
- <spacer name="horizontalSpacer_3">
+ <spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
- <width>297</width>
+ <width>379</width>
<height>20</height>
</size>
</property>
@@ -106,14 +128,11 @@
</layout>
</widget>
</item>
- <item>
+ <item row="1" column="1">
<widget class="QGroupBox" name="mGroupScaling">
<property name="title">
<string>Scaling</string>
</property>
- <property name="flat">
- <bool>true</bool>
- </property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QRadioButton" name="mNoScale">
@@ -325,74 +344,6 @@
</layout>
</widget>
</item>
- <item>
- <widget class="QGroupBox" name="groupBox_2">
- <property name="title">
- <string/>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QCheckBox" name="mGroupPxP">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="text">
- <string>Photos per page</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="mPhotoXPage">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="minimum">
- <number>1</number>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item row="1" column="0">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>25</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
--
1.6.0.4
--------------090303070403000207090408--
More information about the Kde-imaging
mailing list