PDA

View Full Version : QPlainTextEdit and mouseMoveEvent()



Carlsberg
8th June 2009, 06:48
I have to rewrite mouseMoveEvent() for a QPlainTextEdit. How can I move the text cursor to follow the mouse cursor?

Carlsberg
8th June 2009, 07:33
Got it. I must call

QTextEdit::mousePressEvent(event);
:rolleyes: :o