But this method is applied when you have a Menu bar right? Which i do
NOT use.
I just want the key combination Alt+Esc to hide my app.....
Examples please?
Thanks.
Sundance escribió:
Gustavo A. Díaz wrote:
As i said, only Escape key.
I want to know to do the same but with alt + Escape....... or which
is the way to do it...
Hi Gustavo,
I am not sure I understand what it is that gives you trouble here. Is it
that you don't know how to go about it, or is it that it doesn't work
properly for you?
In case it's the former, you will probably want to wrap the window
hiding code under a QAction, and give that QAction the
shortcut 'Alt+Esc' with QAction.setShortcut().
Remember that a QAction must be added to a widget (with
QWidget.addAction()) before its shortcut will work.
With kind regards,
-- S.
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
|
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt