Salome HOME
[bos #32216][CEA] GUI ergonomic with HDPI screens. kleontev/32216_GUI_ergonomic master 28/head
authorKonstantin Leontev <Konstantin.LEONTEV@opencascade.com>
Tue, 10 Oct 2023 10:09:15 +0000 (11:09 +0100)
committerKonstantin Leontev <Konstantin.LEONTEV@opencascade.com>
Fri, 17 May 2024 13:01:21 +0000 (14:01 +0100)
commit231504d23abcdccd4dc12b91e33736208ea27d08
tree54baa19cad0f0bf2ad18579891e21e85a69d3b84
parentecb530a91deb5e20d133775457c0a60156628c82
[bos #32216][CEA] GUI ergonomic with HDPI screens.
Added using of Qt::AA_UseHighDpiPixmaps attribute and device pixel ratio (usually set by QT_SCALE_FACTOR env var).
Fixed OCC and Vtk viewers display and selection issues with Qt HDPI scaling.
Fixed OCC and Vtk viewers selection and context menu offset.
src/OCCViewer/OCCViewer_ViewSketcher.cxx
src/OCCViewer/OCCViewer_ViewWindow.cxx
src/SVTK/SVTK_InteractorStyle.cxx
src/SVTK/SVTK_RenderWindowInteractor.cxx
src/Session/SALOME_Session_Server.cxx
src/ViewerTools/CMakeLists.txt
src/ViewerTools/ViewerTools_ScreenScaling.cxx [new file with mode: 0644]
src/ViewerTools/ViewerTools_ScreenScaling.h [new file with mode: 0644]