QLineEdit has some keyboard shortcuts (e.g. Ctrl+Z for Undo) that clash with the shortcuts for QActions in my application menus. When a QLineEdit has keyboard focus, it intercepts these shortcuts and my QActions are never triggered.

I'd like to give application-level shortcuts precedence over QLineEdit's shortcuts, but I can't seem to find a clean and general way to do this.

Alternatively, is there a way to customize the keyboard shortcuts in QLineEdit? If I could disable some of the problematic shortcuts that would be a reasonable workaround.

- Nathan
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to