Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Pyqt5 : finding the selection in a qTextEdit
Forum Updated to NodeBB v4.3 + New Features

Pyqt5 : finding the selection in a qTextEdit

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 140 Views 1 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.
  • A Offline
    A Offline
    Arbiel
    wrote 24 days ago last edited by
    #1

    Hi

    How can I get the location of a selection in a QTextEdit ?

    Thank you for any piece of advice.

    Arbiel

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote 24 days ago last edited by
      #2

      Hi and welcome to devnet,

      Which position do you mean ? In widget coordinates ? The number of chars from the start of the text ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      12 May 2025, 14:22

      • Login

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