Different alignments on the same line in QTextDocument



  • Hi,
    my problem is that I cannot/don't know how to set different alignments for parts of a text on the same line. Specifically I need to center one part of the line and align right the other part. I don't want to use html because I would have to use it in the entire document (or am I wrong?).

    Is there some way to do it?
    Thanks.


Log in to reply
 

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