quint32 mayHaveChildWithGraphicsEffect : 1;
quint32 isDeclarativeItem : 1;
quint32 sendParentChangeNotification : 1;
- quint32 padding : 21;
// Optional stacking order
int globalStackingOrder;
allItemsIgnoreHoverEvents(true),
allItemsUseDefaultCursor(true),
painterStateProtection(true),
- sortCacheEnabled(false),
allItemsIgnoreTouchEvents(true),
selectionChanging(0),
rectAdjust(2),
}
/*!
- \property QGraphicsScene::sortCacheEnabled
- \brief whether sort caching is enabled
- \since 4.5
- \obsolete
-
- Since Qt 4.6, this property has no effect.
-*/
-bool QGraphicsScene::isSortCacheEnabled() const
-{
- Q_D(const QGraphicsScene);
- return d->sortCacheEnabled;
-}
-void QGraphicsScene::setSortCacheEnabled(bool enabled)
-{
- Q_D(QGraphicsScene);
- if (d->sortCacheEnabled == enabled)
- return;
- d->sortCacheEnabled = enabled;
-}
-
-/*!
Calculates and returns the bounding rect of all items on the scene. This
function works by iterating over all items, and because if this, it can
be slow for large scenes.
Q_PROPERTY(int bspTreeDepth READ bspTreeDepth WRITE setBspTreeDepth)
Q_PROPERTY(QPalette palette READ palette WRITE setPalette)
Q_PROPERTY(QFont font READ font WRITE setFont)
- Q_PROPERTY(bool sortCacheEnabled READ isSortCacheEnabled WRITE setSortCacheEnabled)
Q_PROPERTY(bool stickyFocus READ stickyFocus WRITE setStickyFocus)
public:
ItemIndexMethod itemIndexMethod() const;
void setItemIndexMethod(ItemIndexMethod method);
- bool isSortCacheEnabled() const;
- void setSortCacheEnabled(bool enabled);
-
int bspTreeDepth() const;
void setBspTreeDepth(int depth);
quint32 allItemsIgnoreHoverEvents : 1;
quint32 allItemsUseDefaultCursor : 1;
quint32 painterStateProtection : 1;
- quint32 sortCacheEnabled : 1; // for compatibility
quint32 allItemsIgnoreTouchEvents : 1;
- quint32 padding : 15;
QRectF growingItemsBoundingRect;
quint32 mustResizeBackgroundPixmap : 1;
quint32 fullUpdatePending : 1;
quint32 hasUpdateClip : 1;
- quint32 padding : 18;
QRectF sceneRect;
void updateLastCenterPoint();
layout(0),
inheritedPaletteResolveMask(0),
inheritedFontResolveMask(0),
- inSetGeometry(0),
polished(0),
+ inSetGeometry(0),
inSetPos(0),
autoFillBackground(0),
refCountInvokeRelayout(0),
}
// 32 bits
quint32 attributes : 10;
- quint32 inSetGeometry : 1;
quint32 polished: 1;
+ quint32 inSetGeometry : 1;
quint32 inSetPos : 1;
quint32 autoFillBackground : 1;
quint32 refCountInvokeRelayout : 16;
- quint32 padding : 2; // feel free to use
// Focus
Qt::FocusPolicy focusPolicy;
uint autoCompletion : 1;
uint duplicatesEnabled : 1;
uint frame : 1;
- uint padding : 26;
int maxVisibleItems;
int maxCount;
int modelColumn;