How to get the modal of QTableView
Unsolved
General and Desktop
-
I have a QTableView named "table"
I have posted some data in some functions
I want to get the modal of "table"I found one method
ui->table->model(); // -->> what is returned by this QAbstractTableModel model = ui->report->model();
I think there is error in my code
How can I do it
-
Hi,
Please reread the method signature. It returns a pointer to a QAbstractItemModel.