1) Assign each shorcut to the appropriate widget
2) Change focus policy for all docked windows so that the scoretab doesn't loose focus
unless it's necessary. (except MuseScore Connect window)
For full understanding see this discussion thread:
http://dev-list.musescore.org/Keyboard-usability-and-accessibility-tt7578844.html
modified: mscore/accessibletoolbutton.cpp
modified: mscore/actions.cpp
modified: mscore/data/shortcuts.xml
modified: mscore/globals.h
modified: mscore/inspector/inspector.cpp
modified: mscore/musescore.cpp
modified: mscore/palettebox.cpp
modified: mscore/scoretab.cpp
modified: mscore/scoretab.h
modified: mscore/shortcut.cpp
modified: mscore/shortcut.h
modified: mscore/webpage.cpp
Added all buttons from the top row.
Removed Palettes, Piano Keyboard, Inspector and MuseScore connect.
modified: mscore/inspector/inspector.cpp
modified: mscore/musescore.cpp
modified: mscore/palettebox.cpp
modified: mscore/pianoroll.cpp
modified: mscore/pianotools.cpp
modified: mscore/webpage.cpp
It is now treated as a KeyPressEvent in ScoreTab.cpp.
Now the widget that has focus will receive the event. Before, even
if a widget wanted to do something when return Key was pressed, it
was unable to do that, because shortcuts have priority over events.
modified: mscore/data/shortcuts.xml
modified: mscore/musescore.cpp
modified: mscore/scoretab.cpp
modified: mscore/scoretab.h
I have removed 4 more objects that are at this point irevelent from
an accessibility point of view, or do not provide accessibility support
yet.
modified: mscore/accessibletoolbutton.cpp
modified: mscore/importmidi_panel.ui
modified: mscore/musescore.cpp
modified: mscore/scoretab.cpp
modified: mscore/scoreview.cpp
*I've added tabbing support just for buttons that open dialogs which
already have accessibility support and for buttons that are used
for score playback.
modified: mscore/musescore.cpp
This class allows tabbing throught the tool bar and changes
the button's icon color when the focus is gained by tabbing.
It also allows triggering the default action of the button by
pressing Enter or Return key.
modified: mscore/CMakeLists.txt
new file: mscore/accessibletoolbutton.cpp
new file: mscore/accessibletoolbutton.h
I have removed 4 more objects that are at this point irevelent from
an accessibility point of view, or do not provide accessibility support
yet.
modified: mscore/accessibletoolbutton.cpp
modified: mscore/importmidi_panel.ui
modified: mscore/musescore.cpp
modified: mscore/scoretab.cpp
modified: mscore/scoreview.cpp
*I've added tabbing support just for buttons that open dialogs which
already have accessibility support and for buttons that are used
for score playback.
modified: mscore/musescore.cpp
This class allows tabbing throught the tool bar and changes
the button's icon color when the focus is gained by tabbing.
It also allows triggering the default action of the button by
pressing Enter or Return key.
modified: mscore/CMakeLists.txt
new file: mscore/accessibletoolbutton.cpp
new file: mscore/accessibletoolbutton.h