Hello dear Qt users.

I'm newbie on Qt Programming

I'm generate some mainwindow(menu, QPlaintextEdit(for input), QPlaintextEdit(for output))

I'm typing some text and press Enter Key in QPlaintextEdit(for input).
then QPlaintextEdit show linefeed.

Can i change ctrl + enter key doing linefeed? and Enter key doing QPlaintextEdit->clear().

And I can't catch QKeyEvent in QPlaintextEdit. How to??