Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Multiple QTextBlocks in same paragraph
Forum Updated to NodeBB v4.3 + New Features

Multiple QTextBlocks in same paragraph

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 95 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
    Adamxxk
    wrote on last edited by
    #1

    I found a previous question on here from 2012, which no one answered.

    I'm curious it is possible to have a paragraph made up of multiple QTextBlocks when viewed in QTextEdit (by subclassing QTextBlock, changing QAbstractTextDocumentLayout, anything). I would really like to be able to "track" and add userData to individual sentences, and even sequences of words, inside a single paragraph. Even if that means having to track paragraph markers within a QTextBlock's userData.

    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