diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-05-29 15:18:38 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2009-05-29 15:18:38 (GMT) |
commit | 53187fabdbfb8a513e735fdd034e1a9fbbccc9cd (patch) | |
tree | 4d262607a95c75f73b6d06574c2af6ec9f69568b /src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h | |
parent | 32155ed07a6f8b8c831db6ba219395b4825fa9fd (diff) | |
download | Qt-53187fabdbfb8a513e735fdd034e1a9fbbccc9cd.zip Qt-53187fabdbfb8a513e735fdd034e1a9fbbccc9cd.tar.gz Qt-53187fabdbfb8a513e735fdd034e1a9fbbccc9cd.tar.bz2 |
Add an API to know the indexed rect of the index.
Usefull for the POV of the scene and let the BSP update its internal
structure before the next event loop reentrancy.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h b/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h index 63cd0e1..7a6ea0b 100644 --- a/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h +++ b/src/gui/graphicsview/qgraphicsscenebsptreeindex_p.h @@ -61,6 +61,7 @@ class Q_AUTOTEST_EXPORT QGraphicsSceneBspTreeIndex : public QGraphicsSceneIndex Q_OBJECT public: QGraphicsSceneBspTreeIndex(QGraphicsScene *scene = 0); + QRectF indexedRect(); void clear(); |