From 65fe3b85586aa53aaa7246e691487e51c8d536ce Mon Sep 17 00:00:00 2001 From: xtemp09 Date: Tue, 13 May 2025 15:00:36 +0700 Subject: [PATCH] Add Navigation Style/Orbit Style/Rotation Mode to About info Closes #17431 --- src/App/Application.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index 94ca4236a2..d279a6cf6e 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -3771,6 +3771,18 @@ void Application::getVerboseCommonInfo(QTextStream& str, const std::mapGetASCII("NavigationStyle", "Gui::CADNavigationStyle")).remove(0, 5).chopped(15); + const QString orbitStyle = QStringLiteral("Turntable,Trackball,Free Turntable,Trackball Classic,Rounded Arcball") + .split(QLatin1Char(',')) + .at(hGrp->GetInt("OrbitStyle", 4)); + const QString rotMode = QStringLiteral("Window center,Drag at cursor,Object center") + .split(QLatin1Char(',')) + .at(hGrp->GetInt("RotationMode", 0)); + + str << QStringLiteral("Navigation Style/Orbit Style/Rotation Mode: %1/%2/%3\n").arg(navStyle, orbitStyle, rotMode); } void Application::getVerboseAddOnsInfo(QTextStream& str, const std::map& mConfig) {