[Qt-interest] 2 QTextEdit: how to obtain a visible cursor in both at startup

TP paratribulations at free.fr
Fri Jan 14 18:00:42 CET 2011


Konstantin Tokarev wrote:

> Maybe he needs just simultaneous scrolling of text areas (like implemented
> in some diff viewers), not two actual cursors?

Yes, I have implemented the simultaneous scrolling of text areas without 
much problem.
But I need also the two cursors visible at startup. With my workaround 
(empty focusOutEvent), it works, but only once the user has clicked one time 
in the QTextEdit that has no focus at startup.

Julien




More information about the Qt-interest-old mailing list