<?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[Access to state widget in QTableWidget]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">i would like to know how to access to the state of a widget (QCheckBox for example) in a QTableWidget ?</p>
<p dir="auto">Regards.</p>
]]></description><link>https://forum.qt.io/topic/59553/access-to-state-widget-in-qtablewidget</link><generator>RSS for Node</generator><lastBuildDate>Fri, 25 Sep 2026 00:37:06 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/59553.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Oct 2015 16:34:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Access to state widget in QTableWidget on Fri, 09 Oct 2015 21:08:21 GMT]]></title><description><![CDATA[<p dir="auto">Then use cellWidget and qobject_cast to get your QCheckBox, then you can retrieve its state</p>
]]></description><link>https://forum.qt.io/post/293177</link><guid isPermaLink="true">https://forum.qt.io/post/293177</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 09 Oct 2015 21:08:21 GMT</pubDate></item><item><title><![CDATA[Reply to Access to state widget in QTableWidget on Fri, 09 Oct 2015 14:20:40 GMT]]></title><description><![CDATA[<p dir="auto">yes of course :</p>
<p dir="auto">QCheckBox *chk = new QCheckBox("");<br />
ui-&gt;tableWidget-&gt;setCellWidget(x,y,chk);</p>
]]></description><link>https://forum.qt.io/post/293113</link><guid isPermaLink="true">https://forum.qt.io/post/293113</guid><dc:creator><![CDATA[fgdevel]]></dc:creator><pubDate>Fri, 09 Oct 2015 14:20:40 GMT</pubDate></item><item><title><![CDATA[Reply to Access to state widget in QTableWidget on Thu, 08 Oct 2015 23:14:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Since you take the QCheckBox example, how are you setting up your QTableWidget ?</p>
]]></description><link>https://forum.qt.io/post/293020</link><guid isPermaLink="true">https://forum.qt.io/post/293020</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 08 Oct 2015 23:14:18 GMT</pubDate></item></channel></rss>