I use QStandardItemModel to display data in QTableVIew.
i set already tableview model to the itemmodel
Qt Code:
table->setModel(yourMomModel);To copy to clipboard, switch view to plain text mode
then i added the item in model
Qt Code:
yourMomModel.append(item2);To copy to clipboard, switch view to plain text mode
but the data not showing in QtableView.
anybody know whats wrong thanks.




Reply With Quote
Bookmarks