QKeySequence. How to re-define standard keyboard shotcut?
QKeySequence defines many QKeySequence::StandardKey {standard
keyboard shortcuts} to reduce the amount of effort required when
setting up actions in a typical application.
Some key combinations (Ctrl+W in my case) are hard-coded in QKeySequence.cpp
The list of hard-coded key sequences are provided in the QKeySequence class documentation.
If the QAction is created with the same shot-cut then slot is not called and the following message is printed:
How can I re-define Ctrl+W key combination?
5 replies
You must log in to post a reply. Not a member yet? Register here!


