<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>PrintOptionsPage</class> <widget class="QWidget" name="PrintOptionsPage"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>511</width> <height>252</height> </rect> </property> <property name="windowTitle"> <string>Image Settings</string> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QGroupBox" name="groupBox_2"> <property name="title"> <string>Image Position</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QFrame" name="mPositionFrame"/> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </widget> </item> <item row="0" column="1"> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Scaling</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QRadioButton" name="mNoScale"> <property name="text"> <string>&No scaling</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QRadioButton" name="mScaleToPage"> <property name="text"> <string>&Fit image to page</string> </property> <property name="checked"> <bool>false</bool> </property> </widget> </item> <item> <layout class="QHBoxLayout"> <property name="spacing"> <number>6</number> </property> <property name="margin"> <number>0</number> </property> <item> <spacer> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::Fixed</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QCheckBox" name="kcfg_PrintEnlargeSmallerImages"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>Enlarge smaller images</string> </property> </widget> </item> <item> <spacer> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>24</width> <height>21</height> </size> </property> </spacer> </item> </layout> </item> <item> <widget class="QRadioButton" name="mScaleTo"> <property name="text"> <string>&Scale to:</string> </property> </widget> </item> <item> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <spacer> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::Fixed</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>20</height> </size> </property> </spacer> </item> <item row="0" column="1"> <widget class="QDoubleSpinBox" name="kcfg_PrintWidth"> <property name="enabled"> <bool>false</bool> </property> <property name="value"> <double>15.000000000000000</double> </property> </widget> </item> <item row="0" column="2"> <widget class="QLabel" name="textLabel2"> <property name="text"> <string comment="Dimension separator, as in: '15 x 10 centimeters'">x</string> </property> <property name="wordWrap"> <bool>false</bool> </property> </widget> </item> <item row="0" column="3"> <widget class="QDoubleSpinBox" name="kcfg_PrintHeight"> <property name="enabled"> <bool>false</bool> </property> <property name="value"> <double>10.000000000000000</double> </property> </widget> </item> <item row="0" column="4"> <widget class="QComboBox" name="kcfg_PrintUnit"> <property name="enabled"> <bool>false</bool> </property> <property name="currentIndex"> <number>1</number> </property> <item> <property name="text"> <string>Millimeters</string> </property> </item> <item> <property name="text"> <string>Centimeters</string> </property> </item> <item> <property name="text"> <string>Inches</string> </property> </item> </widget> </item> <item row="0" column="5"> <spacer> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>24</width> <height>20</height> </size> </property> </spacer> </item> <item row="1" column="1" colspan="5"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QCheckBox" name="kcfg_PrintKeepRatio"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>Keep ratio</string> </property> <property name="checked"> <bool>true</bool> </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> </layout> </item> </layout> </widget> </item> <item row="1" column="0" colspan="2"> <spacer> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>16</height> </size> </property> </spacer> </item> </layout> </widget> <resources/> <connections> <connection> <sender>mScaleTo</sender> <signal>toggled(bool)</signal> <receiver>kcfg_PrintUnit</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>20</x> <y>20</y> </hint> <hint type="destinationlabel"> <x>20</x> <y>20</y> </hint> </hints> </connection> <connection> <sender>mScaleTo</sender> <signal>toggled(bool)</signal> <receiver>kcfg_PrintKeepRatio</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>20</x> <y>20</y> </hint> <hint type="destinationlabel"> <x>20</x> <y>20</y> </hint> </hints> </connection> <connection> <sender>mScaleToPage</sender> <signal>toggled(bool)</signal> <receiver>kcfg_PrintEnlargeSmallerImages</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>20</x> <y>20</y> </hint> <hint type="destinationlabel"> <x>20</x> <y>20</y> </hint> </hints> </connection> <connection> <sender>mScaleTo</sender> <signal>toggled(bool)</signal> <receiver>kcfg_PrintWidth</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>20</x> <y>20</y> </hint> <hint type="destinationlabel"> <x>20</x> <y>20</y> </hint> </hints> </connection> <connection> <sender>mScaleTo</sender> <signal>toggled(bool)</signal> <receiver>kcfg_PrintHeight</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>20</x> <y>20</y> </hint> <hint type="destinationlabel"> <x>20</x> <y>20</y> </hint> </hints> </connection> </connections> </ui>