<?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[Set Border for QtextEdit]]></title><description><![CDATA[<p dir="auto">How can i set border for QTextEdit</p>
]]></description><link>https://forum.qt.io/topic/19268/set-border-for-qtextedit</link><generator>RSS for Node</generator><lastBuildDate>Sun, 27 Sep 2026 13:24:35 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/19268.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Aug 2012 13:27:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Set Border for QtextEdit on Thu, 23 Aug 2012 05:37:06 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for your reply i will try</p>
]]></description><link>https://forum.qt.io/post/148276</link><guid isPermaLink="true">https://forum.qt.io/post/148276</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 23 Aug 2012 05:37:06 GMT</pubDate></item><item><title><![CDATA[Reply to Set Border for QtextEdit on Wed, 22 Aug 2012 18:43:55 GMT]]></title><description><![CDATA[<p dir="auto">Use stylesheets...</p>
<p dir="auto">Example Stylesheet:<br />
@<br />
QTextEdit {<br />
border: 1px solid black;<br />
}<br />
@</p>
<p dir="auto">or<br />
@<br />
#ObjectName {<br />
border: 1px solid black;<br />
}<br />
@</p>
<p dir="auto">or<br />
@<br />
QString styleSheetString = "#QTextEdit { border: 1px solid black; }";<br />
ui-&gt;text_edit_object-&gt;setStyleSheet(styleSheetString);<br />
@</p>
<p dir="auto">there are many ways to do it....or you could use QPalette</p>
]]></description><link>https://forum.qt.io/post/148247</link><guid isPermaLink="true">https://forum.qt.io/post/148247</guid><dc:creator><![CDATA[vezprog]]></dc:creator><pubDate>Wed, 22 Aug 2012 18:43:55 GMT</pubDate></item><item><title><![CDATA[Reply to Set Border for QtextEdit on Wed, 22 Aug 2012 13:33:40 GMT]]></title><description><![CDATA[<p dir="auto">QTextEdit is derived from QFrame.<br />
So look at the "docu of QFrame":<a href="http://qt-project.org/doc/qt-4.8/qframe.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/doc/qt-4.8/qframe.html</a> :-)</p>
]]></description><link>https://forum.qt.io/post/148225</link><guid isPermaLink="true">https://forum.qt.io/post/148225</guid><dc:creator><![CDATA[giesbert]]></dc:creator><pubDate>Wed, 22 Aug 2012 13:33:40 GMT</pubDate></item></channel></rss>