I have a Model-View Application.
Model represents a QList<QStringList> structure.
in sort() function of model I swap the positions of items in QList<QStringList> but there is no refresh of the view - QTableView.
Please help!
I have a Model-View Application.
Model represents a QList<QStringList> structure.
in sort() function of model I swap the positions of items in QList<QStringList> but there is no refresh of the view - QTableView.
Please help!
You have to emit a layoutChanged() signal after reordering items.
araglin (14th January 2009)
Bookmarks