pyface icon indicating copy to clipboard operation
pyface copied to clipboard

Add keyboard shortcuts for toolbar actions

Open tonysyu opened this issue 10 years ago • 4 comments

QMenu.addAction has a key-sequence argument in it's signature, but QToolBar.addAction doesn't, so the initialization of keyboard shortcuts is a bit different.

tonysyu avatar Aug 08 '14 21:08 tonysyu

Is there someone assigned as the gatekeeper for pyface? @rkern: Could you review or suggest someone for review?

tonysyu avatar Sep 02 '14 23:09 tonysyu

While this would be the correct thing to do, i suspect it may break many applications which use same action in toolbar and menubar, since now Qt would start showing ambiguous shortcut overload warnings.

pankajp avatar Sep 03 '14 03:09 pankajp

I suggest not to push this in 4.5.0 as the idea of 4.5.0 is to get a stable released version for the apps like Canopy that are currently working out of master.

dpinte avatar Mar 13 '15 17:03 dpinte

I find that I often end up with two versions of an Action anyway - typically you want an icon for toolbar Actions, but don't for menu actions.

corranwebster avatar Sep 25 '15 16:09 corranwebster