Can you show your code that is catching the "enter" key?
Basically you need to overload keyPressEvent(), and check for the key code Qt::Key.
Should not be a problem.