Qt 4.8
|
#include <qdeclarativeloader_p_p.h>
Public Functions | |
void | _q_sourceLoaded () |
void | _q_updateSize (bool loaderGeometryChanged=true) |
void | clear () |
void | initResize () |
void | itemGeometryChanged (QDeclarativeItem *item, const QRectF &newGeometry, const QRectF &oldGeometry) |
void | load () |
QDeclarativeLoaderPrivate () | |
~QDeclarativeLoaderPrivate () | |
Public Functions inherited from QDeclarativeImplicitSizeItemPrivate | |
virtual void | implicitHeightChanged () |
virtual void | implicitWidthChanged () |
QDeclarativeImplicitSizeItemPrivate () | |
Public Functions inherited from QDeclarativeItemPrivate | |
QDeclarativeStateGroup * | _states () |
void | addItemChangeListener (QDeclarativeItemChangeListener *listener, ChangeTypes types) |
AnchorLines * | anchorLines () const |
QDeclarativeAnchors * | anchors () |
QDeclarativeAnchorLine | baseline () const |
QDeclarativeAnchorLine | bottom () const |
QPointF | computeTransformOrigin () const |
QDeclarativeListProperty< QObject > | data () |
virtual void | focusChanged (bool) |
virtual void | focusScopeItemChange (bool isSubFocusItem) |
Subclasses can reimplement this function to be notified when an item becomes a focusScopeItem (or is no longer a focusScopeItem). More... | |
qreal | height () const |
QDeclarativeAnchorLine | horizontalCenter () const |
virtual qreal | implicitHeight () const |
virtual qreal | implicitWidth () const |
void | init (QDeclarativeItem *parent) |
bool | isMirrored () const |
QDeclarativeAnchorLine | left () const |
virtual void | mirrorChange () |
QDeclarativeItemPrivate () | |
void | removeItemChangeListener (QDeclarativeItemChangeListener *, ChangeTypes types) |
void | resetHeight () |
void | resetWidth () |
void | resolveLayoutMirror () |
QDeclarativeListProperty< QObject > | resources () |
QDeclarativeAnchorLine | right () const |
void | setHeight (qreal) |
void | setImplicitLayoutMirror (bool mirror, bool inherit) |
void | setLayoutMirror (bool mirror) |
virtual void | setPosHelper (const QPointF &pos) |
Sets the position pos. More... | |
void | setState (const QString &) |
void | setWidth (qreal) |
virtual void | siblingOrderChange () |
Subclasses can reimplement this function to be notified when its siblingIndex order is changed. More... | |
QString | state () const |
QDeclarativeListProperty< QDeclarativeState > | states () |
QDeclarativeAnchorLine | top () const |
virtual void | transformChanged () |
QDeclarativeListProperty< QDeclarativeTransition > | transitions () |
QDeclarativeAnchorLine | verticalCenter () const |
qreal | width () const |
Public Functions inherited from QGraphicsItemPrivate | |
void | addChild (QGraphicsItem *child) |
QGraphicsScenePrivate::registerTopLevelItem(). More... | |
void | appendGraphicsTransform (QGraphicsTransform *t) |
qreal | calcEffectiveOpacity () const |
void | childrenBoundingRectHelper (QTransform *x, QRectF *rect, QGraphicsItem *topMostEffectItem) |
Returns the bounding rect of this item's children (excluding itself). More... | |
bool | childrenClippedToShape () const |
bool | childrenCombineOpacity () const |
QDeclarativeListProperty< QGraphicsObject > | childrenList () |
Returns a list of this item's children. More... | |
void | clearFocusHelper (bool giveFocusToParent) |
void | clearSubFocus (QGraphicsItem *rootItem=0, QGraphicsItem *stopItem=0) |
qreal | combineOpacityFromParent (qreal parentOpacity) const |
void | combineTransformFromParent (QTransform *x, const QTransform *viewTransform=0) const |
Combines this item's position and transform onto transform. More... | |
void | combineTransformToParent (QTransform *x, const QTransform *viewTransform=0) const |
Combines this item's position and transform onto transform. More... | |
int | depth () const |
bool | discardUpdateRequest (bool ignoreVisibleBit=false, bool ignoreDirtyBit=false, bool ignoreOpacity=false) const |
Returns true if we can discard an update request; otherwise false. More... | |
QRectF | effectiveBoundingRect (QGraphicsItem *topMostEffectItem=0) const |
Returns the effective bounding rect of the item. More... | |
QRectF | effectiveBoundingRect (const QRectF &rect) const |
Returns the effective bounding rect of the given item space rect. More... | |
qreal | effectiveOpacity () const |
void | ensureSceneTransform () |
void | ensureSceneTransformRecursive (QGraphicsItem **topMostDirtyItem) |
void | ensureSequentialSiblingIndex () |
Ensures that the list of children is sorted by insertion order, and that the siblingIndexes are packed (no gaps), and start at 0. More... | |
void | ensureSortedChildren () |
QVariant | extra (Extra type) const |
QGraphicsItemCache * | extraItemCache () const |
QPointF | genericMapFromScene (const QPointF &pos, const QWidget *viewport) const |
Maps the point pos from scene to item coordinates. More... | |
bool | hasTranslateOnlySceneTransform () |
void | initStyleOption (QStyleOptionGraphicsItem *option, const QTransform &worldTransform, const QRegion &exposedRegion, bool allItems=false) const |
virtual QVariant | inputMethodQueryHelper (Qt::InputMethodQuery query) const |
This helper function helped us add input method query support in Qt 4. More... | |
void | invalidateChildGraphicsEffectsRecursively (InvalidateReason reason) |
void | invalidateChildrenSceneTransform () |
void | invalidateDepthRecursively () |
void | invalidateParentGraphicsEffectsRecursively () |
bool | isFullyTransparent () const |
bool | isInvisible () const |
bool | isOpacityNull () const |
virtual bool | isProxyWidget () const |
bool | itemIsUntransformable () const |
void | markParentDirty (bool updateBoundingRect=false) |
QGraphicsItemCache * | maybeExtraItemCache () const |
void | prependGraphicsTransform (QGraphicsTransform *t) |
QGraphicsItemPrivate () | |
void | remapItemPos (QEvent *event, QGraphicsItem *item) |
Maps any item pos properties of event to item's coordinate system. More... | |
void | removeChild (QGraphicsItem *child) |
QGraphicsScenePrivate::unregisterTopLevelItem(). More... | |
void | removeExtraItemCache () |
void | resetFocusProxy () |
Sets the focusProxy pointer to 0 for all items that have this item as their focusProxy. More... | |
void | resolveDepth () |
Resolves the stacking depth of this object and all its ancestors. More... | |
virtual void | resolveFont (uint inheritedMask) |
virtual void | resolvePalette (uint inheritedMask) |
QRectF | sceneEffectiveBoundingRect () const |
Returns the effective bounding rect of this item in scene coordinates, by combining sceneTransform() with boundingRect(), taking into account the effect that the item might have. More... | |
void | sendScenePosChange () |
void | setEnabledHelper (bool newEnabled, bool explicitly, bool update=true) |
Sets this item's visibility to newEnabled. More... | |
void | setExtra (Extra type, const QVariant &value) |
void | setFocusHelper (Qt::FocusReason focusReason, bool climb, bool focusFromHide) |
void | setIsMemberOfGroup (bool enabled) |
Propagates item group membership. More... | |
void | setParentItemHelper (QGraphicsItem *parent, const QVariant *newParentVariant, const QVariant *thisPointerVariant) |
Make sure not to trigger any pure virtual function calls (e. More... | |
void | setSubFocus (QGraphicsItem *rootItem=0, QGraphicsItem *stopItem=0) |
void | setTransformHelper (const QTransform &transform) |
Sets the transform transform. More... | |
void | setVisibleHelper (bool newVisible, bool explicitly, bool update=true) |
Sets this item's visibility to newVisible. More... | |
virtual void | subFocusItemChange () |
Subclasses can reimplement this function to be notified when subFocusItem changes. More... | |
QTransform | transformToParent () const |
void | unsetExtra (Extra type) |
void | updateAncestorFlag (QGraphicsItem::GraphicsItemFlag childFlag, AncestorFlag flag=NoFlag, bool enabled=false, bool root=true) |
Propagates the ancestor flag flag with value enabled to all this item's children. More... | |
void | updateAncestorFlags () |
void | updateChildWithGraphicsEffectFlagRecursively () |
void | updatePaintedViewBoundingRects (bool updateChildren) |
virtual void | updateSceneTransformFromParent () |
virtual | ~QGraphicsItemPrivate () |
Public Functions inherited from QDeclarativeItemChangeListener | |
virtual QDeclarativeAnchorsPrivate * | anchorPrivate () |
virtual void | itemDestroyed (QDeclarativeItem *) |
virtual void | itemOpacityChanged (QDeclarativeItem *) |
virtual void | itemSiblingOrderChanged (QDeclarativeItem *) |
virtual void | itemVisibilityChanged (QDeclarativeItem *) |
Definition at line 64 of file qdeclarativeloader_p_p.h.
QDeclarativeLoaderPrivate::QDeclarativeLoaderPrivate | ( | ) |
Definition at line 50 of file qdeclarativeloader.cpp.
QDeclarativeLoaderPrivate::~QDeclarativeLoaderPrivate | ( | ) |
Definition at line 56 of file qdeclarativeloader.cpp.
void QDeclarativeLoaderPrivate::_q_sourceLoaded | ( | ) |
Definition at line 377 of file qdeclarativeloader.cpp.
void QDeclarativeLoaderPrivate::_q_updateSize | ( | bool | loaderGeometryChanged = true | ) |
Definition at line 534 of file qdeclarativeloader.cpp.
Referenced by initResize(), and itemGeometryChanged().
void QDeclarativeLoaderPrivate::clear | ( | ) |
Definition at line 72 of file qdeclarativeloader.cpp.
void QDeclarativeLoaderPrivate::initResize | ( | ) |
Definition at line 101 of file qdeclarativeloader.cpp.
|
virtual |
Reimplemented from QDeclarativeItemChangeListener.
Definition at line 60 of file qdeclarativeloader.cpp.
void QDeclarativeLoaderPrivate::load | ( | ) |
Definition at line 356 of file qdeclarativeloader.cpp.
QDeclarativeComponent* QDeclarativeLoaderPrivate::component |
Definition at line 79 of file qdeclarativeloader_p_p.h.
Referenced by clear().
QGraphicsObject* QDeclarativeLoaderPrivate::item |
Definition at line 78 of file qdeclarativeloader_p_p.h.
Referenced by clear(), initResize(), and itemGeometryChanged().
bool QDeclarativeLoaderPrivate::itemHeightValid |
Definition at line 83 of file qdeclarativeloader_p_p.h.
Referenced by initResize(), and itemGeometryChanged().
bool QDeclarativeLoaderPrivate::itemWidthValid |
Definition at line 82 of file qdeclarativeloader_p_p.h.
Referenced by initResize(), and itemGeometryChanged().
bool QDeclarativeLoaderPrivate::ownComponent |
Definition at line 80 of file qdeclarativeloader_p_p.h.
Referenced by clear().
QUrl QDeclarativeLoaderPrivate::source |
Definition at line 77 of file qdeclarativeloader_p_p.h.
Referenced by clear().
bool QDeclarativeLoaderPrivate::updatingSize |
Definition at line 81 of file qdeclarativeloader_p_p.h.
Referenced by itemGeometryChanged().