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. QPlainTextEdit format text

QPlainTextEdit format text

Scheduled Pinned Locked Moved Unsolved General and Desktop
qplaintextedit
2 Posts 2 Posters 685 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.
  • D Offline
    D Offline
    dridk2
    wrote on 15 Jun 2017, 17:32 last edited by
    #1

    I would like to have a QPlainTextEdit which add space every 3 letter. For exemple :

    ACG GTA CAT GTA 
    

    Where Do I start ? QTextDocument ? QDocumentLayout ? QTextblock ... ?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 15 Jun 2017, 19:43 last edited by
      #2

      Im not sure what the overall goal is but
      you could maybe cheat with an eventfilter and count the keypresses and
      for every 3, send a keySpace also.

      1 Reply Last reply
      0

      1/2

      15 Jun 2017, 17:32

      • 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