diff options
author | Marius Bugge Monsen <mmonsen@trolltech.com> | 2009-05-18 15:24:31 +0200 |
---|---|---|
committer | Marius Bugge Monsen <mmonsen@trolltech.com> | 2009-05-18 15:24:31 +0200 |
commit | ac923c78a3b5db42d241d82d48e194dd2f58a450 (patch) | |
tree | b88c964f406d8d423138e9e7b76e436d945d2225 /src/qgraphicstreeview.h | |
parent | 2e54034388c19cbcc345b6f98faaca8a81e9c58a (diff) |
Add initial implementation of anchor selections in trees. This api and implementation is temporary and will have to be refactored.
Diffstat (limited to 'src/qgraphicstreeview.h')
-rw-r--r-- | src/qgraphicstreeview.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qgraphicstreeview.h b/src/qgraphicstreeview.h index 434e932..27ab981 100644 --- a/src/qgraphicstreeview.h +++ b/src/qgraphicstreeview.h @@ -145,7 +145,8 @@ public: //const QList<QtGraphicsTreeViewItem*> &viewItems() const; virtual void doLayout(); - virtual QtTreeModelIterator itemAt(const QPointF &position, QRectF *rect = 0) const; + virtual QtTreeModelIterator itemAt(const QPointF &position, int *index = 0, QRectF *rect = 0) const; + virtual int indexOf(const QtTreeModelIterator &it) const; virtual void initStyleOption(QStyleOptionViewItemV4 *option) const; virtual void initStyleOption(QStyleOptionViewItemV4 *option, const QtTreeModelIterator &it, int column) const; |