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



  • hey everybody,

    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 :(

    help pls



  • no replies here?



  • I think you need set TextInteractionFlags without Qt::TextSelectableByMouse
    See
    @ setTextInteractionFlags ( Qt::TextInteractionFlags flags )@



  • Solved :D

    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


Log in to reply