You would be better off using one of the prebuilt SQL models, but I think your problem is that you have created your QStandardItemModel to contain no rows!
Try changing the zero to something else or using the appendRow() method.
You would be better off using one of the prebuilt SQL models, but I think your problem is that you have created your QStandardItemModel to contain no rows!
Try changing the zero to something else or using the appendRow() method.
Bookmarks