The difference between Qt::Key_Enter and Qt::Key_Return
It's specified in the documentation, though in a slightly subtle manner. Essentially, Qt::Key_Enter
is the keypad Enter, while Qt::Key_Return
is the "regular" Enter, the one which you normally use while typing.