Yes but your dialog needs to accept focus to receive key events. How many times do I have to say it for you to understand?
Yes but your dialog needs to accept focus to receive key events. How many times do I have to say it for you to understand?
How to make the dialogs to accept the focus??
Go to QWidget API and keep reading it until you find something that might indicate that it's related to focus.
How to capture the key press events in QT in windows7?? CTRL+ALT+ some alphabet combination's. if we press this combination.. the particular event function should be called...
I have used the following code.. it works fine in xp(Qt 1.3.1) but it is not working in windows 7.,(Qt 4.3)::
Qt Code:
To copy to clipboard, switch view to plain text mode
For the last time: shortcuts, key events and such work in terms of focus. One of children of the window containing the shortcut needs to have focus for the shortcut to trigger.
Bookmarks