From 4d5ea05f649e0380464e0eafa8c222e81eedae47 Mon Sep 17 00:00:00 2001 From: nasehim7 Date: Fri, 31 May 2024 18:46:18 +0100 Subject: [PATCH] Add: Accessibility Panel - Score Style Preset option --- share/styles/CMakeLists.txt | 2 +- share/styles/MSN/16mm_MSN.mss | 2 +- share/styles/MSN/18mm_MSN.mss | 2 +- share/styles/MSN/20mm_MSN.mss | 2 +- share/styles/MSN/22mm_MSN.mss | 2 +- share/styles/MSN/25mm_MSN.mss | 2 +- share/styles/MSN/CMakeLists.txt | 8 + src/engraving/style/style.cpp | 14 +- src/engraving/style/style.h | 7 + src/engraving/types/types.h | 10 + src/engraving/types/typesconv.cpp | 39 ++++ src/engraving/types/typesconv.h | 6 + src/inspector/CMakeLists.txt | 2 + src/inspector/models/abstractinspectormodel.h | 1 + src/inspector/models/inspectorlistmodel.cpp | 7 +- .../score/scoreaccessibilitysettingsmodel.cpp | 220 ++++++++++++++++++ .../score/scoreaccessibilitysettingsmodel.h | 76 ++++++ src/inspector/view/inspector_resources.qrc | 1 + .../Inspector/InspectorSectionDelegate.qml | 20 ++ .../score/ScoreAccessibilityInspectorView.qml | 62 +++++ 20 files changed, 477 insertions(+), 8 deletions(-) create mode 100644 share/styles/MSN/CMakeLists.txt create mode 100644 src/inspector/models/score/scoreaccessibilitysettingsmodel.cpp create mode 100644 src/inspector/models/score/scoreaccessibilitysettingsmodel.h create mode 100644 src/inspector/view/qml/MuseScore/Inspector/score/ScoreAccessibilityInspectorView.qml diff --git a/share/styles/CMakeLists.txt b/share/styles/CMakeLists.txt index a5613cd4a252b..4710cb62ef07b 100644 --- a/share/styles/CMakeLists.txt +++ b/share/styles/CMakeLists.txt @@ -31,4 +31,4 @@ install(FILES cchords_sym.xml DESTINATION ${Mscore_SHARE_NAME}${Mscore_INSTALL_NAME}styles ) - +add_subdirectory(MSN) diff --git a/share/styles/MSN/16mm_MSN.mss b/share/styles/MSN/16mm_MSN.mss index dea96eb344eff..e3b4fee4e8ca1 100644 --- a/share/styles/MSN/16mm_MSN.mss +++ b/share/styles/MSN/16mm_MSN.mss @@ -1,6 +1,6 @@ -