Does it work if you change your flags() method to: Qt Code: Switch view Qt::ItemFlags GDOSGrassModel::flags(const QModelIndex &index) const{ return QAbstractItemModel::flags( index );} Qt::ItemFlags GDOSGrassModel::flags(const QModelIndex &index) const { return QAbstractItemModel::flags( index ); } To copy to clipboard, switch view to plain text mode ?
Qt::ItemFlags GDOSGrassModel::flags(const QModelIndex &index) const{ return QAbstractItemModel::flags( index );}
Qt::ItemFlags GDOSGrassModel::flags(const QModelIndex &index) const { return QAbstractItemModel::flags( index ); }
Forum Rules
Bookmarks