Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
3c158019
Commit
3c158019
authored
Apr 27, 2017
by
Ludovic Hussonnois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
REFAC: Update GUI tooltip and position of zoom level
parent
66cd0092
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
Modules/Visualization/MonteverdiGui/src/mvdProjectionBarWidget.cxx
...isualization/MonteverdiGui/src/mvdProjectionBarWidget.cxx
+1
-1
Modules/Visualization/MonteverdiGui/src/mvdProjectionBarWidget.ui
...Visualization/MonteverdiGui/src/mvdProjectionBarWidget.ui
+17
-1
No files found.
Modules/Visualization/MonteverdiGui/src/mvdProjectionBarWidget.cxx
View file @
3c158019
...
...
@@ -37,7 +37,7 @@ ProjectionBarWidget::~ProjectionBarWidget()
m_UI
=
NULL
;
}
void
ProjectionBarWidget
::
SetProjectionScale
(
double
scale_x
,
double
scale_y
)
void
ProjectionBarWidget
::
SetProjectionScale
(
double
scale_x
,
double
)
{
QString
text
=
"1:1"
;
...
...
Modules/Visualization/MonteverdiGui/src/mvdProjectionBarWidget.ui
View file @
3c158019
...
...
@@ -42,7 +42,7 @@
<item>
<widget
class=
"QLineEdit"
name=
"projectionScaleLineEdit"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
MinimumExpanding"
vsizetype=
"MinimumExpanding
"
>
<sizepolicy
hsizetype=
"
Fixed"
vsizetype=
"Fixed
"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
...
...
@@ -53,6 +53,9 @@
<height>
20
</height>
</size>
</property>
<property
name=
"toolTip"
>
<string>
Current zoom-level of view, relative to reference layer (projection and spacing).
</string>
</property>
<property
name=
"locale"
>
<locale
language=
"C"
country=
"AnyCountry"
/>
</property>
...
...
@@ -67,6 +70,19 @@
</property>
</widget>
</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>
</widget>
<resources/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment