Skip to content
Snippets Groups Projects
Commit 3c158019 authored by Ludovic Hussonnois's avatar Ludovic Hussonnois
Browse files

REFAC: Update GUI tooltip and position of zoom level

parent 66cd0092
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ ProjectionBarWidget::~ProjectionBarWidget() ...@@ -37,7 +37,7 @@ ProjectionBarWidget::~ProjectionBarWidget()
m_UI = NULL; m_UI = NULL;
} }
void ProjectionBarWidget::SetProjectionScale(double scale_x, double scale_y) void ProjectionBarWidget::SetProjectionScale(double scale_x, double )
{ {
QString text = "1:1"; QString text = "1:1";
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<item> <item>
<widget class="QLineEdit" name="projectionScaleLineEdit"> <widget class="QLineEdit" name="projectionScaleLineEdit">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
...@@ -53,6 +53,9 @@ ...@@ -53,6 +53,9 @@
<height>20</height> <height>20</height>
</size> </size>
</property> </property>
<property name="toolTip">
<string>Current zoom-level of view, relative to reference layer (projection and spacing).</string>
</property>
<property name="locale"> <property name="locale">
<locale language="C" country="AnyCountry"/> <locale language="C" country="AnyCountry"/>
</property> </property>
...@@ -67,6 +70,19 @@ ...@@ -67,6 +70,19 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<resources/> <resources/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment