1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <class>SnapshotDialog
</class>
4 <widget class=
"QDialog" name=
"SnapshotDialog">
5 <property name=
"geometry">
13 <property name=
"windowTitle">
14 <string>Snapshot
</string>
16 <property name=
"windowIcon">
17 <iconset resource=
"landscape_editor.qrc">
18 <normaloff>:/icons/ic_snapshot.png
</normaloff>:/icons/ic_snapshot.png
</iconset>
20 <layout class=
"QGridLayout" name=
"gridLayout_2">
21 <item row=
"0" column=
"0">
22 <layout class=
"QHBoxLayout" name=
"horizontalLayout">
24 <widget class=
"QRadioButton" name=
"originalSizeRadioButton">
25 <property name=
"text">
26 <string>Original size
</string>
28 <property name=
"checked">
34 <widget class=
"QSpinBox" name=
"resSpinBox">
35 <property name=
"maximum">
38 <property name=
"value">
45 <item row=
"1" column=
"0">
46 <widget class=
"QRadioButton" name=
"customSizeRadioButton">
47 <property name=
"enabled">
50 <property name=
"text">
51 <string>Custom size
</string>
55 <item row=
"2" column=
"0">
56 <widget class=
"QGroupBox" name=
"groupBox">
57 <property name=
"enabled">
60 <property name=
"title">
63 <layout class=
"QGridLayout" name=
"gridLayout">
64 <item row=
"0" column=
"1">
65 <widget class=
"QSpinBox" name=
"widthSpinBox">
66 <property name=
"maximum">
67 <number>99999</number>
69 <property name=
"value">
74 <item row=
"1" column=
"0">
75 <widget class=
"QLabel" name=
"label_2">
76 <property name=
"enabled">
79 <property name=
"text">
80 <string>Height:
</string>
82 <property name=
"buddy">
83 <cstring>heightSpinBox
</cstring>
87 <item row=
"1" column=
"1">
88 <widget class=
"QSpinBox" name=
"heightSpinBox">
89 <property name=
"enabled">
92 <property name=
"maximum">
93 <number>99999</number>
95 <property name=
"value">
100 <item row=
"0" column=
"0">
101 <widget class=
"QLabel" name=
"label">
102 <property name=
"text">
103 <string>Width:
</string>
105 <property name=
"buddy">
106 <cstring>widthSpinBox
</cstring>
110 <item row=
"2" column=
"0" colspan=
"2">
111 <widget class=
"QCheckBox" name=
"keepRatioCheckBox">
112 <property name=
"text">
113 <string>Keep bitmap ratio
</string>
115 <property name=
"checked">
123 <item row=
"3" column=
"0">
124 <widget class=
"QDialogButtonBox" name=
"buttonBox">
125 <property name=
"orientation">
126 <enum>Qt::Horizontal
</enum>
128 <property name=
"standardButtons">
129 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok
</set>
136 <tabstop>originalSizeRadioButton
</tabstop>
137 <tabstop>customSizeRadioButton
</tabstop>
138 <tabstop>widthSpinBox
</tabstop>
139 <tabstop>heightSpinBox
</tabstop>
140 <tabstop>keepRatioCheckBox
</tabstop>
141 <tabstop>buttonBox
</tabstop>
144 <include location=
"landscape_editor.qrc"/>
148 <sender>buttonBox
</sender>
149 <signal>accepted()
</signal>
150 <receiver>SnapshotDialog
</receiver>
151 <slot>accept()
</slot>
153 <hint type=
"sourcelabel">
157 <hint type=
"destinationlabel">
164 <sender>buttonBox
</sender>
165 <signal>rejected()
</signal>
166 <receiver>SnapshotDialog
</receiver>
167 <slot>reject()
</slot>
169 <hint type=
"sourcelabel">
173 <hint type=
"destinationlabel">
180 <sender>customSizeRadioButton
</sender>
181 <signal>toggled(bool)
</signal>
182 <receiver>groupBox
</receiver>
183 <slot>setEnabled(bool)
</slot>
185 <hint type=
"sourcelabel">
189 <hint type=
"destinationlabel">
196 <sender>keepRatioCheckBox
</sender>
197 <signal>toggled(bool)
</signal>
198 <receiver>heightSpinBox
</receiver>
199 <slot>setDisabled(bool)
</slot>
201 <hint type=
"sourcelabel">
205 <hint type=
"destinationlabel">
212 <sender>keepRatioCheckBox
</sender>
213 <signal>toggled(bool)
</signal>
214 <receiver>label_2
</receiver>
215 <slot>setDisabled(bool)
</slot>
217 <hint type=
"sourcelabel">
221 <hint type=
"destinationlabel">