-
Refresh Issue
Hi,
I have a dialog and a QTableView in it and one row is check box Qt::CheckstateRole
i have other button on dialog that updates these check boxex like ' select all' i have called
setData() function of Model and it updates the model but UI is not refreshed.
it is refreshed only when i click on QTableView Widget.
Help.
-
Re: Refresh Issue
What is the model? Yours or a predefined one? How exactly do you call setData()?
-
Re: Refresh Issue
How about calling QAbstractItemModel::reset after you have set the check states :)