Hi!
What i want to do this time, is to disable a key event in my app. For
example i want to avoid closing the app by pressing ALT + F4:
def keyPressEvent(self, event):
if event.key() == QtCore.Qt.Key_F4 and (event.modifiers() &
QtCore.Qt.AltModifier):
# DO Nothing. How?
So, which action or code i should implement in place of "# DO Nothing. How?"
?
Thanks.
Cheers.
--
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt