Skip to content

Commit e75b800

Browse files
committed
Add Button "Open Sideview", make release
1 parent 3007441 commit e75b800

File tree

4 files changed

+33
-3
lines changed

4 files changed

+33
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22

3-
## [3.0.1] - 2025-09-xx
3+
## [3.0.3] - 2025-11-02
4+
5+
### Changed
6+
- Add button to simplify opening the side view.
7+
8+
9+
## [3.0.1] - 2025-09-27
410

511
### Changed
612
- Android: Allow import of image files containing VACs, where bounding box

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ option(QTDEPLOY "Generate and run Qt deployment scripts" OFF)
1414
# Project data
1515
#
1616

17-
project(enroute VERSION 3.0.1)
17+
project(enroute VERSION 3.0.3)
1818
set(APP_ID de.akaflieg_freiburg.enroute)
1919
set(DISPLAY_NAME "Enroute")
2020
math(EXPR PROJECT_VERSION_CODE 10000*${PROJECT_VERSION_MAJOR}+100*${PROJECT_VERSION_MINOR}+${PROJECT_VERSION_PATCH})
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
### Changed
2+
- Add button to simplify opening the side view.

src/qml/items/MFM.qml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ Item {
856856
}
857857
}
858858

859-
// Column 3: North Button / Spacer / Zoom In / Zoom Out
859+
// Column 3: North Button / Spacer / Zoom In / Zoom Out / Show Sideview
860860
ColumnLayout {
861861
Layout.fillHeight: true
862862
Layout.rightMargin: SafeInsets.right
@@ -955,6 +955,28 @@ Item {
955955
flightMap.zoomLevel = newZoomLevel
956956
}
957957
}
958+
959+
MapButton {
960+
id: showSideView
961+
962+
icon.source: "/icons/material/ic_keyboard_arrow_up.svg"
963+
visible: cl.SplitView.preferredHeight < 100
964+
autoRepeat: true
965+
966+
onClicked: {
967+
PlatformAdaptor.vibrateBrief()
968+
openSideViewAnimation.running = true
969+
}
970+
971+
NumberAnimation {
972+
id: openSideViewAnimation
973+
target: cl
974+
property: "SplitView.preferredHeight"
975+
to: 200
976+
duration: 200
977+
}
978+
979+
}
958980
}
959981
}
960982
}

0 commit comments

Comments
 (0)