I'm writing a QT application that includes QTextBrowser
.
When the app doing some functions the function prints lines in the QTextBrowser
and during write the lines if i press the mouse left button on any printed line on the QTextBrowser
the app restart printing the lines from that line i pressed on.
how to prevent that ?
Example:
- all function output:
Device user: xvalid 1
Device model: alpha 16
Device name: Samsoni
Working stage: level 16
- during the lines printing if i press on second line with left mouse button this will happen:
Device user: xvalid 1
Device model: alpha 16 Device name: Samsoni
Working stage: level 16
as you see the app will re-set the start writing point from where i pressed