diff options
Diffstat (limited to 'gui/groupview/GroupView.h')
-rw-r--r-- | gui/groupview/GroupView.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/groupview/GroupView.h b/gui/groupview/GroupView.h index e8f9107c..b3ab5357 100644 --- a/gui/groupview/GroupView.h +++ b/gui/groupview/GroupView.h @@ -24,6 +24,8 @@ public: GroupView(QWidget *parent = 0); ~GroupView(); + void setModel(QAbstractItemModel *model) override; + /// return geometry rectangle occupied by the specified model item QRect geometryRect(const QModelIndex &index) const; /// return visual rectangle occupied by the specified model item @@ -69,6 +71,7 @@ slots: virtual void rowsInserted(const QModelIndex &parent, int start, int end) override; virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end) override; virtual void updateGeometries() override; + void modelReset(); protected: virtual bool isIndexHidden(const QModelIndex &index) const override; |