Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
Edit QTableView from external windows
oxycoder last edited by
I have QTableView using QStandardItemModel in QMainWindow
I can use signal and slot to send data to external windows (QWidget), edit and send the data back to QMainWindow.
But there is a problem that once I access model from tableview in slot (QMainWindow), the model is empty. So I guess the slot in QMainWindow are running on different thread.
How can I access the model and update the view after edit data from my QWidget window?
Hi and welcome to devnet,
If you update your model properly, there's nothing to be done for the view since the update will be propagated.
What kind of editor do you have in mind ?