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. Does TextEdit/QTextDocument could be used for a complex editable document

Does TextEdit/QTextDocument could be used for a complex editable document

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 148 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.
  • M Offline
    M Offline
    Mykola Krachkovsky
    wrote on last edited by
    #1

    For my pet project a need QML item that allows editing of rather complex stuff. Something like formula editor in office applications. While TextEdit allows some HTML4, that's not enough for this task, as it can't edit, lets say something like mathematical matrix, system of equations or something like this:
    random-formula.png

    Is it possible to use QTextDocument+QTextObject to achieve rendering and fluent editing, copy-pasting of such stuff?

    If not, would it be better to rely on private API QQuickTextControl, or is it simpler to write it from scratch using QKeySequence to get OS independent behaviour?

    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