如何清除QTreeView里面的model
请问下怎么清除QTreeView里面的model, 就像QComboBox的clear()函数那样,一下把里面的东西全清空了
[解决办法]
void QTreeWidget::clear ()
Clears the tree widget by removing all of its items and selections.
[解决办法]
清空model中的数据,QTreeView中的数据,自动清空
发布时间: 2012-01-30 21:15:58 作者: rapoo
如何清除QTreeView里面的model
请问下怎么清除QTreeView里面的model, 就像QComboBox的clear()函数那样,一下把里面的东西全清空了
[解决办法]
void QTreeWidget::clear ()
Clears the tree widget by removing all of its items and selections.
[解决办法]
清空model中的数据,QTreeView中的数据,自动清空