|
6 | 6 | <rect>
|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 |
| - <width>338</width> |
10 |
| - <height>226</height> |
| 9 | + <width>485</width> |
| 10 | + <height>341</height> |
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="sizePolicy">
|
|
22 | 22 | <layout class="QVBoxLayout" name="verticalLayout">
|
23 | 23 | <item>
|
24 | 24 | <layout class="QGridLayout" name="gridLayout">
|
| 25 | + <item row="0" column="0"> |
| 26 | + <widget class="QLabel" name="label_3"> |
| 27 | + <property name="text"> |
| 28 | + <string>&Input file (raster)</string> |
| 29 | + </property> |
| 30 | + <property name="buddy"> |
| 31 | + <cstring>inSelector</cstring> |
| 32 | + </property> |
| 33 | + </widget> |
| 34 | + </item> |
25 | 35 | <item row="1" column="0">
|
26 | 36 | <widget class="QLabel" name="label_2">
|
27 | 37 | <property name="text">
|
|
32 | 42 | </property>
|
33 | 43 | </widget>
|
34 | 44 | </item>
|
35 |
| - <item row="2" column="0"> |
36 |
| - <widget class="QCheckBox" name="noDataCheck"> |
37 |
| - <property name="text"> |
38 |
| - <string>&No data value</string> |
39 |
| - </property> |
40 |
| - </widget> |
| 45 | + <item row="0" column="1"> |
| 46 | + <widget class="GdalToolsInOutSelector" name="inSelector" native="true"/> |
| 47 | + </item> |
| 48 | + <item row="1" column="1"> |
| 49 | + <widget class="GdalToolsInOutSelector" name="outSelector" native="true"/> |
41 | 50 | </item>
|
42 | 51 | <item row="2" column="1">
|
43 | 52 | <widget class="QSpinBox" name="noDataSpin">
|
|
49 | 58 | </property>
|
50 | 59 | </widget>
|
51 | 60 | </item>
|
52 |
| - <item row="0" column="0"> |
53 |
| - <widget class="QLabel" name="label_3"> |
| 61 | + <item row="2" column="0"> |
| 62 | + <widget class="QCheckBox" name="noDataCheck"> |
54 | 63 | <property name="text">
|
55 |
| - <string>&Input file (raster)</string> |
56 |
| - </property> |
57 |
| - <property name="buddy"> |
58 |
| - <cstring>inSelector</cstring> |
| 64 | + <string>&No data value</string> |
59 | 65 | </property>
|
60 | 66 | </widget>
|
61 | 67 | </item>
|
62 |
| - <item row="1" column="1"> |
63 |
| - <widget class="GdalToolsInOutSelector" name="outSelector" native="true"/> |
64 |
| - </item> |
65 |
| - <item row="0" column="1"> |
66 |
| - <widget class="GdalToolsInOutSelector" name="inSelector" native="true"/> |
67 |
| - </item> |
68 | 68 | </layout>
|
69 | 69 | </item>
|
70 | 70 | <item>
|
|
73 | 73 | <string>Clipping mode</string>
|
74 | 74 | </property>
|
75 | 75 | <layout class="QGridLayout" name="gridLayout_2">
|
76 |
| - <item row="0" column="0"> |
77 |
| - <widget class="QRadioButton" name="extentModeRadio"> |
78 |
| - <property name="text"> |
79 |
| - <string>Extent</string> |
80 |
| - </property> |
81 |
| - <property name="checked"> |
82 |
| - <bool>true</bool> |
83 |
| - </property> |
84 |
| - </widget> |
85 |
| - </item> |
86 |
| - <item row="0" column="1"> |
87 |
| - <widget class="QRadioButton" name="maskModeRadio"> |
88 |
| - <property name="text"> |
89 |
| - <string>Mask layer</string> |
90 |
| - </property> |
91 |
| - </widget> |
92 |
| - </item> |
93 | 76 | <item row="1" column="0" colspan="2">
|
94 | 77 | <widget class="QStackedWidget" name="modeStackedWidget">
|
95 | 78 | <property name="currentIndex">
|
96 | 79 | <number>1</number>
|
97 | 80 | </property>
|
98 | 81 | <widget class="QWidget" name="page">
|
99 | 82 | <layout class="QGridLayout" name="gridLayout_3">
|
100 |
| - <property name="margin"> |
| 83 | + <property name="leftMargin"> |
| 84 | + <number>0</number> |
| 85 | + </property> |
| 86 | + <property name="topMargin"> |
| 87 | + <number>0</number> |
| 88 | + </property> |
| 89 | + <property name="rightMargin"> |
| 90 | + <number>0</number> |
| 91 | + </property> |
| 92 | + <property name="bottomMargin"> |
101 | 93 | <number>0</number>
|
102 | 94 | </property>
|
103 | 95 | <item row="0" column="0">
|
|
107 | 99 | </widget>
|
108 | 100 | <widget class="QWidget" name="page_2">
|
109 | 101 | <layout class="QGridLayout" name="gridLayout_4">
|
110 |
| - <property name="margin"> |
| 102 | + <property name="leftMargin"> |
| 103 | + <number>0</number> |
| 104 | + </property> |
| 105 | + <property name="topMargin"> |
| 106 | + <number>0</number> |
| 107 | + </property> |
| 108 | + <property name="rightMargin"> |
| 109 | + <number>0</number> |
| 110 | + </property> |
| 111 | + <property name="bottomMargin"> |
111 | 112 | <number>0</number>
|
112 | 113 | </property>
|
| 114 | + <item row="0" column="1"> |
| 115 | + <widget class="GdalToolsInOutSelector" name="maskSelector" native="true"/> |
| 116 | + </item> |
113 | 117 | <item row="2" column="0">
|
114 |
| - <spacer name="verticalSpacer"> |
115 |
| - <property name="orientation"> |
116 |
| - <enum>Qt::Vertical</enum> |
| 118 | + <widget class="QCheckBox" name="cropToCutlineCheck"> |
| 119 | + <property name="text"> |
| 120 | + <string>Crop the extent of the target dataset to the extent of the cutline</string> |
117 | 121 | </property>
|
118 |
| - <property name="sizeHint" stdset="0"> |
119 |
| - <size> |
120 |
| - <width>20</width> |
121 |
| - <height>40</height> |
122 |
| - </size> |
| 122 | + </widget> |
| 123 | + </item> |
| 124 | + <item row="1" column="0"> |
| 125 | + <widget class="QCheckBox" name="alphaBandCheck"> |
| 126 | + <property name="text"> |
| 127 | + <string>Create an output alpha band</string> |
123 | 128 | </property>
|
124 |
| - </spacer> |
| 129 | + </widget> |
125 | 130 | </item>
|
126 | 131 | <item row="0" column="0">
|
127 | 132 | <widget class="QLabel" name="label">
|
|
130 | 135 | </property>
|
131 | 136 | </widget>
|
132 | 137 | </item>
|
133 |
| - <item row="0" column="1"> |
134 |
| - <widget class="GdalToolsInOutSelector" name="maskSelector" native="true"/> |
| 138 | + <item row="3" column="0" rowspan="5" colspan="2"> |
| 139 | + <widget class="QGroupBox" name="gridGroupBox"> |
| 140 | + <layout class="QGridLayout" name="gridLayout_7"> |
| 141 | + <item row="0" column="1" alignment="Qt::AlignHCenter"> |
| 142 | + <widget class="QRadioButton" name="setResolutionRadio"> |
| 143 | + <property name="text"> |
| 144 | + <string>Set output file resolution</string> |
| 145 | + </property> |
| 146 | + </widget> |
| 147 | + </item> |
| 148 | + <item row="1" column="0" colspan="2"> |
| 149 | + <widget class="QStackedWidget" name="resolutionStackedWidget"> |
| 150 | + <property name="currentIndex"> |
| 151 | + <number>1</number> |
| 152 | + </property> |
| 153 | + <widget class="QWidget" name="page_3"/> |
| 154 | + <widget class="QWidget" name="resolutionWidget"> |
| 155 | + <layout class="QGridLayout" name="gridLayout_5" columnstretch="0,0,0,0,0"> |
| 156 | + <property name="leftMargin"> |
| 157 | + <number>9</number> |
| 158 | + </property> |
| 159 | + <property name="topMargin"> |
| 160 | + <number>9</number> |
| 161 | + </property> |
| 162 | + <property name="rightMargin"> |
| 163 | + <number>9</number> |
| 164 | + </property> |
| 165 | + <property name="bottomMargin"> |
| 166 | + <number>9</number> |
| 167 | + </property> |
| 168 | + <item row="0" column="4"> |
| 169 | + <widget class="QDoubleSpinBox" name="yRes"> |
| 170 | + <property name="decimals"> |
| 171 | + <number>1</number> |
| 172 | + </property> |
| 173 | + <property name="minimum"> |
| 174 | + <double>0.100000000000000</double> |
| 175 | + </property> |
| 176 | + <property name="maximum"> |
| 177 | + <double>999999.000000000000000</double> |
| 178 | + </property> |
| 179 | + <property name="singleStep"> |
| 180 | + <double>0.100000000000000</double> |
| 181 | + </property> |
| 182 | + <property name="value"> |
| 183 | + <double>12.500000000000000</double> |
| 184 | + </property> |
| 185 | + </widget> |
| 186 | + </item> |
| 187 | + <item row="0" column="2"> |
| 188 | + <widget class="QDoubleSpinBox" name="xRes"> |
| 189 | + <property name="decimals"> |
| 190 | + <number>1</number> |
| 191 | + </property> |
| 192 | + <property name="minimum"> |
| 193 | + <double>0.100000000000000</double> |
| 194 | + </property> |
| 195 | + <property name="maximum"> |
| 196 | + <double>999999.000000000000000</double> |
| 197 | + </property> |
| 198 | + <property name="singleStep"> |
| 199 | + <double>0.100000000000000</double> |
| 200 | + </property> |
| 201 | + <property name="value"> |
| 202 | + <double>12.500000000000000</double> |
| 203 | + </property> |
| 204 | + </widget> |
| 205 | + </item> |
| 206 | + <item row="0" column="3"> |
| 207 | + <widget class="QLabel" name="label_5"> |
| 208 | + <property name="text"> |
| 209 | + <string>Y Resolution</string> |
| 210 | + </property> |
| 211 | + <property name="alignment"> |
| 212 | + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 213 | + </property> |
| 214 | + </widget> |
| 215 | + </item> |
| 216 | + <item row="0" column="1"> |
| 217 | + <widget class="QLabel" name="label_4"> |
| 218 | + <property name="layoutDirection"> |
| 219 | + <enum>Qt::LeftToRight</enum> |
| 220 | + </property> |
| 221 | + <property name="text"> |
| 222 | + <string>X Resolution</string> |
| 223 | + </property> |
| 224 | + <property name="alignment"> |
| 225 | + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 226 | + </property> |
| 227 | + </widget> |
| 228 | + </item> |
| 229 | + </layout> |
| 230 | + </widget> |
| 231 | + </widget> |
| 232 | + </item> |
| 233 | + <item row="0" column="0" alignment="Qt::AlignHCenter"> |
| 234 | + <widget class="QRadioButton" name="keepResolutionRadio"> |
| 235 | + <property name="text"> |
| 236 | + <string>Keep resolution of input raster</string> |
| 237 | + </property> |
| 238 | + <property name="checked"> |
| 239 | + <bool>true</bool> |
| 240 | + </property> |
| 241 | + </widget> |
| 242 | + </item> |
| 243 | + </layout> |
| 244 | + </widget> |
135 | 245 | </item>
|
136 |
| - <item row="1" column="0"> |
137 |
| - <widget class="QCheckBox" name="alphaBandCheck"> |
138 |
| - <property name="text"> |
139 |
| - <string>Create an output alpha band</string> |
| 246 | + <item row="10" column="0" colspan="2"> |
| 247 | + <spacer name="verticalSpacer"> |
| 248 | + <property name="orientation"> |
| 249 | + <enum>Qt::Vertical</enum> |
140 | 250 | </property>
|
141 |
| - </widget> |
| 251 | + <property name="sizeHint" stdset="0"> |
| 252 | + <size> |
| 253 | + <width>20</width> |
| 254 | + <height>40</height> |
| 255 | + </size> |
| 256 | + </property> |
| 257 | + </spacer> |
142 | 258 | </item>
|
143 | 259 | </layout>
|
144 | 260 | </widget>
|
145 | 261 | </widget>
|
146 | 262 | </item>
|
| 263 | + <item row="0" column="0" colspan="2"> |
| 264 | + <widget class="QGroupBox" name="groupBox"> |
| 265 | + <property name="title"> |
| 266 | + <string/> |
| 267 | + </property> |
| 268 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 269 | + <item alignment="Qt::AlignHCenter|Qt::AlignVCenter"> |
| 270 | + <widget class="QRadioButton" name="extentModeRadio"> |
| 271 | + <property name="text"> |
| 272 | + <string>Extent</string> |
| 273 | + </property> |
| 274 | + <property name="checked"> |
| 275 | + <bool>true</bool> |
| 276 | + </property> |
| 277 | + </widget> |
| 278 | + </item> |
| 279 | + <item alignment="Qt::AlignHCenter|Qt::AlignVCenter"> |
| 280 | + <widget class="QRadioButton" name="maskModeRadio"> |
| 281 | + <property name="layoutDirection"> |
| 282 | + <enum>Qt::LeftToRight</enum> |
| 283 | + </property> |
| 284 | + <property name="text"> |
| 285 | + <string>Mask layer</string> |
| 286 | + </property> |
| 287 | + </widget> |
| 288 | + </item> |
| 289 | + </layout> |
| 290 | + </widget> |
| 291 | + </item> |
147 | 292 | </layout>
|
148 | 293 | </widget>
|
149 | 294 | </item>
|
|
0 commit comments