Keyboard input (outside of LineEdit or other entry widgets)
-
I'd like my app to respond to various keyboard events, and not only through the various text-entry widgets. For example, I'd like CTRL-Q to quit the application. I'd also like to program many custom shortcuts like this. To further clarify what I want, these will be keyboard shortcuts in my QT app itself, not keyboard shortcuts in QT-Designer, or QT-Assistent, or other QT tools.
I searched the QT ASsistant for 'keyboard events' and a few other search phrases, but I didn't find what I want. This must be possible with QT. How can I do it, or can someone point me to the documentation for it and maybe an example?
-
Hi,
You are looking for QAction