Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to get the modal of QTableView
Thank You last edited by
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
Please reread the method signature. It returns a pointer to a QAbstractItemModel.