QPlainTextEdit format text



  • 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 ... ?


  • Qt Champions 2017

    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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.