|
| QQuickRowPrivate () |
|
void | effectiveLayoutDirectionChange () override |
|
| QQuickBasePositionerPrivate () |
|
void | init (QQuickBasePositioner::PositionerType at) |
|
void | watchChanges (QQuickItem *other) |
|
void | unwatchChanges (QQuickItem *other) |
|
void | setPositioningDirty () |
|
void | mirrorChange () override |
|
bool | isLeftToRight () const |
|
void | itemSiblingOrderChanged (QQuickItem *other) override |
|
void | itemGeometryChanged (QQuickItem *, QQuickGeometryChange change, const QRectF &) override |
|
void | itemVisibilityChanged (QQuickItem *) override |
|
void | itemDestroyed (QQuickItem *item) override |
|
qreal | padding () const |
|
void | setTopPadding (qreal value, bool reset=false) |
|
void | setLeftPadding (qreal value, bool reset=false) |
|
void | setRightPadding (qreal value, bool reset=false) |
|
void | setBottomPadding (qreal value, bool reset=false) |
|
| QQuickImplicitSizeItemPrivate () |
|
| QQuickItemPrivate () |
|
| ~QQuickItemPrivate () override |
|
void | init (QQuickItem *parent) |
|
QQmlListProperty< QObject > | data () |
|
QQmlListProperty< QObject > | resources () |
|
QQmlListProperty< QQuickItem > | children () |
|
QQmlListProperty< QQuickItem > | visibleChildren () |
|
QQmlListProperty< QQuickState > | states () |
|
QQmlListProperty< QQuickTransition > | transitions () |
|
QString | state () const |
|
void | setState (const QString &) |
|
QQuickAnchorLine | left () const |
|
QQuickAnchorLine | right () const |
|
QQuickAnchorLine | horizontalCenter () const |
|
QQuickAnchorLine | top () const |
|
QQuickAnchorLine | bottom () const |
|
QQuickAnchorLine | verticalCenter () const |
|
QQuickAnchorLine | baseline () const |
|
void | localizedTouchEvent (const QTouchEvent *event, bool isFiltering, QMutableTouchEvent *localized) |
|
bool | hasPointerHandlers () const |
|
bool | hasEnabledHoverHandlers () const |
|
virtual void | addPointerHandler (QQuickPointerHandler *h) |
|
virtual void | removePointerHandler (QQuickPointerHandler *h) |
|
void | _q_resourceObjectDeleted (QObject *) |
|
quint64 | _q_createJSWrapper (QQmlV4ExecutionEnginePtr engine) |
|
template<typename Fn , typename ... Args> |
void | notifyChangeListeners (QQuickItemPrivate::ChangeTypes changeTypes, Fn &&function, Args &&...args) |
|
virtual void | registerAsContainmentMask (QQuickItem *, bool) |
|
QQuickAnchors * | anchors () const |
| \qmlpropertygroup QtQuick::Item::anchors \qmlproperty AnchorLine QtQuick::Item::anchors.top \qmlproperty AnchorLine QtQuick::Item::anchors.bottom \qmlproperty AnchorLine QtQuick::Item::anchors.left \qmlproperty AnchorLine QtQuick::Item::anchors.right \qmlproperty AnchorLine QtQuick::Item::anchors.horizontalCenter \qmlproperty AnchorLine QtQuick::Item::anchors.verticalCenter \qmlproperty AnchorLine QtQuick::Item::anchors.baseline
|
|
Qt::MouseButtons | acceptedMouseButtons () const |
|
void | addItemChangeListener (QQuickItemChangeListener *listener, ChangeTypes types) |
|
void | updateOrAddItemChangeListener (QQuickItemChangeListener *listener, ChangeTypes types) |
|
void | removeItemChangeListener (QQuickItemChangeListener *, ChangeTypes types) |
|
void | updateOrAddGeometryChangeListener (QQuickItemChangeListener *listener, QQuickGeometryChange types) |
|
void | updateOrRemoveGeometryChangeListener (QQuickItemChangeListener *listener, QQuickGeometryChange types) |
|
QQuickStateGroup * | _states () |
|
QQuickItem::TransformOrigin | origin () const |
|
QString | dirtyToString () const |
|
void | dirty (DirtyType) |
|
void | addToDirtyList () |
|
void | removeFromDirtyList () |
|
void | setCulled (bool) |
|
QSGContext * | sceneGraphContext () const |
|
QSGRenderContext * | sceneGraphRenderContext () const |
|
QList< QQuickItem * > | paintOrderChildItems () const |
|
void | addChild (QQuickItem *) |
|
void | removeChild (QQuickItem *) |
|
void | siblingOrderChanged () |
|
void | markSortedChildrenDirty (QQuickItem *child) |
|
void | refWindow (QQuickWindow *) |
|
void | derefWindow () |
|
void | updateSubFocusItem (QQuickItem *scope, bool focus) |
| Clears all sub focus items from scope.
|
|
bool | setFocusIfNeeded (QEvent::Type) |
|
Qt::FocusReason | lastFocusChangeReason () const |
|
void | setLastFocusChangeReason (Qt::FocusReason reason) |
|
QTransform | windowToItemTransform () const |
| Returns a transform that maps points from window space into item space.
|
|
QTransform | itemToWindowTransform () const |
| Returns a transform that maps points from item space into window space.
|
|
void | itemToParentTransform (QTransform *) const |
| Modifies t with this item's local transform relative to its parent.
|
|
QTransform | globalToWindowTransform () const |
| Returns a transform that maps points from global space into window space.
|
|
QTransform | windowToGlobalTransform () const |
| Returns a transform that maps points from window space into global space.
|
|
void | setX (qreal x) |
|
void | xChanged () |
|
| Q_OBJECT_COMPAT_PROPERTY (QQuickItemPrivate, qreal, x, &QQuickItemPrivate::setX, &QQuickItemPrivate::xChanged) |
|
void | setY (qreal y) |
|
void | yChanged () |
|
| Q_OBJECT_COMPAT_PROPERTY (QQuickItemPrivate, qreal, y, &QQuickItemPrivate::setY, &QQuickItemPrivate::yChanged) |
|
void | setWidth (qreal width) |
|
void | widthChanged () |
|
| Q_OBJECT_COMPAT_PROPERTY (QQuickItemPrivate, qreal, width, &QQuickItemPrivate::setWidth, &QQuickItemPrivate::widthChanged) |
|
void | setHeight (qreal height) |
|
void | heightChanged () |
|
| Q_OBJECT_COMPAT_PROPERTY (QQuickItemPrivate, qreal, height, &QQuickItemPrivate::setHeight, &QQuickItemPrivate::heightChanged) |
|
bool | widthValid () const |
|
bool | heightValid () const |
|
qreal | z () const |
|
qreal | scale () const |
|
qreal | rotation () const |
|
qreal | opacity () const |
|
void | setAccessible () |
|
virtual qreal | getImplicitWidth () const |
|
virtual qreal | getImplicitHeight () const |
|
virtual void | implicitWidthChanged () |
|
virtual void | implicitHeightChanged () |
|
void | setImplicitAntialiasing (bool antialiasing) |
|
void | resolveLayoutMirror () |
|
void | setImplicitLayoutMirror (bool mirror, bool inherit) |
|
void | setLayoutMirror (bool mirror) |
|
bool | isMirrored () const |
|
void | emitChildrenRectChanged (const QRectF &rect) |
|
QPointF | computeTransformOrigin () const |
|
virtual bool | transformChanged (QQuickItem *transformedItem) |
|
QPointF | adjustedPosForTransform (const QPointF ¢roid, const QPointF &startPos, const QVector2D &activeTranslatation, qreal startScale, qreal activeScale, qreal startRotation, qreal activeRotation) |
|
QQuickDeliveryAgent * | deliveryAgent () |
|
QQuickDeliveryAgentPrivate * | deliveryAgentPrivate () |
|
QQuickDeliveryAgent * | ensureSubsceneDeliveryAgent () |
|
void | deliverKeyEvent (QKeyEvent *) |
|
bool | filterKeyEvent (QKeyEvent *, bool post) |
|
void | deliverShortcutOverrideEvent (QKeyEvent *) |
|
void | deliverPointerEvent (QEvent *) |
|
bool | anyPointerHandlerWants (const QPointerEvent *event, const QEventPoint &point) const |
|
virtual bool | handlePointerEvent (QPointerEvent *, bool avoidGrabbers=false) |
|
virtual void | setVisible (bool visible) |
|
bool | isTransparentForPositioner () const |
|
void | setTransparentForPositioner (bool trans) |
|
bool | calcEffectiveVisible () const |
|
bool | setEffectiveVisibleRecur (bool) |
|
bool | calcEffectiveEnable () const |
|
void | setEffectiveEnableRecur (QQuickItem *scope, bool) |
|
QSGTransformNode * | itemNode () |
|
QSGNode * | childContainerNode () |
|
QSGOpacityNode * | opacityNode () const |
|
QQuickDefaultClipNode * | clipNode () const |
|
QSGRootNode * | rootNode () const |
|
virtual QSGTransformNode * | createTransformNode () |
|
void | refFromEffectItem (bool hide) |
|
void | recursiveRefFromEffectItem (int refs) |
|
void | derefFromEffectItem (bool unhide) |
|
void | itemChange (QQuickItem::ItemChange, const QQuickItem::ItemChangeData &) |
|
void | enableSubtreeChangeNotificationsForParentHierachy () |
|
void | setHasCursorInChild (bool hasCursor) |
|
void | setHasHoverInChild (bool hasHover) |
|
virtual void | updatePolish () |
|
virtual void | dumpItemTree (int indent) const |
|
QLayoutPolicy | sizePolicy () const |
|
void | setSizePolicy (const QLayoutPolicy::Policy &horizontalPolicy, const QLayoutPolicy::Policy &verticalPolicy) |
|
void | ensureExtraData () |
|
| QObjectPrivate (int version=QObjectPrivateVersion) |
|
virtual | ~QObjectPrivate () |
|
void | deleteChildren () |
|
void | clearBindingStorage () |
|
void | checkForIncompatibleLibraryVersion (int version) const |
|
void | setParent_helper (QObject *) |
|
void | moveToThread_helper () |
|
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status) |
|
QObjectList | receiverList (const char *signal) const |
|
void | ensureConnectionData () |
|
void | addConnection (int signal, Connection *c) |
|
int | signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const |
|
bool | isSignalConnected (uint signalIdx, bool checkDeclarative=true) const |
|
bool | maybeSignalConnected (uint signalIndex) const |
|
bool | isDeclarativeSignalConnected (uint signalIdx) const |
|
void | connectNotify (const QMetaMethod &signal) |
|
void | disconnectNotify (const QMetaMethod &signal) |
|
void | reinitBindingStorageAfterThreadMove () |
|
virtual std::string | flagsForDumping () const |
|
virtual void | writeToDebugStream (QDebug &) const |
|
QtPrivate::QPropertyAdaptorSlotObject * | getPropertyAdaptorSlotObject (const QMetaProperty &property) |
|
| QObjectData ()=default |
|
virtual | ~QObjectData ()=0 |
|
QMetaObject * | dynamicMetaObject () const |
|
virtual | ~QQuickPaletteProviderPrivateBase ()=default |
|
virtual QQuickPalette * | palette () const |
|
virtual void | setPalette (QQuickPalette *p) |
|
virtual void | resetPalette () |
|
virtual bool | providesPalette () const |
|
QPalette | defaultPalette () const override |
|
QPalette | parentPalette (const QPalette &fallbackPalette) const override |
|
void | inheritPalette (const QPalette &parentPalette) |
|
virtual void | updateChildrenPalettes (const QPalette &parentPalette) |
|
virtual | ~QQuickAbstractPaletteProvider ()=default |
|
virtual | ~QQuickItemChangeListener () |
|
virtual void | itemEnabledChanged (QQuickItem *) |
|
virtual void | itemOpacityChanged (QQuickItem *) |
|
virtual void | itemChildAdded (QQuickItem *, QQuickItem *) |
|
virtual void | itemChildRemoved (QQuickItem *, QQuickItem *) |
|
virtual void | itemParentChanged (QQuickItem *, QQuickItem *) |
|
virtual void | itemRotationChanged (QQuickItem *) |
|
virtual void | itemImplicitWidthChanged (QQuickItem *) |
|
virtual void | itemImplicitHeightChanged (QQuickItem *) |
|
virtual void | itemFocusChanged (QQuickItem *, Qt::FocusReason) |
|
virtual QQuickAnchorsPrivate * | anchorPrivate () |
|
|
enum | ChangeType {
Geometry = 0x01
, SiblingOrder = 0x02
, Visibility = 0x04
, Opacity = 0x08
,
Destroyed = 0x10
, Parent = 0x20
, Children = 0x40
, Rotation = 0x80
,
ImplicitWidth = 0x100
, ImplicitHeight = 0x200
, Enabled = 0x400
, Focus = 0x800
,
AllChanges = 0xFFFFFFFF
} |
|
enum | ExtraDataTag { NoTag = 0x1
, LeftMouseButtonAccepted = 0x2
} |
|
enum | DirtyType {
TransformOrigin = 0x00000001
, Transform = 0x00000002
, BasicTransform = 0x00000004
, Position = 0x00000008
,
Size = 0x00000010
, ZValue = 0x00000020
, Content = 0x00000040
, Smooth = 0x00000080
,
OpacityValue = 0x00000100
, ChildrenChanged = 0x00000200
, ChildrenStackingChanged = 0x00000400
, ParentChanged = 0x00000800
,
Clip = 0x00001000
, Window = 0x00002000
, EffectReference = 0x00008000
, Visible = 0x00010000
,
HideReference = 0x00020000
, Antialiasing = 0x00040000
, TransformUpdateMask
, ComplexTransformUpdateMask = Transform | Window
,
ContentUpdateMask = Size | Content | Smooth | Window | Antialiasing
, ChildrenUpdateMask = ChildrenChanged | ChildrenStackingChanged | EffectReference | Window
} |
|
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
|
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
|
static Qt::LayoutDirection | getLayoutDirection (const QQuickBasePositioner *positioner) |
|
static Qt::LayoutDirection | getEffectiveLayoutDirection (const QQuickBasePositioner *positioner) |
|
static QQuickItemPrivate * | get (QQuickItem *item) |
|
static const QQuickItemPrivate * | get (const QQuickItem *item) |
|
static void | data_append (QQmlListProperty< QObject > *, QObject *) |
|
static qsizetype | data_count (QQmlListProperty< QObject > *) |
| \qmlproperty list<QtObject> QtQuick::Item::data \qmldefault
|
|
static QObject * | data_at (QQmlListProperty< QObject > *, qsizetype) |
|
static void | data_clear (QQmlListProperty< QObject > *) |
|
static void | data_removeLast (QQmlListProperty< QObject > *) |
|
static QObject * | resources_at (QQmlListProperty< QObject > *, qsizetype) |
|
static void | resources_append (QQmlListProperty< QObject > *, QObject *) |
|
static qsizetype | resources_count (QQmlListProperty< QObject > *) |
|
static void | resources_clear (QQmlListProperty< QObject > *) |
|
static void | resources_removeLast (QQmlListProperty< QObject > *) |
|
static void | children_append (QQmlListProperty< QQuickItem > *, QQuickItem *) |
|
static qsizetype | children_count (QQmlListProperty< QQuickItem > *) |
|
static QQuickItem * | children_at (QQmlListProperty< QQuickItem > *, qsizetype) |
|
static void | children_clear (QQmlListProperty< QQuickItem > *) |
|
static void | children_removeLast (QQmlListProperty< QQuickItem > *) |
|
static qsizetype | visibleChildren_count (QQmlListProperty< QQuickItem > *prop) |
|
static QQuickItem * | visibleChildren_at (QQmlListProperty< QQuickItem > *prop, qsizetype index) |
|
static qsizetype | transform_count (QQmlListProperty< QQuickTransform > *list) |
|
static void | transform_append (QQmlListProperty< QQuickTransform > *list, QQuickTransform *) |
|
static QQuickTransform * | transform_at (QQmlListProperty< QQuickTransform > *list, qsizetype) |
|
static void | transform_clear (QQmlListProperty< QQuickTransform > *list) |
|
static bool | focusNextPrev (QQuickItem *item, bool forward) |
| QQuickItemPrivate::focusNextPrev focuses the next/prev item in the tab-focus-chain.
|
|
static QQuickItem * | nextTabChildItem (const QQuickItem *item, int start) |
|
static QQuickItem * | prevTabChildItem (const QQuickItem *item, int start) |
|
static QQuickItem * | nextPrevItemInTabFocusChain (QQuickItem *item, bool forward, bool wrap=true) |
|
static bool | canAcceptTabFocus (QQuickItem *item) |
|
static bool | removeConnection (Connection *c) |
|
static QObjectPrivate * | get (QObject *o) |
|
static const QObjectPrivate * | get (const QObject *o) |
|
template<typename Func1 , typename Func2 > |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
|
template<typename Func1 , typename Func2 > |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
|
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
|
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
|
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
|
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
|
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
|
QLazilyAllocated< ExtraData > | extra |
|
qreal | spacing |
|
QQuickBasePositioner::PositionerType | type |
|
bool | positioningDirty: 1 |
|
bool | doingPositioning: 1 |
|
bool | anchorConflict: 1 |
|
Qt::LayoutDirection | layoutDirection |
|
QLazilyAllocated< ExtraData, ExtraDataTags > | extra |
|
QQuickAnchors * | _anchors |
|
QVector< QQuickItemPrivate::ChangeListener > | changeListeners |
|
QQuickStateGroup * | _stateGroup |
|
quint32 | flags:7 |
|
quint32 | widthValidFlag:1 |
|
quint32 | heightValidFlag:1 |
|
quint32 | componentComplete:1 |
|
quint32 | keepMouse:1 |
|
quint32 | keepTouch:1 |
|
quint32 | hoverEnabled:1 |
|
quint32 | smooth:1 |
|
quint32 | antialiasing:1 |
|
quint32 | focus:1 |
|
quint32 | activeFocus:1 |
|
quint32 | notifiedFocus:1 |
|
quint32 | notifiedActiveFocus:1 |
|
quint32 | filtersChildMouseEvents:1 |
|
quint32 | explicitVisible:1 |
|
quint32 | effectiveVisible:1 |
|
quint32 | explicitEnable:1 |
|
quint32 | effectiveEnable:1 |
|
quint32 | polishScheduled:1 |
|
quint32 | inheritedLayoutMirror:1 |
|
quint32 | effectiveLayoutMirror:1 |
|
quint32 | isMirrorImplicit:1 |
|
quint32 | inheritMirrorFromParent:1 |
|
quint32 | inheritMirrorFromItem:1 |
|
quint32 | isAccessible:1 |
|
quint32 | culled:1 |
|
quint32 | hasCursor:1 |
|
quint32 | subtreeCursorEnabled:1 |
|
quint32 | subtreeHoverEnabled:1 |
|
quint32 | activeFocusOnTab:1 |
|
quint32 | implicitAntialiasing:1 |
|
quint32 | antialiasingValid:1 |
|
quint32 | isTabFence:1 |
|
quint32 | replayingPressEvent:1 |
|
quint32 | touchEnabled:1 |
|
quint32 | hasCursorHandler:1 |
|
quint32 | maybeHasSubsceneDeliveryAgent:1 |
|
quint32 | subtreeTransformChangedEnabled:1 |
|
quint32 | inDestructor:1 |
|
quint32 | focusReason:4 |
|
quint32 | focusPolicy:4 |
|
quint32 | dirtyAttributes |
|
QQuickItem * | nextDirtyItem |
|
QQuickItem ** | prevDirtyItem |
|
QQuickWindow * | window |
|
int | windowRefCount |
|
QQuickItem * | parentItem |
|
QList< QQuickItem * > | childItems |
|
QList< QQuickItem * > * | sortedChildItems |
|
QPointer< QQuickItem > | subFocusItem |
|
qreal | implicitWidth |
|
qreal | implicitHeight |
|
qreal | baselineOffset |
|
QList< QQuickTransform * > | transforms |
|
QSGTransformNode * | itemNodeInstance |
|
QSGNode * | paintNode |
|
QLayoutPolicy | szPolicy |
|
ExtraData * | extraData |
|
QAtomicPointer< QThreadData > | threadData |
|
QAtomicPointer< ConnectionData > | connections |
|
union { | |
|
QObject * currentChildBeingDeleted | |
|
QAbstractDeclarativeData * declarativeData | |
|
}; | | |
|
QAtomicPointer< QtSharedPointer::ExternalRefCountData > | sharedRefcount |
|
QObject * | q_ptr |
|
QObject * | parent |
|
QObjectList | children |
|
uint | isWidget: 1 |
|
uint | blockSig: 1 |
|
uint | wasDeleted: 1 |
|
uint | isDeletingChildren: 1 |
|
uint | sendChildEvents: 1 |
|
uint | receiveChildEvents: 1 |
|
uint | isWindow: 1 |
|
uint | deleteLaterCalled: 1 |
|
uint | isQuickItem: 1 |
|
uint | willBeWidget: 1 |
|
uint | wasWidget: 1 |
|
uint | receiveParentEvents: 1 |
|
uint | unused: 20 |
|
QAtomicInt | postedEvents |
|
QDynamicMetaObjectData * | metaObject |
|
QBindingStorage | bindingStorage |
|
void | setCurrentColorGroup () |
|
\qmltype Row \instantiates QQuickRow \inqmlmodule QtQuick \inherits Item
Positions its children in a row.
Row is a type that positions its child items along a single row. It can be used as a convenient way to horizontally position a series of items without using \l {Positioning with Anchors}{anchors}.
Below is a Row that contains three rectangles of various sizes:
import QtQuick
Row {
spacing: 2
Rectangle { color: "red"; width: 50; height: 50 }
Rectangle { color: "green"; width: 20; height: 50 }
Rectangle { color: "blue"; width: 50; height: 20 }
}
The Row automatically positions these items in a horizontal formation, like this:
If an item within a Row is not \l {Item::}{visible}, or if it has a width or height of 0, the item will not be laid out and it will not be visible within the row. Also, since a Row automatically positions its children horizontally, a child item within a Row should not set its \l {Item::x}{x} position or horizontally anchor itself using the \l {Item::anchors.left}{left}, \l {Item::anchors.right}{right}, \l {Item::anchors.horizontalCenter}{anchors.horizontalCenter}, \l {Item::anchors.fill}{fill} or \l {Item::anchors.centerIn}{centerIn} anchors. If you need to perform these actions, consider positioning the items without the use of a Row.
Note that items in a Row can use the \l Positioner attached property to access more information about its position within the Row.
For more information on using Row and other related positioner-types, see \l{Item Positioners}.
- See also
- Column, Grid, Flow, Positioner, RowLayout, {Qt Quick Examples - Positioners}
- Since
- 5.6 \qmlproperty real QtQuick::Row::padding \qmlproperty real QtQuick::Row::topPadding \qmlproperty real QtQuick::Row::leftPadding \qmlproperty real QtQuick::Row::bottomPadding \qmlproperty real QtQuick::Row::rightPadding
These properties hold the padding around the content.
\qmlproperty Transition QtQuick::Row::populate
This property holds the transition to be run for items that are part of this positioner at the time of its creation. The transition is run when the positioner is first created.
The transition can use the \l ViewTransition property to access more details about the item that is being added. See the \l ViewTransition documentation for more details and examples on using these transitions.
- See also
- add, ViewTransition, {Qt Quick Examples - Positioners}
\qmlproperty Transition QtQuick::Row::add
This property holds the transition to be run for items that are added to this positioner. For a positioner, this applies to:
\list
- Items that are created or reparented as a child of the positioner after the positioner has been created
- Child items that change their \l Item::visible property from false to true, and thus are now visible \endlist
The transition can use the \l ViewTransition property to access more details about the item that is being added. See the \l ViewTransition documentation for more details and examples on using these transitions.
- Note
- This transition is not applied to the items that are already part of the positioner at the time of its creation. In this case, the \l populate transition is applied instead.
- See also
- populate, ViewTransition, {Qt Quick Examples - Positioners}
\qmlproperty Transition QtQuick::Row::move
This property holds the transition to run for items that have moved within the positioner. For a positioner, this applies to:
\list
- Child items that move when they are displaced due to the addition, removal or rearrangement of other items in the positioner
- Child items that are repositioned due to the resizing of other items in the positioner \endlist
The transition can use the \l ViewTransition property to access more details about the item that is being moved. Note, however, that for this move transition, the ViewTransition.targetIndexes and ViewTransition.targetItems lists are only set when this transition is triggered by the addition of other items in the positioner; in other cases, these lists will be empty. See the \l ViewTransition documentation for more details and examples on using these transitions.
- See also
- add, populate, ViewTransition, {Qt Quick Examples - Positioners}
\qmlproperty real QtQuick::Row::spacing
The spacing is the amount in pixels left empty between adjacent items. The default spacing is 0.
- See also
- Grid::spacing
\qmlmethod QtQuick::Row::forceLayout()
- Since
- 5.9
Row typically positions its children once per frame. This means that inside script blocks it is possible for the underlying children to have changed, but the Row to have not yet been updated accordingly.
This method forces the Row to immediately respond to any outstanding changes in its children.
Note: methods in general should only be called after the Component has completed.
\qmlsignal QtQuick::Row::positioningComplete()
- Since
- 5.9
This signal is emitted when positioning has been completed.
Definition at line 1120 of file qquickpositioners.cpp.