Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved]De-select text in text browser
I have used a text browser in the form. When i run the application on C7, the text in the browser is selected as you scroll down.
I dont want the text to be selected. There is an option in the designer to disable the text in the browser, but disabling means, i cannot scroll down :(
no replies here?
vsorokin last edited by
I think you need set TextInteractionFlags without Qt::TextSelectableByMouse
@ setTextInteractionFlags ( Qt::TextInteractionFlags flags )@
i had created the browser in the designer. In the properties of the designer, there is an attribute called
'textInteractionFlags' , unmark all the marked check boxes, text selectable by mouse etc