QStandardItemModel::QStandardItemModel(QObject * parent = 0)
Constructs a new item model with the given parent.
我认为模型可以共享多个视图,那么为什么我们将小部件传递给 QStandardItemModel 构造函数?
QStandardItemModel::QStandardItemModel(QObject * parent = 0)
Constructs a new item model with the given parent.
我认为模型可以共享多个视图,那么为什么我们将小部件传递给 QStandardItemModel 构造函数?