On Wednesday 04 November 2009, Manuel Enrique wrote:
> How can I set a global shorcut for my app? 

look up setShortcutContext in the docu:

res = KAction(self)
# should also work with QAction, I suppose
res.setShortcut( Qt.CTRL + shortcut)
res.setShortcutContext(Qt.ApplicationShortcut)


-- 
Wolfgang
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to