Commit graph

24 commits

Author SHA1 Message Date
Werner Schweer
c5f46bb208 rename Xml() -> XmlWriter() 2016-11-19 11:51:21 +01:00
lasconic
46c91573de fix #116881: dynamic translation 2016-07-01 15:28:35 +02:00
Maurizio M. Gavioli
210dc84443 Fix #52131 - Shortcut conflict detection does not take states into account
In the dlg box for entering shortcut key sequences, since commit 2ab813d69f shortcut states are no longer taken into account.

This leads to detect non-existent conflicts between shortcuts having non-overlapping states and to rejecting legitimate key sequences.

Apparently, this has been changed because, with shortcuts for plugins, conflicts were never detected because plugin shortcuts have no state defined.

Fixed by:
- setting plugin shortcut states to all (well, to all existent states)
- re-enabling the state check in `ShortcutCaptureDialog::keyPress()`.
2015-03-23 13:38:04 +01:00
ws
f53ca60935 fix #35601 2014-11-17 11:59:28 +01:00
ws
9193d8ed79 cleanups for shortcuts 2014-11-14 18:08:02 +01:00
ws
c13a719bf3 misc. cleanups 2014-11-14 11:45:07 +01:00
Andrey M. Tokarev
e2c9e3fe7e Replace remaining char* strings in Shortcut with QString 2014-09-06 21:35:28 +04:00
Andrey M. Tokarev
b7c10b6ee9 Replace Shortcut key type char* with QString 2014-09-06 21:35:27 +04:00
Andrey M. Tokarev
80c062412a Fix icon action (char*) memory leak 2014-09-06 21:35:27 +04:00
Andrei Tuicu
7365cbd736 The screen-reader will now also tell the menu's default shorcut keys,
when it is selected.

For example instead of "File" it will now say "File Alt+F".
2014-08-18 02:58:35 +03:00
Andrei Tuicu
4ea03c6278 Finished restructoring the actions and shortcuts.
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
2014-08-12 01:51:04 +03:00
Joachim Schmitz
7709b6bf7a convert unnamed enum into enum class Icons 2014-06-24 14:47:01 +02:00
ws
f167972c81 fix #26106 2014-06-10 10:47:24 +02:00
Joachim Schmitz
7805c3d622 change enum ShortcutFlags to ": char"
as it is used for flags, turning into an enum would require much more
work
2014-05-30 13:37:41 +02:00
wschweer
95f9dec4c4 enable shortcuts in qml editor 2013-10-05 17:31:03 +02:00
ws
9ebabcc2e5 add namespace Ms 2013-05-13 19:43:59 +02:00
Maurizio M. Gavioli
51cc5bd545 Add support for "NumPad" qualifier in textual representations of key sequences both in dlg boxes and in xml files.
Also allows to remove the <code> tag from shortcuts.xml
2013-04-29 01:32:13 +02:00
Maurizio M. Gavioli
df32dee74c Fix #20826 - Numpad numbers no longer work to select note duration.
Fixed by blocking the creation (and pooling) of QAction creation for shortcuts with multiple alternatives in different states (like the 'common' and TAB-specific variants of "pad-note-..." shortcuts)

A rather detailed description of the implementation (regarding both the original, faulty, implementation and this fix) has been added to the mscore/shortcut.h file
2013-04-27 00:42:55 +02:00
ws
bf1cbe2aa0 use QXmlStreamReader for xml parsing 2013-01-11 18:10:18 +01:00
Werner Schweer
0c87a89023 fix build of mtest 2012-12-05 09:18:46 +01:00
Werner Schweer
b7db2c0461 fix crashes with plugin loading; add translation example for plugins 2012-12-05 08:46:03 +01:00
Werner Schweer
add7f7f82b cleanup actions 2012-07-19 16:13:07 +02:00
Werner Schweer
a840b5b09a add shortcuts for plugins 2012-06-06 14:16:06 +02:00
Werner Schweer
412ca45401 Initial commit 2012-05-26 14:49:10 +02:00