I am currently working on adding the ability to assign a shortcut to any
palette element as part of GSoC 2017. I'm facing some problems because the
palette cell names are not unique. To assign a shortcut to a palette
element, I need to be able to uniquely identify the palette element. The
default palette cell names can be made unique by changing some of the names.
I'm not sure if the cell names in user palettes should be made unique.
Another option would be to add another member to the PaletteCell class,
which can be made unique, leaving the cell names as is.
I would also like to add a member of type Shortcut to the PaletteCell class.
Currently, I'm maintaining a list of palette shortcuts in preferences, but
if there was a shortcut member in the PaletteCell class, updating of
shortcuts and the ability to assign shortcuts to user palettes would become
much easier to implement.
Please let me know if these modifications are feasible.



--
View this message in context: 
http://dev-list.musescore.org/Modification-of-the-PaletteCell-class-to-assign-shortcuts-to-palette-elements-tp7580303.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to