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