Qt: how to apply a 2-step key shortcut to action

Viewed 1526

I know how to apply a keyboard shortcut to an action. And in some software such as Visual Studio there are shortcuts that do the job in more than one step (such as Ctrl+K,Ctrl+C to comment the code).

Another example of that in Sublime Text:

I wonder whether or not it is possible to implement in Qt.

3 Answers
Related