[Interest] context menu shortcut?

Shawn Rutledge Shawn.Rutledge at qt.io
Tue Jan 17 08:27:28 CET 2017


> On 16 Jan 2017, at 20:51, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> 
> Hi,
> 
> I presume that Qt opens the currently defined/available context menu in reaction to pressing the corresponding key on MS Windows and possibly on Linux too.
> 
> Is there a way to assign a shortcut to this action on Mac too (and on Linux, if not already the case)?

It’s not in QKeySequence::StandardKey.  There is a table in the QKeySequence docs which shows the standard key assignments on each platform.

Personally I don’t miss that on Linux… it’s just an extra key available for some other purpose (I’ve used it as a compose key sometimes, for example).



More information about the Interest mailing list