Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
refresh data in QTableView(QAbstractItemView)
ShinSat last edited by ShinSat
I have a quick question about QAbstractItemModel.dataChanged signal.
Does it update/refresh the view without touching the view such as selecting a cell and resizing the view?
I want to pragmatically update my view in real time with the signal but it's not working.
My view is only updated when I touch the view(eg.resizing).
VRonin last edited by
if the model and the view are implemented correctly then yes, everything works out of the box, no need to do anything manual.
QAbstractItemView::setModelwill take care of putting the plumbing in place
ShinSat last edited by
@VRonin Thanks for confirmation!