Developing Table and columns which gets updated Dynamically for Desktop- Plz Assit
-
wrote on 13 Mar 2012, 09:20 last edited by
HI,
I am trying to develop a desktop application which has certain number of tables and columns with data in them, that data is required to be updated in the new row and column.After some time if some new data comes another row gets added dynamically like this :
Row 4 r4c1 r4c2 r4c3 r4c4
and subsequently more rows...
Row 5 r5c1 r5c2 r5c3 r5c4so the table will look after two new updatation of rows as follows : - as shown in the snapshot.
"snapshot -->":http://www.sendspace.com/file/rxuaulI have picked the stardelegate example in QtSDK/Examples/4.7/itemviews and startign to modify it.Plz assit me is this the right direction.
Rgds
Softy -
wrote on 13 Mar 2012, 13:55 last edited by
You have to implement the model and call beginInsertRow / endInsertRow before / after adding the row data.
The view should then update itself. -
wrote on 13 Mar 2012, 14:28 last edited by
Thanks Gerolf , I am new to Qt but know C++, i will move forward with your "implement the model" word and rest of the tips.
Rgds,
Softy
3/3