src/gui/graphicsview/qgraphicsscene_p.h
changeset 7 f7bc934e204c
parent 3 41300fa6a67c
child 30 5dc02b23752f
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     8 **
     8 **
   106     bool processDirtyItemsEmitted;
   106     bool processDirtyItemsEmitted;
   107 
   107 
   108     QPainterPath selectionArea;
   108     QPainterPath selectionArea;
   109     int selectionChanging;
   109     int selectionChanging;
   110     QSet<QGraphicsItem *> selectedItems;
   110     QSet<QGraphicsItem *> selectedItems;
   111     QSet<QGraphicsItem *> unpolishedItems;
   111     QVector<QGraphicsItem *> unpolishedItems;
   112     QList<QGraphicsItem *> topLevelItems;
   112     QList<QGraphicsItem *> topLevelItems;
   113     bool needSortTopLevelItems;
   113     bool needSortTopLevelItems;
   114     bool holesInTopLevelSiblingIndex;
   114     bool holesInTopLevelSiblingIndex;
   115     bool topLevelSequentialOrdering;
   115     bool topLevelSequentialOrdering;
   116 
   116 
   220                               const QTransform *const effectTransform = 0);
   220                               const QTransform *const effectTransform = 0);
   221     void draw(QGraphicsItem *, QPainter *, const QTransform *const, const QTransform *const,
   221     void draw(QGraphicsItem *, QPainter *, const QTransform *const, const QTransform *const,
   222               QRegion *, QWidget *, qreal, const QTransform *const, bool, bool);
   222               QRegion *, QWidget *, qreal, const QTransform *const, bool, bool);
   223 
   223 
   224     void markDirty(QGraphicsItem *item, const QRectF &rect = QRectF(), bool invalidateChildren = false,
   224     void markDirty(QGraphicsItem *item, const QRectF &rect = QRectF(), bool invalidateChildren = false,
   225                    bool force = false, bool ignoreOpacity = false, bool removingItemFromScene = false);
   225                    bool force = false, bool ignoreOpacity = false, bool removingItemFromScene = false,
       
   226                    bool updateBoundingRect = false);
   226     void processDirtyItemsRecursive(QGraphicsItem *item, bool dirtyAncestorContainsChildren = false,
   227     void processDirtyItemsRecursive(QGraphicsItem *item, bool dirtyAncestorContainsChildren = false,
   227                                     qreal parentOpacity = qreal(1.0));
   228                                     qreal parentOpacity = qreal(1.0));
   228 
   229 
   229     inline void resetDirtyItem(QGraphicsItem *item, bool recursive = false)
   230     inline void resetDirtyItem(QGraphicsItem *item, bool recursive = false)
   230     {
   231     {