QStandardItem subclassing?
-
I dont know how to reimplement method item, that it will return myItem, i looked into the sourcecodes, but i dont know what to do... a just think about copy data from myModel->item(r,c); but the method return the pointer, and i will then dont return the exact pointer
@QStandardItem *QStandardItemModel::item(int row, int column) const
{
Q_D(const QStandardItemModel);
return d->root->child(row, column);
}@and i think about the reimplementing the setItem, because i dont know either how to do it :(
i dont know what to do... sources doesnt help me much, that are so many functions i cant use