引用第2楼huyaowu于2010-11-01 08:50发表的 回 1楼(XChinux) 的帖子 :
QStandardItem有一个函数virtual int type () const
函数说明是
Returns the type of this item. The type is used to distinguish custom items from the base class. When subclassing QStandardItem, you should reimplement this function and return a new value greater than or equal to UserType
.......
