Qt 4.8
|
Public Types | |
enum | BufferMode { NoBuffer = 0x00, BufferBefore = 0x01, BufferAfter = 0x02 } |
enum | MovementReason { Other, SetIndex, Mouse } |
Public Types inherited from QDeclarativeFlickablePrivate | |
enum | FixupMode { Normal, Immediate, ExtentChanged } |
Public Types inherited from QDeclarativeItemPrivate | |
enum | ChangeType { Geometry = 0x01, SiblingOrder = 0x02, Visibility = 0x04, Opacity = 0x08, Destroyed = 0x10 } |
Public Types inherited from QGraphicsItemPrivate | |
enum | AncestorFlag { NoFlag = 0, AncestorHandlesChildEvents = 0x1, AncestorClipsChildren = 0x2, AncestorIgnoresTransformations = 0x4, AncestorFiltersChildEvents = 0x8 } |
enum | Extra { ExtraToolTip, ExtraCursor, ExtraCacheData, ExtraMaxDeviceCoordCacheSize, ExtraBoundingRegionGranularity } |
enum | InvalidateReason { OpacityChanged } |
Public Functions | |
void | checkVisible () const |
void | clear () |
qreal | colPosAt (int modelIndex) const |
int | colSize () const |
QDeclarativeItem * | createComponentItem (QDeclarativeComponent *component) |
void | createHighlight () |
FxGridItem * | createItem (int modelIndex) |
qreal | endPosition () const |
FxGridItem * | firstVisibleItem () const |
virtual void | fixup (AxisData &data, qreal minExtent, qreal maxExtent) |
void | fixupPosition () |
virtual void | flick (AxisData &data, qreal minExtent, qreal maxExtent, qreal vSize, QDeclarativeTimeLineCallback::Callback fixupCallback, qreal velocity) |
qreal | headerSize () const |
void | init () |
bool | isRightToLeftTopToBottom () const |
bool | isValid () const |
virtual void | itemGeometryChanged (QDeclarativeItem *item, const QRectF &newGeometry, const QRectF &oldGeometry) |
qreal | lastPosition () const |
int | lastVisibleIndex () const |
void | layout () |
int | mapFromModel (int modelIndex) const |
void | mirrorChange () |
qreal | originPosition () const |
qreal | position () const |
void | positionViewAtIndex (int index, int mode) |
QDeclarativeGridViewPrivate () | |
void | refill (qreal from, qreal to, bool doBuffer=false) |
void | regenerate () |
void | releaseItem (FxGridItem *item) |
qreal | rowPosAt (int modelIndex) const |
int | rowSize () const |
void | scheduleLayout () |
void | setPosition (qreal pos) |
int | size () const |
int | snapIndex () |
FxGridItem * | snapItemAt (qreal pos) |
qreal | snapPosAt (qreal pos) const |
qreal | startPosition () const |
void | updateCurrent (int modelIndex) |
void | updateFooter () |
void | updateGrid () |
void | updateHeader () |
void | updateHighlight () |
void | updateTrackedItem () |
void | updateUnrequestedIndexes () |
void | updateUnrequestedPositions () |
FxGridItem * | visibleItem (int modelIndex) const |
Public Functions inherited from QDeclarativeFlickablePrivate | |
void | captureDelayedPress (QGraphicsSceneMouseEvent *event) |
void | clearDelayedPress () |
void | fixupX () |
void | fixupY () |
void | flickX (qreal velocity) |
void | flickY (qreal velocity) |
void | handleMouseMoveEvent (QGraphicsSceneMouseEvent *) |
void | handleMousePressEvent (QGraphicsSceneMouseEvent *) |
void | handleMouseReleaseEvent (QGraphicsSceneMouseEvent *) |
void | init () |
bool | isOutermostPressDelay () const |
qreal | overShootDistance (qreal size) |
QDeclarativeFlickablePrivate () | |
void | setRoundedViewportX (qreal x) |
void | setRoundedViewportY (qreal y) |
void | updateBeginningEnd () |
void | updateVelocity () |
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 void | implicitHeightChanged () |
virtual qreal | implicitWidth () const |
virtual void | implicitWidthChanged () |
void | init (QDeclarativeItem *parent) |
bool | isMirrored () const |
QDeclarativeAnchorLine | left () const |
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 143 of file qdeclarativegridview.cpp.
Enumerator | |
---|---|
NoBuffer | |
BufferBefore | |
BufferAfter |
Definition at line 483 of file qdeclarativegridview.cpp.
Enumerator | |
---|---|
Other | |
SetIndex | |
Mouse |
Definition at line 473 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 148 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 437 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::clear | ( | ) |
Definition at line 507 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 270 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 266 of file qdeclarativegridview.cpp.
QDeclarativeItem * QDeclarativeGridViewPrivate::createComponentItem | ( | QDeclarativeComponent * | component | ) |
Definition at line 561 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::createHighlight | ( | ) |
Definition at line 840 of file qdeclarativegridview.cpp.
FxGridItem * QDeclarativeGridViewPrivate::createItem | ( | int | modelIndex | ) |
Definition at line 520 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 254 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 312 of file qdeclarativegridview.cpp.
|
virtual |
Reimplemented from QDeclarativeFlickablePrivate.
Definition at line 1038 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::fixupPosition | ( | ) |
Definition at line 1029 of file qdeclarativegridview.cpp.
|
virtual |
Reimplemented from QDeclarativeFlickablePrivate.
Definition at line 1147 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 402 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::init | ( | ) |
Definition at line 498 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 195 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 259 of file qdeclarativegridview.cpp.
|
inlinevirtual |
Reimplemented from QDeclarativeFlickablePrivate.
Definition at line 412 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 243 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 322 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::layout | ( | ) |
Definition at line 751 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 334 of file qdeclarativegridview.cpp.
|
inlinevirtual |
Reimplemented from QDeclarativeItemPrivate.
Definition at line 211 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 236 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 215 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::positionViewAtIndex | ( | int | index, |
int | mode | ||
) |
Definition at line 2572 of file qdeclarativegridview.cpp.
Definition at line 581 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 200 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::releaseItem | ( | FxGridItem * | item | ) |
Definition at line 544 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 288 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 263 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::scheduleLayout | ( | ) |
Definition at line 742 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 219 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 232 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 386 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 374 of file qdeclarativegridview.cpp.
Definition at line 347 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 250 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::updateCurrent | ( | int | modelIndex | ) |
Definition at line 907 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::updateFooter | ( | ) |
Definition at line 946 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::updateGrid | ( | ) |
Definition at line 729 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::updateHeader | ( | ) |
Definition at line 989 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::updateHighlight | ( | ) |
Definition at line 891 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::updateTrackedItem | ( | ) |
Definition at line 818 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::updateUnrequestedIndexes | ( | ) |
Definition at line 794 of file qdeclarativegridview.cpp.
void QDeclarativeGridViewPrivate::updateUnrequestedPositions | ( | ) |
Definition at line 802 of file qdeclarativegridview.cpp.
|
inline |
Definition at line 184 of file qdeclarativegridview.cpp.
bool QDeclarativeGridViewPrivate::autoHighlight |
Definition at line 489 of file qdeclarativegridview.cpp.
int QDeclarativeGridViewPrivate::buffer |
Definition at line 475 of file qdeclarativegridview.cpp.
int QDeclarativeGridViewPrivate::bufferMode |
Definition at line 484 of file qdeclarativegridview.cpp.
int QDeclarativeGridViewPrivate::cellHeight |
Definition at line 461 of file qdeclarativegridview.cpp.
int QDeclarativeGridViewPrivate::cellWidth |
Definition at line 460 of file qdeclarativegridview.cpp.
int QDeclarativeGridViewPrivate::columns |
Definition at line 462 of file qdeclarativegridview.cpp.
int QDeclarativeGridViewPrivate::currentIndex |
Definition at line 459 of file qdeclarativegridview.cpp.
bool QDeclarativeGridViewPrivate::currentIndexCleared |
Definition at line 495 of file qdeclarativegridview.cpp.
FxGridItem* QDeclarativeGridViewPrivate::currentItem |
Definition at line 455 of file qdeclarativegridview.cpp.
bool QDeclarativeGridViewPrivate::deferredRelease |
Definition at line 493 of file qdeclarativegridview.cpp.
bool QDeclarativeGridViewPrivate::fixCurrentVisibility |
Definition at line 490 of file qdeclarativegridview.cpp.
QDeclarativeGridView::Flow QDeclarativeGridViewPrivate::flow |
Definition at line 457 of file qdeclarativegridview.cpp.
FxGridItem* QDeclarativeGridViewPrivate::footer |
Definition at line 480 of file qdeclarativegridview.cpp.
QDeclarativeComponent* QDeclarativeGridViewPrivate::footerComponent |
Definition at line 479 of file qdeclarativegridview.cpp.
bool QDeclarativeGridViewPrivate::haveHighlightRange |
Definition at line 494 of file qdeclarativegridview.cpp.
FxGridItem* QDeclarativeGridViewPrivate::header |
Definition at line 482 of file qdeclarativegridview.cpp.
QDeclarativeComponent* QDeclarativeGridViewPrivate::headerComponent |
Definition at line 481 of file qdeclarativegridview.cpp.
FxGridItem* QDeclarativeGridViewPrivate::highlight |
Definition at line 471 of file qdeclarativegridview.cpp.
QDeclarativeComponent* QDeclarativeGridViewPrivate::highlightComponent |
Definition at line 470 of file qdeclarativegridview.cpp.
int QDeclarativeGridViewPrivate::highlightMoveDuration |
Definition at line 478 of file qdeclarativegridview.cpp.
QDeclarativeGridView::HighlightRangeMode QDeclarativeGridViewPrivate::highlightRange |
Definition at line 469 of file qdeclarativegridview.cpp.
qreal QDeclarativeGridViewPrivate::highlightRangeEnd |
Definition at line 466 of file qdeclarativegridview.cpp.
bool QDeclarativeGridViewPrivate::highlightRangeEndValid |
Definition at line 468 of file qdeclarativegridview.cpp.
qreal QDeclarativeGridViewPrivate::highlightRangeStart |
Definition at line 465 of file qdeclarativegridview.cpp.
bool QDeclarativeGridViewPrivate::highlightRangeStartValid |
Definition at line 467 of file qdeclarativegridview.cpp.
QSmoothedAnimation* QDeclarativeGridViewPrivate::highlightXAnimator |
Definition at line 476 of file qdeclarativegridview.cpp.
QSmoothedAnimation* QDeclarativeGridViewPrivate::highlightYAnimator |
Definition at line 477 of file qdeclarativegridview.cpp.
int QDeclarativeGridViewPrivate::itemCount |
Definition at line 464 of file qdeclarativegridview.cpp.
Qt::LayoutDirection QDeclarativeGridViewPrivate::layoutDirection |
Definition at line 456 of file qdeclarativegridview.cpp.
bool QDeclarativeGridViewPrivate::layoutScheduled |
Definition at line 492 of file qdeclarativegridview.cpp.
bool QDeclarativeGridViewPrivate::lazyRelease |
Definition at line 491 of file qdeclarativegridview.cpp.
QDeclarativeGuard<QDeclarativeVisualModel> QDeclarativeGridViewPrivate::model |
Definition at line 451 of file qdeclarativegridview.cpp.
QVariant QDeclarativeGridViewPrivate::modelVariant |
Definition at line 452 of file qdeclarativegridview.cpp.
MovementReason QDeclarativeGridViewPrivate::moveReason |
Definition at line 474 of file qdeclarativegridview.cpp.
bool QDeclarativeGridViewPrivate::ownModel |
Definition at line 487 of file qdeclarativegridview.cpp.
int QDeclarativeGridViewPrivate::requestedIndex |
Definition at line 463 of file qdeclarativegridview.cpp.
QDeclarativeGridView::SnapMode QDeclarativeGridViewPrivate::snapMode |
Definition at line 485 of file qdeclarativegridview.cpp.
FxGridItem* QDeclarativeGridViewPrivate::trackedItem |
Definition at line 472 of file qdeclarativegridview.cpp.
QHash<QDeclarativeItem*,int> QDeclarativeGridViewPrivate::unrequestedItems |
Definition at line 454 of file qdeclarativegridview.cpp.
int QDeclarativeGridViewPrivate::visibleIndex |
Definition at line 458 of file qdeclarativegridview.cpp.
QList<FxGridItem*> QDeclarativeGridViewPrivate::visibleItems |
Definition at line 453 of file qdeclarativegridview.cpp.
bool QDeclarativeGridViewPrivate::wrap |
Definition at line 488 of file qdeclarativegridview.cpp.