15 return grp->childCount();
28 QVariant res = QVariant();
30 if (role == Qt::DisplayRole) {
31 if (index.isValid()) {
38 res = obj->columnData(index.column());
49 QVariant res = QVariant();
51 if (role == Qt::DisplayRole) {
52 if (orientation == Qt::Horizontal) {
66 }
else if (orientation == Qt::Vertical) {
int columnCount(const QModelIndex &parent=QModelIndex()) const
QVariant headerData(int section, Qt::Orientation orientation, int role) const
QSharedPointer< QcepDataGroup > QcepDataGroupPtr
int rowCount(const QModelIndex &parent=QModelIndex()) const
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
QcepDataGroupSpreadsheetModel(QcepDataGroupWPtr group)
QSharedPointer< QcepDataObject > QcepDataObjectPtr
QcepDataGroupWPtr m_Group
QWeakPointer< QcepDataGroup > QcepDataGroupWPtr