<?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[QGridLayout border]]></title><description><![CDATA[<p dir="auto">anyway to draw vertical or horizontal border line in QGridLayout, kind like excel with border line in each cell</p>
]]></description><link>https://forum.qt.io/topic/91345/qgridlayout-border</link><generator>RSS for Node</generator><lastBuildDate>Tue, 22 Sep 2026 13:07:02 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/91345.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Jun 2018 19:03:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QGridLayout border on Tue, 05 Jun 2018 06:19:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
No as far as as i have seen.<br />
But you could make a custom widget that inspect its layout and draw the lines on its surface.<br />
Since layout is non visual, that will show trough.<br />
You should be able to get info via<br />
<a href="http://doc.qt.io/qt-5/qgridlayout.html#cellRect" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qgridlayout.html#cellRect</a><br />
You must also hook up to signal from layout ( if any ) to let widget know if layout changes.</p>
<p dir="auto">But you need cells , why didn't you use QTableWidget/view ?</p>
]]></description><link>https://forum.qt.io/post/461840</link><guid isPermaLink="true">https://forum.qt.io/post/461840</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Tue, 05 Jun 2018 06:19:39 GMT</pubDate></item></channel></rss>