mangle/dev/ui/options.ui
2011-08-28 07:57:22 -07:00

181 lines
4.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DialogOptions</class>
<widget class="QDialog" name="DialogOptions">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>350</width>
<height>350</height>
</rect>
</property>
<property name="windowTitle">
<string>Options</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Book</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Title</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEditTitle"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Export</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Device</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="comboBoxDevice">
<item>
<property name="text">
<string>Kindle 1</string>
</property>
</item>
<item>
<property name="text">
<string>Kindle 2</string>
</property>
</item>
<item>
<property name="text">
<string>Kindle 3</string>
</property>
</item>
<item>
<property name="text">
<string>Kindle DX</string>
</property>
</item>
<item>
<property name="text">
<string>Kindle DXG</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="checkboxOverwrite">
<property name="text">
<string>Overwrite existing files</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkboxOrient">
<property name="text">
<string>Orient images to match aspect ratio</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkboxResize">
<property name="text">
<string>Resize images to center on screen</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkboxQuantize">
<property name="text">
<string>Dither images to match device palette</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkboxFrame">
<property name="text">
<string>Draw frame around images</string>
</property>
</widget>
</item>
</layout>
</widget>
</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>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>DialogOptions</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>DialogOptions</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>