32 QAbstractItemModel *
const Model_;
33 const QModelIndex Parent_;
65 ModelIterator (QAbstractItemModel *model,
int row,
int col = 0,
66 Direction dir = Direction::Rows,
const QModelIndex& parent = {});
73 ModelIterator& operator++ ();
80 ModelIterator operator++ (
int);
87 ModelIterator& operator-- ();
94 ModelIterator operator-- (
int);
101 ModelIterator& operator+= (
int count);
109 ModelIterator& operator-= (
int count);
123 int operator- (
const ModelIterator& other)
const;
147 friend UTIL_MODELS_API bool operator!= (
const ModelIterator& left,
const ModelIterator& right);
154 QModelIndex operator* ()
const;
172 int& GetIncrementable ();
173 int GetIncrementable ()
const;