<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Different alignments on the same line in QTextDocument]]></title><description><![CDATA[<p dir="auto">Hi,<br />
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?).</p>
<p dir="auto">Is there some way to do it?<br />
Thanks.</p>
]]></description><link>https://forum.qt.io/topic/79806/different-alignments-on-the-same-line-in-qtextdocument</link><generator>RSS for Node</generator><lastBuildDate>Mon, 28 Sep 2026 17:15:16 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/79806.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 May 2017 13:35:34 GMT</pubDate><ttl>60</ttl></channel></rss>