Skip to content

Commit 50e8e1c

Browse files
DelazJm-kuhn
authored andcommittedAug 24, 2017
Reorganize buttons to set map extent
There's likely no situation where the four buttons are activated simultaneously... Better have three on a line than the current heterogeneous UI.
1 parent 21b1c7c commit 50e8e1c

File tree

1 file changed

+23
-20
lines changed

1 file changed

+23
-20
lines changed
 

‎src/ui/qgsextentgroupboxwidget.ui

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>380</width>
10-
<height>202</height>
9+
<width>679</width>
10+
<height>163</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
@@ -77,7 +77,7 @@
7777
<item>
7878
<widget class="QWidget" name="widget_2" native="true">
7979
<layout class="QGridLayout" name="gridLayout">
80-
<item row="0" column="4">
80+
<item row="0" column="6">
8181
<widget class="QPushButton" name="mCurrentExtentButton">
8282
<property name="minimumSize">
8383
<size>
@@ -103,7 +103,7 @@
103103
</property>
104104
</spacer>
105105
</item>
106-
<item row="0" column="3">
106+
<item row="0" column="5">
107107
<spacer name="horizontalSpacer">
108108
<property name="orientation">
109109
<enum>Qt::Horizontal</enum>
@@ -116,7 +116,7 @@
116116
</property>
117117
</spacer>
118118
</item>
119-
<item row="0" column="5">
119+
<item row="0" column="10">
120120
<spacer name="horizontalSpacer_2">
121121
<property name="orientation">
122122
<enum>Qt::Horizontal</enum>
@@ -129,20 +129,7 @@
129129
</property>
130130
</spacer>
131131
</item>
132-
<item row="0" column="2">
133-
<widget class="QPushButton" name="mOriginalExtentButton">
134-
<property name="minimumSize">
135-
<size>
136-
<width>150</width>
137-
<height>0</height>
138-
</size>
139-
</property>
140-
<property name="text">
141-
<string>Current layer extent</string>
142-
</property>
143-
</widget>
144-
</item>
145-
<item row="1" column="2">
132+
<item row="0" column="3">
146133
<widget class="QPushButton" name="mButtonCalcFromLayer">
147134
<property name="sizePolicy">
148135
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
@@ -155,7 +142,7 @@
155142
</property>
156143
</widget>
157144
</item>
158-
<item row="1" column="4">
145+
<item row="0" column="11">
159146
<widget class="QPushButton" name="mButtonDrawOnCanvas">
160147
<property name="sizePolicy">
161148
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
@@ -168,6 +155,19 @@
168155
</property>
169156
</widget>
170157
</item>
158+
<item row="0" column="0">
159+
<widget class="QPushButton" name="mOriginalExtentButton">
160+
<property name="minimumSize">
161+
<size>
162+
<width>150</width>
163+
<height>0</height>
164+
</size>
165+
</property>
166+
<property name="text">
167+
<string>Current layer extent</string>
168+
</property>
169+
</widget>
170+
</item>
171171
</layout>
172172
</widget>
173173
</item>
@@ -178,7 +178,10 @@
178178
<tabstop>mXMinLineEdit</tabstop>
179179
<tabstop>mXMaxLineEdit</tabstop>
180180
<tabstop>mYMinLineEdit</tabstop>
181+
<tabstop>mOriginalExtentButton</tabstop>
182+
<tabstop>mButtonCalcFromLayer</tabstop>
181183
<tabstop>mCurrentExtentButton</tabstop>
184+
<tabstop>mButtonDrawOnCanvas</tabstop>
182185
</tabstops>
183186
<resources/>
184187
<connections/>

0 commit comments

Comments
 (0)
Please sign in to comment.