<?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[In Qtableview Column data Synchronize]]></title><description><![CDATA[<p dir="auto">I have two Qtableviews ( Qstandarditemmodel) so is there a way i can make two column as synchronize .<br />
Use case1: in table1 when user enter values in column 1 and 2 (x,y values ) then based on these in table2 column 3 (calculate theta ) calculation should happen.<br />
Second if user enter data in table2 column3 (enteres theta ) then based on this in table1 column 1 and 2 (cal x, y) data should update<br />
if i use datachange signal then it will be very slow i guess!  or as data will be change in both the tables<br />
I have tables with 7 rows &amp; 10 columns .<br />
How can i do this ??</p>
]]></description><link>https://forum.qt.io/topic/127029/in-qtableview-column-data-synchronize</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 04:57:06 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/127029.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 May 2021 18:57:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to In Qtableview Column data Synchronize on Thu, 27 May 2021 18:43:39 GMT]]></title><description><![CDATA[<p dir="auto">thankyou for answers. understood  i will use datachanged slot</p>
]]></description><link>https://forum.qt.io/post/661935</link><guid isPermaLink="true">https://forum.qt.io/post/661935</guid><dc:creator><![CDATA[n-2204]]></dc:creator><pubDate>Thu, 27 May 2021 18:43:39 GMT</pubDate></item><item><title><![CDATA[Reply to In Qtableview Column data Synchronize on Thu, 27 May 2021 12:35:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/n-2204">@<bdi>n-2204</bdi></a><br />
If you have multiple tables you will need each one to have its own <code>dataChanged</code> slot connected.  If you need one table's data to alter another table's data it will need to know the instance of the other table to call <code>setData()</code> on.</p>
]]></description><link>https://forum.qt.io/post/661863</link><guid isPermaLink="true">https://forum.qt.io/post/661863</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Thu, 27 May 2021 12:35:54 GMT</pubDate></item><item><title><![CDATA[Reply to In Qtableview Column data Synchronize on Thu, 27 May 2021 04:33:42 GMT]]></title><description><![CDATA[<p dir="auto">ok.  so if using datachange i can only mention signal for one table  , i need to update for both the table datachange, user can  enter data  in any table<br />
my mistake,actually i have 2 tables with diff columns</p>
]]></description><link>https://forum.qt.io/post/661818</link><guid isPermaLink="true">https://forum.qt.io/post/661818</guid><dc:creator><![CDATA[n-2204]]></dc:creator><pubDate>Thu, 27 May 2021 04:33:42 GMT</pubDate></item><item><title><![CDATA[Reply to In Qtableview Column data Synchronize on Wed, 26 May 2021 19:45:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">If properly used, there should be no issue with dataChanged.</p>
<p dir="auto">Why do you need two different models for that ?</p>
]]></description><link>https://forum.qt.io/post/661787</link><guid isPermaLink="true">https://forum.qt.io/post/661787</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 26 May 2021 19:45:57 GMT</pubDate></item></channel></rss>