New lua versions
[ryzomcore.git] / studio / src / plugins / landscape_editor / shapshot_dialog.ui
blob66f65701253ae6b13a7269469cedd740a7572097
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>SnapshotDialog</class>
4 <widget class="QDialog" name="SnapshotDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>230</width>
10 <height>187</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Snapshot</string>
15 </property>
16 <property name="windowIcon">
17 <iconset resource="landscape_editor.qrc">
18 <normaloff>:/icons/ic_snapshot.png</normaloff>:/icons/ic_snapshot.png</iconset>
19 </property>
20 <layout class="QGridLayout" name="gridLayout_2">
21 <item row="0" column="0">
22 <layout class="QHBoxLayout" name="horizontalLayout">
23 <item>
24 <widget class="QRadioButton" name="originalSizeRadioButton">
25 <property name="text">
26 <string>Original size</string>
27 </property>
28 <property name="checked">
29 <bool>true</bool>
30 </property>
31 </widget>
32 </item>
33 <item>
34 <widget class="QSpinBox" name="resSpinBox">
35 <property name="maximum">
36 <number>1024</number>
37 </property>
38 <property name="value">
39 <number>128</number>
40 </property>
41 </widget>
42 </item>
43 </layout>
44 </item>
45 <item row="1" column="0">
46 <widget class="QRadioButton" name="customSizeRadioButton">
47 <property name="enabled">
48 <bool>true</bool>
49 </property>
50 <property name="text">
51 <string>Custom size</string>
52 </property>
53 </widget>
54 </item>
55 <item row="2" column="0">
56 <widget class="QGroupBox" name="groupBox">
57 <property name="enabled">
58 <bool>false</bool>
59 </property>
60 <property name="title">
61 <string/>
62 </property>
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>
68 </property>
69 <property name="value">
70 <number>512</number>
71 </property>
72 </widget>
73 </item>
74 <item row="1" column="0">
75 <widget class="QLabel" name="label_2">
76 <property name="enabled">
77 <bool>false</bool>
78 </property>
79 <property name="text">
80 <string>Height:</string>
81 </property>
82 <property name="buddy">
83 <cstring>heightSpinBox</cstring>
84 </property>
85 </widget>
86 </item>
87 <item row="1" column="1">
88 <widget class="QSpinBox" name="heightSpinBox">
89 <property name="enabled">
90 <bool>false</bool>
91 </property>
92 <property name="maximum">
93 <number>99999</number>
94 </property>
95 <property name="value">
96 <number>512</number>
97 </property>
98 </widget>
99 </item>
100 <item row="0" column="0">
101 <widget class="QLabel" name="label">
102 <property name="text">
103 <string>Width:</string>
104 </property>
105 <property name="buddy">
106 <cstring>widthSpinBox</cstring>
107 </property>
108 </widget>
109 </item>
110 <item row="2" column="0" colspan="2">
111 <widget class="QCheckBox" name="keepRatioCheckBox">
112 <property name="text">
113 <string>Keep bitmap ratio</string>
114 </property>
115 <property name="checked">
116 <bool>true</bool>
117 </property>
118 </widget>
119 </item>
120 </layout>
121 </widget>
122 </item>
123 <item row="3" column="0">
124 <widget class="QDialogButtonBox" name="buttonBox">
125 <property name="orientation">
126 <enum>Qt::Horizontal</enum>
127 </property>
128 <property name="standardButtons">
129 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
130 </property>
131 </widget>
132 </item>
133 </layout>
134 </widget>
135 <tabstops>
136 <tabstop>originalSizeRadioButton</tabstop>
137 <tabstop>customSizeRadioButton</tabstop>
138 <tabstop>widthSpinBox</tabstop>
139 <tabstop>heightSpinBox</tabstop>
140 <tabstop>keepRatioCheckBox</tabstop>
141 <tabstop>buttonBox</tabstop>
142 </tabstops>
143 <resources>
144 <include location="landscape_editor.qrc"/>
145 </resources>
146 <connections>
147 <connection>
148 <sender>buttonBox</sender>
149 <signal>accepted()</signal>
150 <receiver>SnapshotDialog</receiver>
151 <slot>accept()</slot>
152 <hints>
153 <hint type="sourcelabel">
154 <x>227</x>
155 <y>164</y>
156 </hint>
157 <hint type="destinationlabel">
158 <x>157</x>
159 <y>158</y>
160 </hint>
161 </hints>
162 </connection>
163 <connection>
164 <sender>buttonBox</sender>
165 <signal>rejected()</signal>
166 <receiver>SnapshotDialog</receiver>
167 <slot>reject()</slot>
168 <hints>
169 <hint type="sourcelabel">
170 <x>276</x>
171 <y>170</y>
172 </hint>
173 <hint type="destinationlabel">
174 <x>285</x>
175 <y>158</y>
176 </hint>
177 </hints>
178 </connection>
179 <connection>
180 <sender>customSizeRadioButton</sender>
181 <signal>toggled(bool)</signal>
182 <receiver>groupBox</receiver>
183 <slot>setEnabled(bool)</slot>
184 <hints>
185 <hint type="sourcelabel">
186 <x>59</x>
187 <y>39</y>
188 </hint>
189 <hint type="destinationlabel">
190 <x>78</x>
191 <y>62</y>
192 </hint>
193 </hints>
194 </connection>
195 <connection>
196 <sender>keepRatioCheckBox</sender>
197 <signal>toggled(bool)</signal>
198 <receiver>heightSpinBox</receiver>
199 <slot>setDisabled(bool)</slot>
200 <hints>
201 <hint type="sourcelabel">
202 <x>84</x>
203 <y>122</y>
204 </hint>
205 <hint type="destinationlabel">
206 <x>178</x>
207 <y>106</y>
208 </hint>
209 </hints>
210 </connection>
211 <connection>
212 <sender>keepRatioCheckBox</sender>
213 <signal>toggled(bool)</signal>
214 <receiver>label_2</receiver>
215 <slot>setDisabled(bool)</slot>
216 <hints>
217 <hint type="sourcelabel">
218 <x>55</x>
219 <y>129</y>
220 </hint>
221 <hint type="destinationlabel">
222 <x>48</x>
223 <y>103</y>
224 </hint>
225 </hints>
226 </connection>
227 </connections>
228 </ui>