But is there as convenient solution basing on a model as using QTableWidget which has all of these "insert/removeRow", "clearContents" slots?
The sorting will be the next problem, but at the moment my problem is the communicate, which I receive after trying to compile:
Qt Code:
proxyModel->setSourceModel(tableSource.model()); ui.tableSongs->setModel(proxyModel);To copy to clipboard, switch view to plain text mode
The communicate is as follows:
To be accurate, my "tableSongs" is not pure QTableWidget - I have promoted it to "upgTableWidget" - QTableWidget subclass. Can it be the reason of the error?...src/gui/itemviews/qtablewidget.h:338: error: 'virtual void QTableWidget::setModel(QAbstractItemModel*)' is private
Bookmarks