Skip to content
Permalink
Browse files

Add missing caption and some tweaks to map units dialog

  • Loading branch information
DelazJ authored and nyalldawson committed Mar 1, 2018
1 parent 7459539 commit 75f91e53c50cfda5a1d56b75c7b833ad0a758e1c
Showing with 30 additions and 13 deletions.
  1. +1 −0 src/gui/qgsunitselectionwidget.cpp
  2. +29 −13 src/ui/qgsmapunitscalewidgetbase.ui
@@ -278,6 +278,7 @@ QgsMapUnitScaleDialog::QgsMapUnitScaleDialog( QWidget *parent )
connect( bbox, &QDialogButtonBox::rejected, this, &QgsMapUnitScaleDialog::reject );
vLayout->addWidget( bbox );
setLayout( vLayout );
setWindowTitle( tr( "Adjust Scaling Range" ) );
}

QgsMapUnitScale QgsMapUnitScaleDialog::getMapUnitScale() const
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>316</width>
<height>276</height>
<width>285</width>
<height>233</height>
</rect>
</property>
<property name="windowTitle">
@@ -18,16 +18,7 @@
<normaloff>:/images/themes/default/mActionOptions.png</normaloff>:/images/themes/default/mActionOptions.png</iconset>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>3</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<property name="margin">
<number>3</number>
</property>
<item row="0" column="0" colspan="2">
@@ -55,6 +46,12 @@
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="mCheckBoxMinScale">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Minimum scale</string>
</property>
@@ -69,6 +66,12 @@
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="mCheckBoxMaxScale">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Maximum scale</string>
</property>
@@ -85,7 +88,7 @@
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
<height>0</height>
</size>
</property>
</spacer>
@@ -98,13 +101,25 @@
<layout class="QGridLayout" name="gridLayout_3">
<item row="1" column="0">
<widget class="QCheckBox" name="mCheckBoxMinSize">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Minimum size</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="mCheckBoxMaxSize">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Maximum size</string>
</property>
@@ -157,6 +172,7 @@
<class>QgsPanelWidget</class>
<extends>QWidget</extends>
<header>qgspanelwidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>

0 comments on commit 75f91e5

Please sign in to comment.
You can’t perform that action at this time.