Re: [Mscore-developer] How to create a menu item

2015-05-17 Thread Jim Newton
yes, that helps. Thanks. -- View this message in context: http://dev-list.musescore.org/How-to-create-a-menu-item-tp7579356p7579358.html Sent from the MuseScore Developer mailing list archive at Nabble.com. -- One dash

Re: [Mscore-developer] How to create a menu item

2015-05-16 Thread Marc Sabatella
The menus are built from the same actions used for shortcuts, so the code you've found is the first step. Then, to add the menu itself, see: https://github.com/musescore/MuseScore/blob/8911cdd6c94faf8a0d569829fb885fa2ddcd0f7d/mscore/musescore.cpp#L618 Then you add a handler for the action (eg, s

[Mscore-developer] How to create a menu item

2015-05-16 Thread Jim Newton
I'm looking into the Musescore code trying to figure out how the pulldown menu items are created. I searched for "Explode" for example because that's a menu item in the Edit->Tools submenu. But the only places I found in the code were dealing with the shortcut. https://github.com/musescore/MuseSc