Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to make text in Text item highlightable/copiable?
Forum Updated to NodeBB v4.3 + New Features

How to make text in Text item highlightable/copiable?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 2 Posters 215 Views 2 Watching
  • 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.
  • P Offline
    P Offline
    patrickkidd
    wrote on last edited by
    #1

    It is not possible to highlight the text of a Text element with the mouse by default. That means it is not possible to copy the text. Is there a flag or something to enable this?

    Cheers!

    https://alaskafamilysystems.com/

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Use TextEdit instead. You can make t read only but set selectByMouse to true.

      (Z(:^

      1 Reply Last reply
      4

      • Login

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