In Qtableview Column data Synchronize
-
I have two Qtableviews ( Qstandarditemmodel) so is there a way i can make two column as synchronize .
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.
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
if i use datachange signal then it will be very slow i guess! or as data will be change in both the tables
I have tables with 7 rows & 10 columns .
How can i do this ?? -
Hi,
If properly used, there should be no issue with dataChanged.
Why do you need two different models for that ?
-
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
my mistake,actually i have 2 tables with diff columns