From 78c12f7d4cef09bee695dc77b7ddb3b36afb03c6 Mon Sep 17 00:00:00 2001 From: DelazJ Date: Tue, 27 Aug 2024 20:02:30 +0200 Subject: [PATCH] Add scrollbar to Project elevation tab and make the terrain group collapsible Fixes #58497 --- .../qgsprojectelevationsettingswidgetbase.ui | 604 +++++++++--------- 1 file changed, 317 insertions(+), 287 deletions(-) diff --git a/src/ui/qgsprojectelevationsettingswidgetbase.ui b/src/ui/qgsprojectelevationsettingswidgetbase.ui index dc89f8d27dd9..a259467fb118 100644 --- a/src/ui/qgsprojectelevationsettingswidgetbase.ui +++ b/src/ui/qgsprojectelevationsettingswidgetbase.ui @@ -7,13 +7,13 @@ 0 0 504 - 486 + 445 Project Elevation Settings - + 0 @@ -27,332 +27,357 @@ 0 - - - - - - Vertical Reference System + + + QFrame::NoFrame + + + true - - - - - - - 0 - - - 0 - - - 0 - - - 0 - + + + + 0 + 0 + 504 + 445 + + + + + + + + + + Vertical Reference System + + - - - - - - true + + + 1 + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + true + + + + + + - - - - - - - - - - Elevation Range - - - false - - - false - - - true - - - composeritem - - - - - - - 0 - 0 - - - - Maximum elevation of interest - - - 4 - - - -9999999999.000000000000000 - - - 9999999999.000000000000000 - - - - - - - - 0 - 0 - - - - Minimum elevation of interest - - - 4 - - - -9999999999.000000000000000 - - - 9999999999.000000000000000 - - - - - - - Upper - - - false - - - - - - - Lower - - - false - - - - - - - When set, these heights define the upper and lower elevation limits for the area of interest in this project. - - - true - - - - - - - - - - Terrain - - - - - - Type - - - - - - - - - - 0 - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - Terrain height + + + + + Elevation Range + + + false + + + false + + + true + + + composeritem + + + + + + + 0 + 0 + + + + Maximum elevation of interest + + + 4 - - - - - -1000000.000000000000000 + -9999999999.000000000000000 - 1000000.000000000000000 + 9999999999.000000000000000 - - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - Offset + + + + + 0 + 0 + - - - - - - Vertical scale + + Minimum elevation of interest + + + 4 - - - - - -1000000.000000000000000 + -9999999999.000000000000000 - 1000000.000000000000000 - - - - - - - - - - 1.000000000000000 + 9999999999.000000000000000 - - + + - DEM layer + Upper + + + false - - - - - - 0 - - - 0 - - - 0 - - - 0 - - + - Vertical scale + Lower + + + false - - + + - Mesh layer + When set, these heights define the upper and lower elevation limits for the area of interest in this project. + + + true - - - - -1000000.000000000000000 - - - 1000000.000000000000000 + + + + + + + Terrain + + + + + + Type - + - - - - 1.000000000000000 - - - - - - - Offset + + + + 0 + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Terrain height + + + + + + + -1000000.000000000000000 + + + 1000000.000000000000000 + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Offset + + + + + + + Vertical scale + + + + + + + -1000000.000000000000000 + + + 1000000.000000000000000 + + + + + + + + + + 1.000000000000000 + + + + + + + DEM layer + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Vertical scale + + + + + + + Mesh layer + + + + + + + -1000000.000000000000000 + + + 1000000.000000000000000 + + + + + + + + + + 1.000000000000000 + + + + + + + Offset + + + + + - - - + + + + + + + + Qt::Vertical + + + + 20 + 0 + + + + + + - - - - - - - Qt::Vertical - - - - 20 - 140 - - - - @@ -366,18 +391,23 @@ QComboBox
qgsmaplayercombobox.h
- - QgsMessageBar - QWidget -
qgsmessagebar.h
- 1 -
QgsStackedWidget QStackedWidget
qgsstackedwidget.h
1
+ + QgsCollapsibleGroupBox + QWidget +
qgscollapsiblegroupbox.h
+
+ + QgsMessageBar + QWidget +
qgsmessagebar.h
+ 1 +
mComboTerrainType