Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved]De-select text in text browser
Forum Update on Monday, May 27th 2025

[Solved]De-select text in text browser

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 2.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alfah
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alfah
      wrote on last edited by
      #2

      no replies here?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vsorokin
        wrote on last edited by
        #3

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

        --
        Vasiliy

        1 Reply Last reply
        0
        • A Offline
          A Offline
          alfah
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved