krivenok
28th March 2006, 11:42
Hello all!
I want to use QTextEdit in my chat dialog and send messages via "Enter" press.
How to change QTextEdit's behaviour (on Enter press) without reimplementing keyPressEvent???
I can't use class derived of QTextEdit, because it should be used in QT Desinger (i.e. only standart widgets are allowed).
Thanks!
I want to use QTextEdit in my chat dialog and send messages via "Enter" press.
How to change QTextEdit's behaviour (on Enter press) without reimplementing keyPressEvent???
I can't use class derived of QTextEdit, because it should be used in QT Desinger (i.e. only standart widgets are allowed).
Thanks!