Report question

Question: Detecting enter on a QLineEdit or QPushButton