Hello, I'm trying to detect the key combination of CTRL+DOWN for a QLineEdit widget. This is what I've tried, but it doesn't work. def keyPressEvent(self, event): if event.key() == QtCore.Qt.Key_Down and \ int(event.modifiers() & QtCore.Qt.ControlModifier) == QtCore.Qt.ControlModifier print "CTRL key is down." What did I miss? Thanks for your help!