src/gui/graphicsview/qgraphicsscene_p.h
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
equal deleted inserted replaced
4:3b1da2848fc7 5:d3bac044e0f0
   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 unpolishedItemsModified;
       
   115     bool holesInTopLevelSiblingIndex;
   114     bool holesInTopLevelSiblingIndex;
   116     bool topLevelSequentialOrdering;
   115     bool topLevelSequentialOrdering;
   117 
   116 
   118     QMap<QGraphicsItem *, QPointF> movingItemsInitialPositions;
   117     QMap<QGraphicsItem *, QPointF> movingItemsInitialPositions;
   119     void registerTopLevelItem(QGraphicsItem *item);
   118     void registerTopLevelItem(QGraphicsItem *item);
   221                               const QTransform *const effectTransform = 0);
   220                               const QTransform *const effectTransform = 0);
   222     void draw(QGraphicsItem *, QPainter *, const QTransform *const, const QTransform *const,
   221     void draw(QGraphicsItem *, QPainter *, const QTransform *const, const QTransform *const,
   223               QRegion *, QWidget *, qreal, const QTransform *const, bool, bool);
   222               QRegion *, QWidget *, qreal, const QTransform *const, bool, bool);
   224 
   223 
   225     void markDirty(QGraphicsItem *item, const QRectF &rect = QRectF(), bool invalidateChildren = false,
   224     void markDirty(QGraphicsItem *item, const QRectF &rect = QRectF(), bool invalidateChildren = false,
   226                    bool force = false, bool ignoreOpacity = false, bool removingItemFromScene = false);
   225                    bool force = false, bool ignoreOpacity = false, bool removingItemFromScene = false,
       
   226                    bool updateBoundingRect = false);
   227     void processDirtyItemsRecursive(QGraphicsItem *item, bool dirtyAncestorContainsChildren = false,
   227     void processDirtyItemsRecursive(QGraphicsItem *item, bool dirtyAncestorContainsChildren = false,
   228                                     qreal parentOpacity = qreal(1.0));
   228                                     qreal parentOpacity = qreal(1.0));
   229 
   229 
   230     inline void resetDirtyItem(QGraphicsItem *item, bool recursive = false)
   230     inline void resetDirtyItem(QGraphicsItem *item, bool recursive = false)
   231     {
   231     {