Qt 3d preferences #9923

Open
Ferenc- wants to merge 3 commits from qt-3d-preferences into master

3 commits

Author SHA1 Message Date
Ferenc Géczi
2c654e6f42
[drape_frontend] Make the always-on 3D view configurable
Previously on desktop, the always-on 3D mode was behind an odd
"easter-egg", that was only reachable with a series of
`Allow3dMode` messages:

````
#ifdef OMIM_OS_DESKTOP
      if (m_enablePerspectiveInNavigation == msg->AllowPerspective() &&
          m_enablePerspectiveInNavigation != screen.isPerspective())
      {
        AddUserEvent(make_unique_dp<SetAutoPerspectiveEvent>(m_enablePerspectiveInNavigation));
      }
#endif
````

This change adds a dedicated field for that in the message,
and a dedicated checkbox on the UI.
The checkbox is labelled `experimental`, because for now `drape_frontend`
is rather unstable in this mode.
This stability issue is independent from how we enable the always-on 3D mode
(old "easter-egg" or proper UI checkbox).
The idea is that making it easier to enable, also makes it easier to improve.

Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-12-23 00:00:00 +00:00
Ferenc Géczi
2283279ea5 [qt] Add 3D buildings and perspective view buttons
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-12-23 11:52:22 +01:00
Ferenc Géczi
4ebe3cfc7a [map] Move saving of 3d mode setting to framework
Where the actual final values are determined.
And thus avoid saving potentially incorrect values.

Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-12-23 11:52:21 +01:00