Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qquickitem_p.h>
Classes | |
struct | ChangeListener |
struct | ExtraData |
Public Types | |
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 } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Additional Inherited Members | |
Protected Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickItem, QQuickItemPrivate > | |
void | setCurrentColorGroup () |
Definition at line 223 of file qquickitem_p.h.
Enumerator | |
---|---|
Geometry | |
SiblingOrder | |
Visibility | |
Opacity | |
Destroyed | |
Parent | |
Children | |
Rotation | |
ImplicitWidth | |
ImplicitHeight | |
Enabled | |
Focus | |
AllChanges |
Definition at line 300 of file qquickitem_p.h.
Definition at line 501 of file qquickitem_p.h.
Enumerator | |
---|---|
NoTag | |
LeftMouseButtonAccepted |
Definition at line 418 of file qquickitem_p.h.
QQuickItemPrivate::QQuickItemPrivate | ( | ) |
Definition at line 3247 of file qquickitem.cpp.
|
override |
Definition at line 3312 of file qquickitem.cpp.
References childItems, and sortedChildItems.
quint64 QQuickItemPrivate::_q_createJSWrapper | ( | QQmlV4ExecutionEnginePtr | engine | ) |
Definition at line 10049 of file qquickitem.cpp.
References engine.
Definition at line 3656 of file qquickitem.cpp.
References extra.
Referenced by addPointerHandler(), resources_append(), resources_clear(), and resources_removeLast().
QQuickStateGroup * QQuickItemPrivate::_states | ( | ) |
Definition at line 5401 of file qquickitem.cpp.
References _stateGroup, QQuickStateGroup::classBegin(), componentComplete, qmlobject_connect, and SIGNAL.
Referenced by setState(), states(), and transitions().
|
inline |
Definition at line 1003 of file qquickitem_p.h.
References Qt::LeftButton.
Referenced by QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(), and QQuickMouseAreaPrivate::propagateHelper().
void QQuickItemPrivate::addChild | ( | QQuickItem * | child | ) |
Definition at line 2993 of file qquickitem.cpp.
References QList< T >::append(), child, childItems, ChildrenChanged, QListSpecialMethodsBase< T >::contains(), dirty(), emit, extra, get(), itemChange(), QQuickItem::ItemChildAddedChange, markSortedChildrenDirty(), Q_ASSERT, setHasCursorInChild(), setHasHoverInChild(), subtreeCursorEnabled, and subtreeHoverEnabled.
void QQuickItemPrivate::addItemChangeListener | ( | QQuickItemChangeListener * | listener, |
ChangeTypes | types ) |
Definition at line 4049 of file qquickitem.cpp.
References changeListeners, and PRINT_LISTENERS.
Referenced by QQuickRowPrivate::effectiveLayoutDirectionChange(), QQuickGridPrivate::effectiveLayoutDirectionChange(), QQuickPathViewPrivate::getItem(), QQuickItemViewFxItem::trackGeometry(), and QQuickIconLabelPrivate::watchChanges().
|
virtual |
Reimplemented in QQuickFlickablePrivate.
Definition at line 9398 of file qquickitem.cpp.
References _q_resourceObjectDeleted(), Qt::AllButtons, QObject::connect(), QObject::destroyed(), extra, o, and Q_ASSERT.
void QQuickItemPrivate::addToDirtyList | ( | ) |
Definition at line 6772 of file qquickitem.cpp.
References get(), QQuickWindowPrivate::get(), nextDirtyItem, prevDirtyItem, Q_ASSERT, and window.
Referenced by dirty().
QPointF QQuickItemPrivate::adjustedPosForTransform | ( | const QPointF & | centroidParentPos, |
const QPointF & | startPos, | ||
const QVector2D & | activeTranslation, | ||
qreal | startScale, | ||
qreal | activeScale, | ||
qreal | startRotation, | ||
qreal | activeRotation ) |
Returns the new position (proposed values for the x and y properties) to which this item should be moved to compensate for the given change in scale from startScale to activeScale and in rotation from startRotation to activeRotation. centroidParentPos is the point that we wish to hold in place (and then apply activeTranslation to), in this item's parent's coordinate system. startPos is this item's position in its parent's coordinate system when the gesture began. activeTranslation is the amount of translation that should be added to the return value, i.e. the displacement by which the centroid is expected to move.
If activeTranslation is (0, 0) the centroid is to be held in place. If activeScale is
1
, it means scale is intended to be held constant, the same as startScale. If activeRotation is 0
, it means rotation is intended to be held constant, the same as startRotation.
Definition at line 5503 of file qquickitem.cpp.
References pos, QMatrix4x4::translate(), QPointF::x(), and QPointF::y().
QQuickAnchors * QQuickItemPrivate::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
\qmlproperty Item QtQuick::Item::anchors.fill \qmlproperty Item QtQuick::Item::anchors.centerIn
\qmlproperty real QtQuick::Item::anchors.margins \qmlproperty real QtQuick::Item::anchors.topMargin \qmlproperty real QtQuick::Item::anchors.bottomMargin \qmlproperty real QtQuick::Item::anchors.leftMargin \qmlproperty real QtQuick::Item::anchors.rightMargin \qmlproperty real QtQuick::Item::anchors.horizontalCenterOffset \qmlproperty real QtQuick::Item::anchors.verticalCenterOffset \qmlproperty real QtQuick::Item::anchors.baselineOffset
\qmlproperty bool QtQuick::Item::anchors.alignWhenCentered
Anchors provide a way to position an item by specifying its relationship with other items.
Margins apply to top, bottom, left, right, and fill anchors. The \l anchors.margins property can be used to set all of the various margins at once, to the same value. It will not override a specific margin that has been previously set; to clear an explicit margin set its value to undefined
. Note that margins are anchor-specific and are not applied if an item does not use anchors.
Offsets apply for horizontal center, vertical center, and baseline anchors.
\table \row
\qml Item { Image { id: pic ... } Text { id: label anchors.left: pic.right anchors.leftMargin: 5 ... } } \endqml \endtable
\l anchors.fill provides a convenient way for one item to have the same geometry as another item, and is equivalent to connecting all four directional anchors.
To clear an anchor value, set it to undefined
.
\l anchors.alignWhenCentered (default true
) forces centered anchors to align to a whole pixel; if the item being centered has an odd \l width or \l height, the item will be positioned on a whole pixel rather than being placed on a half-pixel. This ensures the item is painted crisply. There are cases where this is not desirable, for example when rotating the item jitters may be apparent as the center is rounded.
For more information see \l {anchor-layout}{Anchor Layouts}.
Definition at line 3756 of file qquickitem.cpp.
References _anchors, QQuickAnchors::classBegin(), and componentComplete.
Referenced by anchors(), QQuickTableViewPrivate::createFxTableItem(), and QQuickSwipeViewPrivate::resizeItem().
bool QQuickItemPrivate::anyPointerHandlerWants | ( | const QPointerEvent * | event, |
const QEventPoint & | point ) const |
Definition at line 5743 of file qquickitem.cpp.
References extra, and hasPointerHandlers().
QQuickAnchorLine QQuickItemPrivate::baseline | ( | ) | const |
Definition at line 4533 of file qquickitem.cpp.
References QQuickAnchors::BaselineAnchor.
Referenced by QQuickTextPrivate::setupTextLayout(), QQuickTextPrivate::updateBaseline(), and QQuickTextPrivate::updateSize().
QQuickAnchorLine QQuickItemPrivate::bottom | ( | ) | const |
Definition at line 4521 of file qquickitem.cpp.
References QQuickAnchors::BottomAnchor.
bool QQuickItemPrivate::calcEffectiveEnable | ( | ) | const |
Definition at line 6656 of file qquickitem.cpp.
References explicitEnable, get(), and parentItem.
bool QQuickItemPrivate::calcEffectiveVisible | ( | ) | const |
Definition at line 6608 of file qquickitem.cpp.
References explicitVisible, get(), and parentItem.
Referenced by setVisible().
|
static |
Definition at line 2432 of file qquickitem.cpp.
References get(), QVariant::isValid(), item, QVariant::toBool(), and QGraphicsItem::window().
Referenced by nextPrevItemInTabFocusChain().
|
inline |
Definition at line 1051 of file qquickitem_p.h.
QQmlListProperty< QQuickItem > QQuickItemPrivate::children | ( | ) |
Definition at line 5157 of file qquickitem.cpp.
References children_append(), children_at(), children_clear(), children_count(), and children_removeLast().
Referenced by QQuickScrollViewPrivate::contentChildren_append(), QQuickScrollViewPrivate::contentChildren_at(), QQuickScrollViewPrivate::contentChildren_clear(), QQuickScrollViewPrivate::contentChildren_count(), nextTabChildItem(), prevTabChildItem(), QQuickMouseAreaPrivate::propagateHelper(), QQuickOverlayPrivate::stackingOrderPopups(), transformChanged(), and QQuickTableViewPrivate::updateTableRecursive().
|
static |
Definition at line 3513 of file qquickitem.cpp.
References o.
Referenced by children(), QQuickPanePrivate::contentChildren(), and QQuickPopupPrivate::contentChildren().
|
static |
Definition at line 3504 of file qquickitem.cpp.
References get().
Referenced by children(), QQuickPanePrivate::contentChildren(), QQuickPopupPrivate::contentChildren(), and data_at().
|
static |
Definition at line 3531 of file qquickitem.cpp.
References get().
Referenced by children(), QQuickPanePrivate::contentChildren(), QQuickPopupPrivate::contentChildren(), and data_clear().
|
static |
Definition at line 3525 of file qquickitem.cpp.
References get().
Referenced by children(), QQuickPanePrivate::contentChildren(), QQuickPopupPrivate::contentChildren(), data_at(), data_count(), and data_removeLast().
|
static |
Definition at line 3539 of file qquickitem.cpp.
References get().
Referenced by children(), and data_removeLast().
|
inline |
Definition at line 684 of file qquickitem_p.h.
QPointF QQuickItemPrivate::computeTransformOrigin | ( | ) | const |
Definition at line 5415 of file qquickitem.cpp.
References QQuickItem::Bottom, QQuickItem::BottomLeft, QQuickItem::BottomRight, QQuickItem::Center, QQuickItem::Left, origin(), QQuickItem::Right, QQuickItem::Top, QQuickItem::TopLeft, and QQuickItem::TopRight.
Referenced by itemToParentTransform(), and QQuickFlipablePrivate::updateSide().
|
virtual |
Definition at line 4019 of file qquickitem.cpp.
QQmlListProperty< QObject > QQuickItemPrivate::data | ( | ) |
Definition at line 3773 of file qquickitem.cpp.
References data_append(), data_at(), data_clear(), data_count(), data_removeLast(), and QQmlListProperty< T >::object.
Referenced by QQuickShapePrivate::asyncShapeReady(), and QQuickSplitViewPrivate::effectiveSizeData().
|
static |
Definition at line 3344 of file qquickitem.cpp.
References get(), item, o, qCDebug, resources_append(), and QGraphicsItem::setParentItem().
Referenced by QQuickPanePrivate::contentData(), QQuickPopupPrivate::contentData(), QQuickApplicationWindowPrivate::contentData_append(), data(), ssgn_append(), and vpe_append().
|
static |
Definition at line 3410 of file qquickitem.cpp.
References children_at(), children_count(), get(), i, item, j, resources_at(), and resources_count().
Referenced by QQuickApplicationWindowPrivate::contentData(), QQuickPanePrivate::contentData(), QQuickPopupPrivate::contentData(), and data().
|
static |
Definition at line 3426 of file qquickitem.cpp.
References children_clear(), get(), item, and resources_clear().
Referenced by QQuickApplicationWindowPrivate::contentData(), QQuickPanePrivate::contentData(), QQuickPopupPrivate::contentData(), data(), and vpe_clear().
|
static |
\qmlproperty list<QtObject> QtQuick::Item::data \qmldefault
The data property allows you to freely mix visual children and resources in an item. If you assign a visual item to the data list it becomes a child and if you assign any other object type, it is added as a resource.
So you can write: \qml Item { Text {} Rectangle {} Timer {} } \endqml
instead of: \qml Item { children: [ Text {}, Rectangle {} ] resources: [ Timer {} ] } \endqml
It should not generally be necessary to refer to the data
property, as it is the default property for Item and thus all child items are automatically assigned to this property.
Definition at line 3400 of file qquickitem.cpp.
References children_count(), get(), item, and resources_count().
Referenced by QQuickApplicationWindowPrivate::contentData(), QQuickPanePrivate::contentData(), QQuickPopupPrivate::contentData(), and data().
|
static |
Definition at line 3437 of file qquickitem.cpp.
References children_count(), children_removeLast(), get(), item, resources_count(), and resources_removeLast().
Referenced by data().
Definition at line 5670 of file qquickitem.cpp.
References QEvent::accept(), Qt::AltModifier, Qt::ControlModifier, filterKeyEvent(), focusNextPrev(), QEvent::isAccepted(), QKeyEvent::key(), Qt::Key_Backtab, Qt::Key_Tab, QEvent::KeyPress, QKeyEvent::modifiers(), Q_ASSERT, QEvent::setAccepted(), Qt::ShiftModifier, and QEvent::type().
Definition at line 5635 of file qquickitem.cpp.
References QEvent::MouseButtonDblClick, QEvent::MouseButtonPress, QEvent::MouseButtonRelease, setFocusIfNeeded(), QEvent::TouchBegin, QEvent::TouchCancel, QEvent::TouchEnd, QEvent::TouchUpdate, and QEvent::Wheel.
Definition at line 5735 of file qquickitem.cpp.
References extra.
QQuickDeliveryAgent * QQuickItemPrivate::deliveryAgent | ( | ) |
Returns the delivery agent for the narrowest subscene containing this item, but falls back to QQuickWindowPrivate::deliveryAgent if there are no subscenes.
If this item is not sure whether it's in a subscene (as by default), we need to explore the parents to find out.
If this item is in a subscene, we will find that DA during the exploration, and return it.
If we find the root item without finding a DA, then we know that this item does NOT belong to a subscene, so we remember that by setting maybeHasSubsceneDeliveryAgent to false, so that exploration of the parents can be avoided next time.
In the usual case in normal 2D scenes without subscenes, maybeHasSubsceneDeliveryAgent gets set to false here.
Definition at line 5559 of file qquickitem.cpp.
References get(), QQuickWindowPrivate::get(), maybeHasSubsceneDeliveryAgent, qCDebug, and window.
Referenced by QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(), and deliveryAgentPrivate().
QQuickDeliveryAgentPrivate * QQuickItemPrivate::deliveryAgentPrivate | ( | ) |
Definition at line 5588 of file qquickitem.cpp.
References deliveryAgent(), and QObjectPrivate::get().
Referenced by QQuickTableViewPrivate::releaseItem(), QQuickFlickablePrivate::replayDelayedPress(), setEffectiveEnableRecur(), and setEffectiveVisibleRecur().
void QQuickItemPrivate::derefFromEffectItem | ( | bool | unhide | ) |
Definition at line 6833 of file qquickitem.cpp.
References ChildrenStackingChanged, dirty(), EffectReference, extra, get(), HideReference, parentItem, Q_ASSERT, and recursiveRefFromEffectItem().
Referenced by QQuickShaderEffectSource::~QQuickShaderEffectSource().
void QQuickItemPrivate::derefWindow | ( | ) |
Definition at line 3098 of file qquickitem.cpp.
References QList< T >::at(), child, childItems, dirty(), extra, get(), QQuickWindowPrivate::get(), itemChange(), itemNodeInstance, QQuickItem::ItemSceneChange, paintNode, parentItem, polishScheduled, Q_ASSERT, removeFromDirtyList(), QList< T >::size(), window, and windowRefCount.
Referenced by QQuickShaderEffectSource::~QQuickShaderEffectSource().
Definition at line 6758 of file qquickitem.cpp.
References addToDirtyList(), BasicTransform, Clip, componentComplete, dirtyAttributes, QQuickWindowPrivate::get(), prevDirtyItem, Transform, transformChanged(), TransformOrigin, and window.
Referenced by addChild(), derefFromEffectItem(), derefWindow(), refFromEffectItem(), refWindow(), removeChild(), setCulled(), setEffectiveVisibleRecur(), setVisible(), QQuickShapePrivate::sync(), transformChanged(), and QQuickTextPrivate::transformChanged().
QString QQuickItemPrivate::dirtyToString | ( | ) | const |
Definition at line 6725 of file qquickitem.cpp.
References Antialiasing, BasicTransform, ChildrenChanged, ChildrenStackingChanged, Clip, Content, DIRTY_TO_STRING, EffectReference, HideReference, OpacityValue, ParentChanged, Smooth, Transform, TransformOrigin, Visible, and ZValue.
|
virtual |
Definition at line 5105 of file qquickitem.cpp.
References ch, childItems, extra, get(), and qDebug.
Definition at line 632 of file qquickitem_p.h.
void QQuickItemPrivate::enableSubtreeChangeNotificationsForParentHierachy | ( | ) |
Definition at line 7111 of file qquickitem.cpp.
References get(), QQuickItem::parentItem(), and qCDebug.
Referenced by itemChange().
QQuickDeliveryAgent * QQuickItemPrivate::ensureSubsceneDeliveryAgent | ( | ) |
Ensures that this item, presumably the root of a subscene (e.g. because it is mapped onto a 3D object in Qt Quick 3D), has a delivery agent to be used when delivering events to the subscene: i.e. when the viewport delivers an event to the subscene, or when the outer delivery agent delivers an update to an item that grabbed during a previous subscene delivery. Creates a new agent if it was not already created, and returns a pointer to the instance.
Definition at line 5602 of file qquickitem.cpp.
References extra, QQuickItem::ItemIsFocusScope, maybeHasSubsceneDeliveryAgent, and qCDebug.
bool QQuickItemPrivate::filterKeyEvent | ( | QKeyEvent * | e, |
bool | post ) |
Definition at line 5619 of file qquickitem.cpp.
References QEvent::accept(), extra, QEvent::isAccepted(), QEvent::KeyPress, post(), and QEvent::type().
Referenced by deliverKeyEvent().
|
static |
QQuickItemPrivate::focusNextPrev focuses the next/prev item in the tab-focus-chain.
item | The item that currently has the focus |
forward | The direction |
If next is true, the next item visited will be in depth-first order relative to item. If next is false, the next item visited will be in reverse depth-first order relative to item.
Definition at line 2471 of file qquickitem.cpp.
References Qt::BacktabFocusReason, item, QWindowPrivate::Next, next, nextPrevItemInTabFocusChain(), QObject::parent(), QWindowPrivate::Prev, Q_ASSERT, qt_window_private(), Qt::TabFocusReason, QGraphicsItem::window(), window, and wrap().
Referenced by deliverKeyEvent(), and QQuickPopup::keyPressEvent().
|
inlinestatic |
Definition at line 231 of file qquickitem_p.h.
References item.
|
inlinestatic |
Definition at line 230 of file qquickitem_p.h.
References item.
Referenced by QQuick3DItem2D::QQuick3DItem2D(), QQuickBasicBusyIndicatorNode::QQuickBasicBusyIndicatorNode(), QQuickEnterKeyAttached::QQuickEnterKeyAttached(), QQuickItemKeyFilter::QQuickItemKeyFilter(), QQuickLayoutMirroringAttached::QQuickLayoutMirroringAttached(), QQuickMaterialRippleBackgroundNode::QQuickMaterialRippleBackgroundNode(), QQuickMaterialRippleWaveNode::QQuickMaterialRippleWaveNode(), QQuickOverlay::QQuickOverlay(), QQuickPointerHandler::QQuickPointerHandler(), QQuickScreenAttached::QQuickScreenAttached(), QQuickScrollIndicatorAttached::QQuickScrollIndicatorAttached(), QQuickSplitViewAttached::QQuickSplitViewAttached(), QQuickStackViewAttached::QQuickStackViewAttached(), QQuickUniversalFocusRectangle::QQuickUniversalFocusRectangle(), QQuickWindowContainer::QQuickWindowContainer(), QQuick3DTexture::~QQuick3DTexture(), QQuickContents::~QQuickContents(), QQuickControl::~QQuickControl(), QQuickDesignerSupport::~QQuickDesignerSupport(), QQuickLayout::~QQuickLayout(), QQuickMenu::~QQuickMenu(), QQuickOverlay::~QQuickOverlay(), QQuickPage::~QQuickPage(), QQuickPageIndicator::~QQuickPageIndicator(), QQuickPointerHandler::~QQuickPointerHandler(), QQuickPopupAnchors::~QQuickPopupAnchors(), QQuickPopupPositioner::~QQuickPopupPositioner(), QQuickScrollBarAttached::~QQuickScrollBarAttached(), QQuickScrollIndicatorAttached::~QQuickScrollIndicatorAttached(), QQuickShaderEffectSource::~QQuickShaderEffectSource(), QQuickStackElement::~QQuickStackElement(), QQuickStackViewAttached::~QQuickStackViewAttached(), QQuickTransform::~QQuickTransform(), QQuickLoaderPrivate::_q_updateSize(), QQuickPopupPositioner::addAncestorListeners(), addChild(), QQuick3DItem2D::addChildItem(), QQuickAnchorsPrivate::addDepend(), QQuickDesignerSupport::addDirty(), QQuickControlPrivate::addImplicitSizeListener(), QQuickFlickablePrivate::addPointerHandler(), addToDirtyList(), QQuickGridViewPrivate::addVisibleItems(), QQuickListViewPrivate::addVisibleItems(), anchors(), QQuickTransform::appendToItem(), QQuickGridViewPrivate::applyInsertionChange(), QQuickPointerHandler::approveGrabTransition(), QQuickTextAreaPrivate::attachFlickable(), QQuickAttachedPropertyPropagatorPrivate::attachTo(), calcEffectiveEnable(), calcEffectiveVisible(), canAcceptTabFocus(), QQuickLayout::checkAnchors(), QQuickMultiPointTouchArea::childMouseEventFilter(), children_at(), children_clear(), children_count(), children_removeLast(), QQuickContainerPrivate::cleanup(), QQuickLoaderPrivate::clear(), QQuickAnchorChanges::clearBindings(), QQuickDeliveryAgentPrivate::clearFocusInScope(), QQuickDeliveryAgentPrivate::clearFocusObject(), clickableItemAtPosition(), QmlJSDebugger::collectItemsAt(), QQuickContents::complete(), QQuickPointerHandler::componentComplete(), QQuickContainerPrivate::contentData_append(), QQuickMenuPrivate::contentData_append(), QQuickContainer::contentItemChange(), QQuickDialogButtonBox::contentItemChange(), QQuickMenu::contentItemChange(), QQuickPageIndicator::contentItemChange(), QQuickItemGrabResultPrivate::create(), QQuickComboBoxPrivate::createdItem(), QQuickTableViewPrivate::createFxTableItem(), QQuickDeliveryAgentPrivate::currentOrItemDeliveryAgent(), data_append(), QQuickWindowPrivate::data_append(), data_at(), QQuickWindowPrivate::data_at(), data_clear(), QQuickWindowPrivate::data_clear(), data_count(), QQuickWindowPrivate::data_count(), data_removeLast(), QQuickWindowPrivate::data_removeLast(), QQuickWindowPrivate::data_replace(), QQuickLayout::deactivateRecur(), debugFocusTree(), QQuickDeliveryAgentPrivate::deliverHoverEvent(), QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(), QQuickDeliveryAgentPrivate::deliverHoverEventToItem(), QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(), QQuickDeliveryAgentPrivate::deliverPressOrReleaseEvent(), QQuickDeliveryAgentPrivate::deliverSinglePointEventUntilAccepted(), QQuickDeliveryAgentPrivate::deliverTouchAsMouse(), QQuickDeliveryAgentPrivate::deliverUpdatedPoints(), deliveryAgent(), derefFromEffectItem(), QQuickDesignerSupport::derefFromEffectItem(), derefWindow(), QQuickTextAreaPrivate::detachFlickable(), QQuickAttachedPropertyPropagatorPrivate::detachFrom(), detachWindow(), QQuickTumblerPrivate::disconnectFromView(), dumpItemTree(), QQuickLayout::effectiveSizePolicy_helper(), enableSubtreeChangeNotificationsForParentHierachy(), QQuickAnchorChanges::execute(), fetchNextNode(), QQuickVisualTestUtils::findItems(), QQuickVisualTestUtils::findVisibleChild(), firstItemWithDirtyChildrenStacking(), forceUpdate(), QQuickItemGenerator::generateImageNode(), QQuickItemGenerator::generateTextNode(), QQuickFolderBreadcrumbBarPrivate::getContentWidth(), QQuickTabBarPrivate::getContentWidth(), QQuickPathViewPrivate::getItem(), QQuickListViewPrivate::getSectionItem(), QQuickWheelHandler::handleEventPoint(), QQuickShaderEffectPrivate::handleItemChange(), QQuickPinchHandler::handlePointerEventImpl(), hcenter(), QQuickFlickablePrivate::init(), init(), QQuickWindowPrivate::init(), QQuickStackElement::initialize(), QQuickItemView::initItem(), QQuickLoaderPrivate::initResize(), QQuickViewPrivate::initResize(), QQuickWidgetPrivate::initResize(), QQuickStyleItem::initStyleOptionBase(), QQuickContainerPrivate::insertItem(), QQuickMenuPrivate::insertItem(), QQuickDesignerSupport::isAnchoredTo(), QQuickDesignerSupport::isComponentComplete(), QQuickFolderBreadcrumbBar::isContent(), QQuickSplitView::isContent(), QQuickVisualTestUtils::isDelegateVisible(), QQuickDesignerSupport::isDirty(), QDeclarativeGeoMapItemBase::isPolishScheduled(), QQuickDesignerSupport::isValidHeight(), QQuickDesignerSupport::isValidWidth(), QQuickSplitView::itemAdded(), QQuickTabBar::itemAdded(), QQuickPageIndicatorPrivate::itemAt(), QmlJSDebugger::itemAt(), QQuickContainer::itemChange(), QQuickShaderEffectSource::itemChange(), QQuickLayout::itemChange(), QQuick3DTexture::itemChange(), itemChange(), QQuickContents::itemChildAdded(), QQuickPageIndicatorPrivate::itemChildAdded(), QQuickContainerPrivate::itemChildAdded(), QQuickMenuPrivate::itemChildAdded(), QQuickContents::itemChildRemoved(), QQuickContents::itemDestroyed(), QQuickLayoutAttached::itemForSizePolicy(), QQuickApplicationWindowPrivate::itemGeometryChanged(), QQuickControlPrivate::itemGeometryChanged(), QQuickLabelPrivate::itemGeometryChanged(), QQuickTextAreaPrivate::itemGeometryChanged(), QQuickTextFieldPrivate::itemGeometryChanged(), QQuickListViewPrivate::itemGeometryChanged(), QQuickSplitView::itemMoved(), QQuickSplitView::itemRemoved(), QQuickTableViewPrivate::itemReusedCallback(), QQuickMenuPrivate::itemSiblingOrderChanged(), itemToWindowTransform(), QQuickItem::itemTransform(), QQuickKeyNavigationAttached::keyPressed(), QQuickKeyNavigationAttached::keyReleased(), layoutItem(), QQuickSplitViewPrivate::layoutPositionItems(), QQuickSplitViewPrivate::layoutResizeFillItem(), QQuickSplitViewPrivate::layoutResizeSplitItems(), QQuickScrollIndicatorAttachedPrivate::layoutVertical(), QQuickSplitViewPrivate::limitAndApplySizes(), QQuickItem::mapRectFromItem(), QQuickItem::mapRectToItem(), QV4::Heap::QQuickItemWrapper::markObjects(), QQuickAnchors::mirrored(), QQuickDeliveryAgentPrivate::notifyFocusChangesRecur(), QQuickDeliveryAgentPrivate::onGrabChanged(), QQuickFusionDial::paint(), QQuickFusionKnob::paint(), paintOrderChildItems(), QQuickDesignerSupport::parentTransform(), QQuickColorImage::pixmapChange(), QQuickDeliveryAgentPrivate::pointerTargets(), QQuickWindowPrivate::polishItems(), QQuickOpacityAnimatorJob::postSync(), QQuickPopupPrivate::prepareExitTransition(), QQuickTransform::prependToItem(), QQuickBasePositioner::prePositioning(), QQuick3DItem2D::preSync(), QQuickMouseAreaPrivate::propagateHelper(), QQuickShaderEffectPrivate::propertyChanged(), QQuickTest::qIsPolishScheduled(), qquickitem_autoParent(), qquickitem_before_paintNode(), QQuickTest::qWaitForPolish(), readBaselineOffset(), readHeight(), readParentItem(), readWidth(), readX(), readY(), recursiveRefFromEffectItem(), refFromEffectItem(), QQuickDesignerSupport::refFromEffectItem(), refWindow(), QQuickTableViewPrivate::releaseItem(), QQuickItemViewPrivate::releaseItem(), QQuickListViewPrivate::releaseItem(), QQuickPathViewPrivate::releaseItem(), QQuickListViewPrivate::releaseSectionItem(), QQuickAnchorsPrivate::remDepend(), QQuickPopupPositioner::removeAncestorListeners(), removeChild(), QQuick3DItem2D::removeChildItem(), removeFromDirtyList(), QQuickControlPrivate::removeImplicitSizeListener(), QQuickContainerPrivate::removeItem(), QQuickMenuPrivate::removeItem(), QQuickDesignerSupport::renderImageForItem(), QQuickContainerPrivate::reorderItems(), QQuickColumn::reportConflictingAnchors(), QQuickRow::reportConflictingAnchors(), QQuickGrid::reportConflictingAnchors(), QQuickFlow::reportConflictingAnchors(), QQuickPopupPositioner::reposition(), QQuickDesignerSupport::resetDirty(), QQuickSplitViewAttached::resetPreferredHeight(), QQuickSplitViewAttached::resetPreferredWidth(), QQuickControlPrivate::resizeBackground(), QQuickLabelPrivate::resizeBackground(), QQuickTextAreaPrivate::resizeBackground(), QQuickTextFieldPrivate::resizeBackground(), QQuickSwipeDelegatePrivate::resizeBackground(), QQuickSwipeViewPrivate::resizeItem(), QQuickMenuPrivate::resizeItem(), QQuickMonthGridPrivate::resizeItems(), resolveLayoutMirror(), resources_append(), resources_at(), resources_clear(), resources_count(), resources_removeLast(), QQuickAnchorChanges::reverse(), QQuickAnchorChanges::rewind(), QQuickAnchorChanges::saveCurrentValues(), QQuickAnchorChanges::saveOriginals(), QQuickDeliveryAgentPrivate::sendFilteredMouseEvent(), QQuickDeliveryAgentPrivate::sendFilteredPointerEventImpl(), QQuickDeliveryAgentPrivate::sendHoverEvent(), QQmlDebugTranslationServicePrivate::sendStateList(), QQuickLoader::setActive(), setActiveFocus(), QQuickControl::setBackground(), QQuickLabel::setBackground(), QQuickTextArea::setBackground(), QQuickTextField::setBackground(), QQuickPopupAnchors::setCenterIn(), QQuickItem::setContainmentMask(), QQuickControlPrivate::setContentItem_helper(), QQuickMenuPrivate::setCurrentIndex(), setEffectiveEnableRecur(), setEffectiveVisibleRecur(), QQuickScrollBarAttachedPrivate::setFlickable(), QQuickItem::setFocus(), QQuickDeliveryAgentPrivate::setFocusInScope(), QQuickWindowPrivate::setFocusToTarget(), QQuickPage::setFooter(), setHasCursorInChild(), setHasHoverInChild(), QQuickPage::setHeader(), QQuickShaderEffectSource::setHideSource(), QQuickScrollBarAttached::setHorizontal(), QQuickScrollIndicatorAttached::setHorizontal(), setImplicitLayoutMirror(), QQuickLoaderPrivate::setInitialState(), QQuickPointerHandler::setParentItem(), QQuickItem::setParentItem(), QQuickPopupPositioner::setParentItem(), QQuickView::setResizeMode(), QQuickWidget::setResizeMode(), QQuickShaderEffectSource::setSourceItem(), QQuick3DTexture::setSourceItem(), QQmlDebugTranslationServicePrivate::setState(), QQuickTumblerPrivate::setupViewData(), QQuickScrollBarAttached::setVertical(), QQuickScrollIndicatorAttached::setVertical(), QQuickItemViewFxItem::setVisible(), QQuickItem::setZ(), QQuickLayout::shouldIgnoreItem(), QQuickItem::stackAfter(), QQuickItem::stackBefore(), QQuickDragAttachedPrivate::start(), QQuickDesignerSupport::statesForItem(), QQuickTransformAnimatorJob::Helper::sync(), QQuickBasicProgressBarNode::sync(), QQuickMaterialProgressBarNode::sync(), QQuickUniversalBusyIndicatorNode::sync(), QQuickUniversalProgressBarNode::sync(), QQuickWindowPrivate::syncSceneGraph(), QQuickShaderEffectSource::textureProvider(), QQuickItemViewFxItem::trackGeometry(), transform_at(), transform_clear(), transform_count(), transformChanged(), QQuickWindowContainerPrivate::transformChanged(), QQuickItemGroup::unwatch(), QQuickIconLabelPrivate::unwatchChanges(), QQuickBasePositionerPrivate::unwatchChanges(), QQuickActionPrivate::unwatchItem(), QQuickTransform::update(), QQuickMultiEffectPrivate::updateBlurItemsAmount(), QQuickWindowPrivate::updateChildrenPalettes(), QQuickWindowPrivate::updateChildWindowStackingOrder(), QQuickPopupPrivate::updateContentPalettes(), QQuickWindowPrivate::updateDirtyNode(), QQuickWindowPrivate::updateDirtyNodes(), QQuickDeliveryAgentPrivate::updateFocusItemTransform(), QQuickHoverHandlerPrivate::updateHasHoverInChild(), QQuickPathViewPrivate::updateItem(), QDeclarativeGeoMap::updateItemToWindowTransform(), QQuickDialogButtonBoxPrivate::updateLayout(), QQuickTabBarPrivate::updateLayout(), QQuickImageParticle::updatePaintNode(), QQuickMultiPointTouchArea::updatePaintNode(), QQuickShaderEffectSource::updatePaintNode(), QQuickMaterialRipple::updatePaintNode(), QQuickTextArea::updatePaintNode(), updatePixelRatioHelper(), QQuick3DItem2D::updateSpatialNode(), QQuick3DTexture::updateSpatialNode(), updateSubFocusItem(), QQuickMultiPointTouchArea::updateTouchData(), QQuickShaderEffect::updateUniformValue(), vcenter(), QQuickListView::viewportMoved(), QQuickGridView::viewportMoved(), visibleChildren_at(), visibleChildren_count(), warnIfHorizontallyAnchored(), QQuickItemGroup::watch(), QQuickIconLabelPrivate::watchChanges(), QQuickBasePositionerPrivate::watchChanges(), QQuickActionPrivate::watchItem(), and QQuickDesignerSupport::windowTransform().
|
virtual |
Reimplemented in QQuickLoaderPrivate, QQuickTextPrivate, QQuickShapePrivate, QQuickTextAreaPrivate, and QQuickTextFieldPrivate.
Definition at line 7557 of file qquickitem.cpp.
References implicitHeight.
Referenced by QQuickLoaderPrivate::getImplicitHeight(), QQuickTextAreaPrivate::getImplicitHeight(), and QQuickTextFieldPrivate::getImplicitHeight().
|
virtual |
Reimplemented in QQuickLoaderPrivate, QQuickTextPrivate, QQuickTextEditPrivate, QQuickTextInputPrivate, QQuickShapePrivate, QQuickTextAreaPrivate, and QQuickTextFieldPrivate.
Definition at line 7346 of file qquickitem.cpp.
References implicitWidth.
Referenced by QQuickLoaderPrivate::getImplicitWidth(), QQuickTextAreaPrivate::getImplicitWidth(), and QQuickTextFieldPrivate::getImplicitWidth().
QTransform QQuickItemPrivate::globalToWindowTransform | ( | ) | const |
Returns a transform that maps points from global space into window space.
Definition at line 3221 of file qquickitem.cpp.
References QTransform::fromTranslate(), pos, Q_UNLIKELY, QQuickRenderControl::renderWindowFor(), and window.
|
virtual |
Deliver the event to all this item's PointerHandlers, but skip HoverHandlers if the event is a QMouseEvent or QWheelEvent (they are visited in QQuickDeliveryAgentPrivate::deliverHoverEventToItem()), and skip handlers that are in QQuickPointerHandlerPrivate::deviceDeliveryTargets(). If avoidGrabbers is true, also skip delivery to any handler that is exclusively or passively grabbing any point within event (because delivery to grabbers is handled separately).
Definition at line 5764 of file qquickitem.cpp.
References QQuickPointerHandlerPrivate::deviceDeliveryTargets(), extra, and QQuickDeliveryAgentPrivate::isMouseOrWheelEvent().
Referenced by QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(), QQuickDeliveryAgentPrivate::deliverSinglePointEventUntilAccepted(), and QQuickDeliveryAgentPrivate::deliverUpdatedPoints().
bool QQuickItemPrivate::hasEnabledHoverHandlers | ( | ) | const |
Definition at line 9388 of file qquickitem.cpp.
References extra, and hasPointerHandlers().
Referenced by setHasHoverInChild().
bool QQuickItemPrivate::hasPointerHandlers | ( | ) | const |
Definition at line 9383 of file qquickitem.cpp.
References extra.
Referenced by anyPointerHandlerWants(), QQuickDeliveryAgentPrivate::deliverHoverEventToItem(), and hasEnabledHoverHandlers().
|
inline |
Definition at line 592 of file qquickitem_p.h.
|
inline |
Definition at line 598 of file qquickitem_p.h.
Referenced by QQuickLoaderPrivate::setInitialState().
QQuickAnchorLine QQuickItemPrivate::horizontalCenter | ( | ) | const |
Definition at line 4509 of file qquickitem.cpp.
References QQuickAnchors::HCenterAnchor.
|
virtual |
Reimplemented in QQuickPopupItemPrivate, QQuickTextAreaPrivate, and QQuickTextFieldPrivate.
Definition at line 7550 of file qquickitem.cpp.
References emit, ImplicitHeight, QQuickItemChangeListener::itemImplicitHeightChanged(), and notifyChangeListeners().
Referenced by QQuickPopupItemPrivate::implicitHeightChanged(), QQuickTextAreaPrivate::implicitHeightChanged(), QQuickTextFieldPrivate::implicitHeightChanged(), and QQuickTextPrivate::updateSize().
|
virtual |
Reimplemented in QQuickPopupItemPrivate, QQuickTextAreaPrivate, and QQuickTextFieldPrivate.
Definition at line 7339 of file qquickitem.cpp.
References emit, ImplicitWidth, QQuickItemChangeListener::itemImplicitWidthChanged(), and notifyChangeListeners().
Referenced by QQuickPopupItemPrivate::implicitWidthChanged(), QQuickTextAreaPrivate::implicitWidthChanged(), QQuickTextFieldPrivate::implicitWidthChanged(), and QQuickTextPrivate::updateSize().
void QQuickItemPrivate::init | ( | QQuickItem * | parent | ) |
Definition at line 3318 of file qquickitem.cpp.
References baselineOffset, get(), QObjectData::isQuickItem, QObjectData::parent, and setImplicitLayoutMirror().
|
inline |
Definition at line 628 of file qquickitem_p.h.
bool QQuickItemPrivate::isTransparentForPositioner | ( | ) | const |
Definition at line 6714 of file qquickitem.cpp.
References extra.
Referenced by QQuickContainerPrivate::contentData_append(), QQuickPageIndicatorPrivate::itemAt(), QQuickPageIndicatorPrivate::itemChildAdded(), QQuickContainerPrivate::itemChildAdded(), and QQuickContainerPrivate::reorderItems().
void QQuickItemPrivate::itemChange | ( | QQuickItem::ItemChange | change, |
const QQuickItem::ItemChangeData & | data ) |
Definition at line 6859 of file qquickitem.cpp.
References Children, Enabled, enableSubtreeChangeNotificationsForParentHierachy(), get(), QQuickItem::ItemActiveFocusHasChanged, QQuickItem::ItemAntialiasingHasChanged, QQuickItemChangeListener::itemChildAdded(), QQuickItem::ItemChildAddedChange, QQuickItemChangeListener::itemChildRemoved(), QQuickItem::ItemChildRemovedChange, QQuickItem::ItemDevicePixelRatioHasChanged, QQuickItemChangeListener::itemEnabledChanged(), QQuickItem::ItemEnabledHasChanged, QQuickItemChangeListener::itemOpacityChanged(), QQuickItem::ItemOpacityHasChanged, QQuickItemChangeListener::itemParentChanged(), QQuickItem::ItemParentHasChanged, QQuickItemChangeListener::itemRotationChanged(), QQuickItem::ItemRotationHasChanged, QQuickItem::ItemSceneChange, QQuickItemChangeListener::itemVisibilityChanged(), QQuickItem::ItemVisibleHasChanged, notifyChangeListeners(), Opacity, Parent, qCDebug, Rotation, subtreeTransformChangedEnabled, and Visibility.
Referenced by addChild(), derefWindow(), QQuickDeliveryAgentPrivate::notifyFocusChangesRecur(), refWindow(), removeChild(), setEffectiveEnableRecur(), setEffectiveVisibleRecur(), and updatePixelRatioHelper().
|
inline |
Definition at line 1038 of file qquickitem_p.h.
References arg, QString::fromLatin1(), QSGNode::OwnedByParent, and qsgnode_set_description().
void QQuickItemPrivate::itemToParentTransform | ( | QTransform * | t | ) | const |
Modifies t with this item's local transform relative to its parent.
Definition at line 3174 of file qquickitem.cpp.
References QQuickTransform::applyTo(), QList< T >::at(), computeTransformOrigin(), QList< T >::isEmpty(), rotation(), scale(), QList< T >::size(), transforms, QPointF::x(), and QPointF::y().
Referenced by itemToWindowTransform().
QTransform QQuickItemPrivate::itemToWindowTransform | ( | ) | const |
Returns a transform that maps points from item space into window space.
Definition at line 3162 of file qquickitem.cpp.
References get(), itemToParentTransform(), parentItem, and Q_ASSERT.
Referenced by windowToItemTransform().
Qt::FocusReason QQuickItemPrivate::lastFocusChangeReason | ( | ) | const |
Definition at line 1742 of file qquickitem.cpp.
References focusReason.
QQuickAnchorLine QQuickItemPrivate::left | ( | ) | const |
Definition at line 4497 of file qquickitem.cpp.
References QQuickAnchors::LeftAnchor.
void QQuickItemPrivate::localizedTouchEvent | ( | const QTouchEvent * | event, |
bool | isFiltering, | ||
QMutableTouchEvent * | localized ) |
This property holds the palette currently set for the item.
This property describes the item's requested palette. The palette is used by the item's style when rendering all controls, and is available as a means to ensure that custom controls can maintain consistency with the native platform's native look and feel. It's common that different platforms, or different styles, define different palettes for an application.
The default palette depends on the system environment. ApplicationWindow maintains a system/theme palette which serves as a default for all controls. There may also be special palette defaults for certain types of controls. You can also set the default palette for controls by either:
\list
Items propagate explicit palette properties from parents to children. If you change a specific property on a items's palette, that property propagates to all of the item's children, overriding any system defaults for that property.
Create a modified copy of the given event intended for delivery to this item, containing pointers to only the QEventPoint instances that are relevant to this item, and transforming their positions to this item's coordinate system.
Returns an invalid event with type \l QEvent::None if all points are stationary; or there are no points inside the item; or none of the points were pressed inside, neither the item nor any of its handlers is grabbing any of them, and isFiltering is false.
When isFiltering is true, it is assumed that the item cares about all points which are inside its bounds, because most filtering items need to monitor eventpoint movements until a drag threshold is exceeded or the requirements for a gesture to be recognized are met in some other way.
Definition at line 9291 of file qquickitem.cpp.
References QMutableEventPoint::detach(), QEvent::None, QObjectData::parent, QQuickPointerHandler::parentItem(), QEventPoint::Pressed, qobject_cast< QQuickItem * >(), QEventPoint::Released, ret, QEvent::TouchBegin, QEvent::TouchEnd, and QEvent::TouchUpdate.
Referenced by QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem().
|
inline |
Definition at line 1021 of file qquickitem_p.h.
References child.
Referenced by addChild(), and removeChild().
|
inlinevirtual |
Reimplemented in QQuickItemViewPrivate, QQuickBasePositionerPrivate, QQuickTextPrivate, QQuickTextEditPrivate, QQuickTextInputPrivate, QQuickGridLayoutBasePrivate, and QQuickControlPrivate.
Definition at line 702 of file qquickitem_p.h.
Referenced by setLayoutMirror().
|
static |
Definition at line 2547 of file qquickitem.cpp.
References QQuickItem::activeFocusOnTab(), canAcceptTabFocus(), QGraphicsItem::childItems(), QQuickItem::childItems(), QList< T >::constFirst(), QListSpecialMethodsBase< T >::indexOf(), QList< T >::isEmpty(), QQuickItem::isEnabled(), isTabFence, QQuickItem::isVisible(), item, nextTabChildItem(), QObjectData::parent, QGraphicsItem::parentItem(), QQuickItem::parentItem(), prevTabChildItem(), Q_ASSERT, qCDebug, QGuiApplication::styleHints(), Qt::TabFocusAllControls, QGraphicsItem::window(), and wrap().
Referenced by focusNextPrev(), and QQuickWindowPrivate::setFocusToTarget().
|
static |
Definition at line 2503 of file qquickitem.cpp.
References child, QGraphicsItem::childItems(), children(), item, and qWarning.
Referenced by nextPrevItemInTabFocusChain().
|
inline |
Definition at line 348 of file qquickitem_p.h.
References args, changeTypes, function, and listeners.
Referenced by implicitHeightChanged(), implicitWidthChanged(), itemChange(), QQuickDeliveryAgentPrivate::notifyFocusChangesRecur(), QQuickDeliveryAgentPrivate::setFocusInScope(), and siblingOrderChanged().
|
inline |
Definition at line 607 of file qquickitem_p.h.
|
inline |
Definition at line 683 of file qquickitem_p.h.
|
inline |
Definition at line 1032 of file qquickitem_p.h.
References QQuickItem::Center.
Referenced by computeTransformOrigin(), and QQuickFlipablePrivate::updateSide().
QList< QQuickItem * > QQuickItemPrivate::paintOrderChildItems | ( | ) | const |
Definition at line 2968 of file qquickitem.cpp.
References QList< T >::at(), QList< T >::begin(), childItems, QList< T >::end(), get(), i, itemZOrder_sort(), QList< T >::size(), and sortedChildItems.
Referenced by QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(), QQuickMouseAreaPrivate::propagateHelper(), QQuickOverlayPrivate::stackingOrderPopups(), and transformChanged().
|
static |
Definition at line 2524 of file qquickitem.cpp.
References child, QGraphicsItem::childItems(), children(), item, and qWarning.
Referenced by nextPrevItemInTabFocusChain().
QQuickItemPrivate::Q_OBJECT_COMPAT_PROPERTY | ( | QQuickItemPrivate | , |
qreal | , | ||
height | , | ||
&QQuickItemPrivate::setHeight | , | ||
&QQuickItemPrivate::heightChanged | ) |
QQuickItemPrivate::Q_OBJECT_COMPAT_PROPERTY | ( | QQuickItemPrivate | , |
qreal | , | ||
width | , | ||
&QQuickItemPrivate::setWidth | , | ||
&QQuickItemPrivate::widthChanged | ) |
QQuickItemPrivate::Q_OBJECT_COMPAT_PROPERTY | ( | QQuickItemPrivate | , |
qreal | , | ||
x | , | ||
&QQuickItemPrivate::setX | , | ||
&QQuickItemPrivate::xChanged | ) |
QQuickItemPrivate::Q_OBJECT_COMPAT_PROPERTY | ( | QQuickItemPrivate | , |
qreal | , | ||
y | , | ||
&QQuickItemPrivate::setY | , | ||
&QQuickItemPrivate::yChanged | ) |
void QQuickItemPrivate::recursiveRefFromEffectItem | ( | int | refs | ) |
Definition at line 6817 of file qquickitem.cpp.
References QList< T >::at(), child, childItems, effectiveVisible, extra, get(), and QList< T >::size().
Referenced by derefFromEffectItem(), and refFromEffectItem().
void QQuickItemPrivate::refFromEffectItem | ( | bool | hide | ) |
Definition at line 6802 of file qquickitem.cpp.
References ChildrenStackingChanged, dirty(), EffectReference, extra, get(), hide(), HideReference, parentItem, and recursiveRefFromEffectItem().
void QQuickItemPrivate::refWindow | ( | QQuickWindow * | c | ) |
Definition at line 3057 of file qquickitem.cpp.
References QList< T >::at(), child, childItems, dirty(), extra, get(), QQuickWindowPrivate::get(), itemChange(), QQuickItem::ItemSceneChange, parentItem, polishScheduled, Q_ASSERT, qWarning, QList< T >::size(), window, and windowRefCount.
|
inlinevirtual |
Definition at line 426 of file qquickitem_p.h.
void QQuickItemPrivate::removeChild | ( | QQuickItem * | child | ) |
Definition at line 3022 of file qquickitem.cpp.
References child, childItems, ChildrenChanged, QListSpecialMethodsBase< T >::contains(), dirty(), emit, extra, get(), inDestructor, itemChange(), QQuickItem::ItemChildRemovedChange, markSortedChildrenDirty(), Q_ASSERT, QList< T >::removeOne(), setHasCursorInChild(), setHasHoverInChild(), subtreeCursorEnabled, and subtreeHoverEnabled.
Referenced by QQuickItem::setParentItem().
void QQuickItemPrivate::removeFromDirtyList | ( | ) |
Definition at line 6790 of file qquickitem.cpp.
References get(), nextDirtyItem, prevDirtyItem, and Q_ASSERT.
Referenced by derefWindow().
void QQuickItemPrivate::removeItemChangeListener | ( | QQuickItemChangeListener * | listener, |
ChangeTypes | types ) |
Definition at line 4070 of file qquickitem.cpp.
References changeListeners, and PRINT_LISTENERS.
Referenced by QQuickShaderEffectSource::~QQuickShaderEffectSource(), QQuickRowPrivate::effectiveLayoutDirectionChange(), QQuickGridPrivate::effectiveLayoutDirectionChange(), QQuickPathViewPrivate::releaseItem(), QQuickItemViewFxItem::trackGeometry(), and QQuickIconLabelPrivate::unwatchChanges().
|
virtual |
Definition at line 9417 of file qquickitem.cpp.
References QObject::destroyed(), QObject::disconnect(), extra, and Q_ASSERT.
void QQuickItemPrivate::resolveLayoutMirror | ( | ) |
Definition at line 1541 of file qquickitem.cpp.
References effectiveLayoutMirror, get(), inheritMirrorFromItem, isMirrorImplicit, QQuickItem::parentItem(), parentItem, and setImplicitLayoutMirror().
Referenced by QQuickLayoutMirroringAttached::resetEnabled(), QQuickLayoutMirroringAttached::setChildrenInherit(), and QQuickLayoutMirroringAttached::setEnabled().
QQmlListProperty< QObject > QQuickItemPrivate::resources | ( | ) |
Definition at line 5126 of file qquickitem.cpp.
References QQmlListProperty< T >::object, resources_append(), resources_at(), resources_clear(), resources_count(), and resources_removeLast().
Referenced by resources_removeLast().
|
static |
Definition at line 3459 of file qquickitem.cpp.
References _q_resourceObjectDeleted(), get(), qmlobject_connect, SIGNAL, and SLOT.
Referenced by data_append(), and resources().
|
static |
Definition at line 3453 of file qquickitem.cpp.
References get().
Referenced by data_at(), and resources().
|
static |
Definition at line 3476 of file qquickitem.cpp.
References _q_resourceObjectDeleted(), get(), qmlobject_disconnect, SIGNAL, and SLOT.
Referenced by data_clear(), and resources().
|
static |
Definition at line 3470 of file qquickitem.cpp.
References get().
Referenced by data_at(), data_count(), data_removeLast(), and resources().
|
static |
Definition at line 3489 of file qquickitem.cpp.
References _q_resourceObjectDeleted(), get(), qmlobject_disconnect, QQmlListProperty< T >::removeLast, resources(), SIGNAL, and SLOT.
Referenced by data_removeLast(), and resources().
QQuickAnchorLine QQuickItemPrivate::right | ( | ) | const |
Definition at line 4503 of file qquickitem.cpp.
References QQuickAnchors::RightAnchor.
|
inline |
Definition at line 685 of file qquickitem_p.h.
|
inline |
Definition at line 606 of file qquickitem_p.h.
Referenced by itemToParentTransform(), and QQuickFlipablePrivate::updateSide().
|
inline |
Definition at line 605 of file qquickitem_p.h.
Referenced by itemToParentTransform(), and QQuickFlipablePrivate::updateSide().
|
inline |
Definition at line 1009 of file qquickitem_p.h.
References context, QObjectPrivate::get(), Q_ASSERT, and window().
Referenced by QQuickTextEditPrivate::createTextNode().
|
inline |
Definition at line 1015 of file qquickitem_p.h.
References context, QObjectPrivate::get(), Q_ASSERT, and window().
Referenced by QQuickTextEditPrivate::createTextNode().
void QQuickItemPrivate::setAccessible | ( | ) |
Definition at line 1669 of file qquickitem.cpp.
References isAccessible.
void QQuickItemPrivate::setCulled | ( | bool | cull | ) |
Definition at line 6849 of file qquickitem.cpp.
References culled, dirty(), extra, and HideReference.
void QQuickItemPrivate::setEffectiveEnableRecur | ( | QQuickItem * | scope, |
bool | newEffectiveEnable ) |
Definition at line 6664 of file qquickitem.cpp.
References activeFocus, QList< T >::at(), childItems, deliveryAgentPrivate(), QQuickDeliveryAgentPrivate::DontChangeFocusProperty, QQuickDeliveryAgentPrivate::DontChangeSubFocusItem, effectiveEnable, emit, explicitEnable, focus, get(), isAccessible, itemChange(), QQuickItem::ItemEnabledHasChanged, QQuickItem::ItemIsFocusScope, Qt::OtherFocusReason, and QList< T >::size().
bool QQuickItemPrivate::setEffectiveVisibleRecur | ( | bool | newEffectiveVisible | ) |
Definition at line 6614 of file qquickitem.cpp.
References QList< T >::at(), childItems, ChildrenStackingChanged, deliveryAgentPrivate(), dirty(), effectiveVisible, emit, explicitVisible, get(), inDestructor, isAccessible, itemChange(), QQuickItem::ItemVisibleHasChanged, parentItem, QList< T >::size(), Visible, and window.
Referenced by setVisible().
bool QQuickItemPrivate::setFocusIfNeeded | ( | QEvent::Type | eventType | ) |
Definition at line 1709 of file qquickitem.cpp.
References Qt::ClickFocus, focusPolicy, QEvent::MouseButtonDblClick, QEvent::MouseButtonPress, QEvent::MouseButtonRelease, Qt::MouseFocusReason, policy, setActiveFocus(), QGuiApplication::styleHints(), QEvent::TouchBegin, QEvent::TouchEnd, QEvent::Wheel, and Qt::WheelFocus.
Referenced by deliverPointerEvent().
void QQuickItemPrivate::setHasCursorInChild | ( | bool | hasCursor | ) |
Definition at line 8190 of file qquickitem.cpp.
References childItems, get(), hasCursor, QObjectData::parent, Q_UNUSED, and subtreeCursorEnabled.
Referenced by addChild(), and removeChild().
void QQuickItemPrivate::setHasHoverInChild | ( | bool | hasHover | ) |
Definition at line 8218 of file qquickitem.cpp.
References childItems, get(), hasEnabledHoverHandlers(), hoverEnabled, QObjectData::parent, qCDebug, and subtreeHoverEnabled.
Referenced by addChild(), and removeChild().
Definition at line 591 of file qquickitem_p.h.
void QQuickItemPrivate::setImplicitAntialiasing | ( | bool | antialiasing | ) |
Definition at line 7069 of file qquickitem.cpp.
References antialiasing, componentComplete, emit, and implicitAntialiasing.
Referenced by QQuickRectanglePrivate::maybeSetImplicitAntialiasing().
void QQuickItemPrivate::setImplicitLayoutMirror | ( | bool | mirror, |
bool | inherit ) |
Definition at line 1552 of file qquickitem.cpp.
References QList< T >::at(), child, childItems, effectiveLayoutMirror, get(), i, inheritedLayoutMirror, inheritMirrorFromItem, inheritMirrorFromParent, isMirrorImplicit, setLayoutMirror(), and QList< T >::size().
Referenced by init(), and resolveLayoutMirror().
void QQuickItemPrivate::setLastFocusChangeReason | ( | Qt::FocusReason | reason | ) |
Definition at line 1747 of file qquickitem.cpp.
References focusReason.
Referenced by QQuickControlPrivate::itemFocusChanged().
void QQuickItemPrivate::setLayoutMirror | ( | bool | mirror | ) |
Definition at line 1573 of file qquickitem.cpp.
References _anchors, effectiveLayoutMirror, emit, extra, QQuickAnchorsPrivate::get(), and mirrorChange().
Referenced by QQuickLayoutMirroringAttached::setEnabled(), and setImplicitLayoutMirror().
void QQuickItemPrivate::setSizePolicy | ( | const QLayoutPolicy::Policy & | horizontalPolicy, |
const QLayoutPolicy::Policy & | verticalPolicy ) |
Definition at line 3338 of file qquickitem.cpp.
References QLayoutPolicy::setHorizontalPolicy(), QLayoutPolicy::setVerticalPolicy(), and szPolicy.
Referenced by QQuickPathViewPrivate::QQuickPathViewPrivate(), QQuickFlickablePrivate::init(), QQuickTextEditPrivate::init(), QQuickTextInputPrivate::init(), QQuickAbstractButtonPrivate::init(), and QQuickContainerPrivate::init().
Definition at line 5280 of file qquickitem.cpp.
References _states(), QQuickStateGroup::setState(), and state().
void QQuickItemPrivate::setTransparentForPositioner | ( | bool | trans | ) |
Definition at line 6719 of file qquickitem.cpp.
References extra.
Referenced by QQuickRepeaterPrivate::QQuickRepeaterPrivate().
|
virtual |
Reimplemented in QDeclarativeGeoMapCopyrightNoticePrivate.
Definition at line 6526 of file qquickitem.cpp.
References calcEffectiveVisible(), dirty(), emit, explicitVisible, parentItem, setEffectiveVisibleRecur(), Visible, and QQuickItem::visibleChildrenChanged().
Referenced by QDeclarativeGeoMapCopyrightNoticePrivate::setVisible().
Definition at line 588 of file qquickitem_p.h.
Definition at line 582 of file qquickitem_p.h.
Definition at line 585 of file qquickitem_p.h.
void QQuickItemPrivate::siblingOrderChanged | ( | ) |
Definition at line 3767 of file qquickitem.cpp.
References QQuickItemChangeListener::itemSiblingOrderChanged(), notifyChangeListeners(), and SiblingOrder.
QLayoutPolicy QQuickItemPrivate::sizePolicy | ( | ) | const |
Definition at line 3333 of file qquickitem.cpp.
References szPolicy.
QString QQuickItemPrivate::state | ( | ) | const |
Definition at line 5272 of file qquickitem.cpp.
References _stateGroup, and QQuickStateGroup::state.
Referenced by setState().
QQmlListProperty< QQuickState > QQuickItemPrivate::states | ( | ) |
Definition at line 5230 of file qquickitem.cpp.
References _states(), and QQuickStateGroup::statesProperty().
QQuickAnchorLine QQuickItemPrivate::top | ( | ) | const |
Definition at line 4515 of file qquickitem.cpp.
References QQuickAnchors::TopAnchor.
Referenced by QQuickStackViewPrivate::replaceElements(), and QQuickTextInputPrivate::updateVerticalScroll().
|
static |
Definition at line 3620 of file qquickitem.cpp.
|
static |
Definition at line 3629 of file qquickitem.cpp.
References get().
|
static |
Definition at line 3640 of file qquickitem.cpp.
References get(), QQuickTransformPrivate::get(), QQuickTransformPrivate::items, QList< T >::removeOne(), and Transform.
|
static |
Definition at line 3574 of file qquickitem.cpp.
References get().
|
virtual |
QQuickItemPrivate::dirty() calls transformChanged(q) to inform this item and all its children that its transform has changed, with transformedItem always being the parent item that caused the change. Override to react, e.g. to call update() if the item needs to re-generate SG nodes based on visible extents. If you override in a subclass, you must also call this (superclass) function and return the value from it.
This function recursively visits all children as long as subtreeTransformChangedEnabled is true, returns true
if any of those children still has the ItemObservesViewport flag set, but otherwise turns subtreeTransformChangedEnabled off, if no children are observing.
Reimplemented in QQuickFlipablePrivate, QQuickTextPrivate, QQuickTextEditPrivate, and QQuickWindowContainerPrivate.
Definition at line 5454 of file qquickitem.cpp.
References child, children(), Clip, componentComplete, dirty(), dirtyAttributes, extra, get(), QQuickItem::ItemObservesViewport, paintOrderChildItems(), qCDebug, ret, and subtreeTransformChangedEnabled.
Referenced by dirty(), QQuickFlipablePrivate::transformChanged(), QQuickTextPrivate::transformChanged(), QQuickTextEditPrivate::transformChanged(), and QQuickWindowContainerPrivate::transformChanged().
QQmlListProperty< QQuickTransition > QQuickItemPrivate::transitions | ( | ) |
Definition at line 5267 of file qquickitem.cpp.
References _states(), and QQuickStateGroup::transitionsProperty().
void QQuickItemPrivate::updateOrAddGeometryChangeListener | ( | QQuickItemChangeListener * | listener, |
QQuickGeometryChange | types ) |
Definition at line 4079 of file qquickitem.cpp.
References changeListeners, QQuickItemPrivate::ChangeListener::gTypes, and PRINT_LISTENERS.
void QQuickItemPrivate::updateOrAddItemChangeListener | ( | QQuickItemChangeListener * | listener, |
ChangeTypes | types ) |
Definition at line 4057 of file qquickitem.cpp.
References changeListeners, PRINT_LISTENERS, and QQuickItemPrivate::ChangeListener::types.
void QQuickItemPrivate::updateOrRemoveGeometryChangeListener | ( | QQuickItemChangeListener * | listener, |
QQuickGeometryChange | types ) |
Definition at line 4093 of file qquickitem.cpp.
References changeListeners, QQuickItemPrivate::ChangeListener::gTypes, and PRINT_LISTENERS.
|
inlinevirtual |
Reimplemented in QQuickShaderEffectPrivate, QQuickTableViewPrivate, and QQuickSplitViewPrivate.
Definition at line 711 of file qquickitem_p.h.
Referenced by QQuickWindowPrivate::polishItems().
void QQuickItemPrivate::updateSubFocusItem | ( | QQuickItem * | scope, |
bool | focus ) |
Clears all sub focus items from scope.
If focus is true, sets the scope's subFocusItem to be this item.
Definition at line 1679 of file qquickitem.cpp.
References focus, get(), QQuickItem::parentItem(), and Q_ASSERT.
QQuickAnchorLine QQuickItemPrivate::verticalCenter | ( | ) | const |
Definition at line 4527 of file qquickitem.cpp.
References QQuickAnchors::VCenterAnchor.
QQmlListProperty< QQuickItem > QQuickItemPrivate::visibleChildren | ( | ) |
Definition at line 5181 of file qquickitem.cpp.
References visibleChildren_at(), and visibleChildren_count().
|
static |
Definition at line 3559 of file qquickitem.cpp.
Referenced by visibleChildren().
|
static |
Definition at line 3547 of file qquickitem.cpp.
References get().
Referenced by visibleChildren().
|
inline |
Definition at line 589 of file qquickitem_p.h.
Referenced by QQuickTextPrivate::setupTextLayout().
|
inline |
Definition at line 597 of file qquickitem_p.h.
Referenced by QQuickLoaderPrivate::setInitialState().
QTransform QQuickItemPrivate::windowToGlobalTransform | ( | ) | const |
Returns a transform that maps points from window space into global space.
Definition at line 3207 of file qquickitem.cpp.
References QTransform::fromTranslate(), pos, Q_UNLIKELY, QQuickRenderControl::renderWindowFor(), and window.
QTransform QQuickItemPrivate::windowToItemTransform | ( | ) | const |
Returns a transform that maps points from window space into item space.
Definition at line 3153 of file qquickitem.cpp.
References QTransform::inverted(), and itemToWindowTransform().
Referenced by QQuickFlickablePrivate::firstPointLocalVelocity().
|
inline |
Definition at line 583 of file qquickitem_p.h.
Referenced by QWaylandMouseTrackerPrivate::handleMousePos().
|
inline |
Definition at line 586 of file qquickitem_p.h.
Referenced by QWaylandMouseTrackerPrivate::handleMousePos().
|
inline |
Definition at line 604 of file qquickitem_p.h.
Referenced by QQuickPathViewPrivate::getItem(), and qquickitem_before_paintNode().
|
mutable |
Definition at line 429 of file qquickitem_p.h.
Referenced by anchors(), and setLayoutMirror().
QQuickStateGroup* QQuickItemPrivate::_stateGroup |
Definition at line 442 of file qquickitem_p.h.
quint32 QQuickItemPrivate::activeFocus |
Definition at line 458 of file qquickitem_p.h.
Referenced by QQuickDeliveryAgentPrivate::notifyFocusChangesRecur(), QQuickTextInputPrivate::processKeyEvent(), setEffectiveEnableRecur(), and QQuickEnterKeyAttached::setType().
quint32 QQuickItemPrivate::activeFocusOnTab |
Definition at line 478 of file qquickitem_p.h.
quint32 QQuickItemPrivate::antialiasing |
Definition at line 455 of file qquickitem_p.h.
Referenced by setImplicitAntialiasing().
quint32 QQuickItemPrivate::antialiasingValid |
Definition at line 480 of file qquickitem_p.h.
qreal QQuickItemPrivate::baselineOffset |
Definition at line 600 of file qquickitem_p.h.
Referenced by init().
QVector<QQuickItemPrivate::ChangeListener> QQuickItemPrivate::changeListeners |
Definition at line 433 of file qquickitem_p.h.
Referenced by addItemChangeListener(), removeItemChangeListener(), updateOrAddGeometryChangeListener(), updateOrAddItemChangeListener(), and updateOrRemoveGeometryChangeListener().
QList<QQuickItem *> QQuickItemPrivate::childItems |
Definition at line 550 of file qquickitem_p.h.
Referenced by ~QQuickItemPrivate(), addChild(), derefWindow(), QQuickTumblerPrivate::determineViewType(), dumpItemTree(), QQuickAbstractButtonPrivate::findExclusiveButtons(), QQuickSwipeDelegatePrivate::getPressedItem(), QQuickPageIndicatorPrivate::itemAt(), QV4::Heap::QQuickItemWrapper::markObjects(), paintOrderChildItems(), recursiveRefFromEffectItem(), refWindow(), removeChild(), QQuickDayOfWeekRowPrivate::resizeItems(), QQuickMonthGridPrivate::resizeItems(), QQuickWeekNumberColumnPrivate::resizeItems(), setEffectiveEnableRecur(), setEffectiveVisibleRecur(), setHasCursorInChild(), setHasHoverInChild(), setImplicitLayoutMirror(), QQuickControlPrivate::updateFontRecur(), and QQuickControlPrivate::updateLocaleRecur().
quint32 QQuickItemPrivate::componentComplete |
Definition at line 450 of file qquickitem_p.h.
Referenced by _states(), anchors(), QQuickComboBoxPrivate::calculateWidestTextWidth(), QQuickIconLabelPrivate::createImage(), QQuickIconLabelPrivate::createLabel(), dirty(), QQuickScrollViewPrivate::flickableContentHeightChanged(), QQuickScrollViewPrivate::flickableContentWidthChanged(), QQuickFolderBreadcrumbBarPrivate::folderChanged(), QQuickComboBoxPrivate::getContentWidth(), QQuickScrollViewPrivate::itemImplicitWidthChanged(), QQuickContainerPrivate::itemSiblingOrderChanged(), QQuickIconLabelPrivate::layout(), QQuickSplitViewPrivate::layout(), QQuickComboBoxPrivate::maybeUpdateImplicitContentWidth(), QQuickComboBoxPrivate::modelUpdated(), QQuickControlPrivate::setContentItem_helper(), QQuickComboBoxPrivate::setCurrentIndex(), setImplicitAntialiasing(), transformChanged(), QQuickIconLabelPrivate::updateOrSyncImage(), and QQuickIconLabelPrivate::updateOrSyncLabel().
quint32 QQuickItemPrivate::culled |
Definition at line 473 of file qquickitem_p.h.
Referenced by setCulled().
quint32 QQuickItemPrivate::dirtyAttributes |
Definition at line 533 of file qquickitem_p.h.
Referenced by dirty(), and transformChanged().
quint32 QQuickItemPrivate::effectiveEnable |
Definition at line 465 of file qquickitem_p.h.
Referenced by QQuickAbstractButtonPrivate::click(), setEffectiveEnableRecur(), and QQuickAbstractButtonPrivate::trigger().
quint32 QQuickItemPrivate::effectiveLayoutMirror |
Definition at line 468 of file qquickitem_p.h.
Referenced by QQuickLayoutMirroringAttached::enabled(), QQuickBasePositionerPrivate::isLeftToRight(), resolveLayoutMirror(), QQuickLayoutMirroringAttached::setEnabled(), setImplicitLayoutMirror(), and setLayoutMirror().
quint32 QQuickItemPrivate::effectiveVisible |
Definition at line 463 of file qquickitem_p.h.
Referenced by recursiveRefFromEffectItem(), and setEffectiveVisibleRecur().
quint32 QQuickItemPrivate::explicitEnable |
Definition at line 464 of file qquickitem_p.h.
Referenced by calcEffectiveEnable(), and setEffectiveEnableRecur().
quint32 QQuickItemPrivate::explicitVisible |
Definition at line 462 of file qquickitem_p.h.
Referenced by calcEffectiveVisible(), qquickitem_before_paintNode(), setEffectiveVisibleRecur(), and setVisible().
QLazilyAllocated<ExtraData, ExtraDataTags> QQuickItemPrivate::extra |
Definition at line 424 of file qquickitem_p.h.
Referenced by QQuickEnterKeyAttached::QQuickEnterKeyAttached(), QQuickLayoutMirroringAttached::QQuickLayoutMirroringAttached(), _q_resourceObjectDeleted(), addChild(), addPointerHandler(), anyPointerHandlerWants(), QQuickDeliveryAgentPrivate::deliverHoverEventToItem(), deliverShortcutOverrideEvent(), derefFromEffectItem(), derefWindow(), dumpItemTree(), ensureSubsceneDeliveryAgent(), filterKeyEvent(), handlePointerEvent(), hasEnabledHoverHandlers(), hasPointerHandlers(), isTransparentForPositioner(), qquickitem_before_paintNode(), recursiveRefFromEffectItem(), refFromEffectItem(), refWindow(), removeChild(), removePointerHandler(), setCulled(), setLayoutMirror(), setTransparentForPositioner(), transformChanged(), and QQuickItemViewPrivate::updateViewport().
quint32 QQuickItemPrivate::filtersChildMouseEvents |
Definition at line 461 of file qquickitem_p.h.
quint32 QQuickItemPrivate::flags |
Definition at line 447 of file qquickitem_p.h.
Referenced by QQuickVectorImagePrivate::loadSvg(), QQuickMouseAreaPrivate::propagateHelper(), and QWaylandQtShellChromePrivate::updateDecorationInteraction().
quint32 QQuickItemPrivate::focus |
Definition at line 456 of file qquickitem_p.h.
Referenced by QQuickTextEditPrivate::handleFocusEvent(), QQuickTextInputPrivate::handleFocusEvent(), QQuickDeliveryAgentPrivate::notifyFocusChangesRecur(), setEffectiveEnableRecur(), QQuickDeliveryAgentPrivate::setFocusInScope(), and updateSubFocusItem().
quint32 QQuickItemPrivate::focusPolicy |
Definition at line 498 of file qquickitem_p.h.
Referenced by QQuickRangeSliderPrivate::handlePress(), and setFocusIfNeeded().
quint32 QQuickItemPrivate::focusReason |
Definition at line 497 of file qquickitem_p.h.
Referenced by lastFocusChangeReason(), and setLastFocusChangeReason().
quint32 QQuickItemPrivate::hasCursor |
Definition at line 475 of file qquickitem_p.h.
Referenced by setHasCursorInChild().
quint32 QQuickItemPrivate::hasCursorHandler |
Definition at line 490 of file qquickitem_p.h.
quint32 QQuickItemPrivate::heightValidFlag |
Definition at line 449 of file qquickitem_p.h.
quint32 QQuickItemPrivate::hoverEnabled |
Definition at line 453 of file qquickitem_p.h.
Referenced by QQuickDeliveryAgentPrivate::deliverHoverEventToItem(), QQuickControlPrivate::handleMove(), and setHasHoverInChild().
quint32 QQuickItemPrivate::implicitAntialiasing |
Definition at line 479 of file qquickitem_p.h.
Referenced by QQuickCanvasItemPrivate::QQuickCanvasItemPrivate(), QQuickTextPrivate::QQuickTextPrivate(), and setImplicitAntialiasing().
qreal QQuickItemPrivate::implicitHeight |
Definition at line 595 of file qquickitem_p.h.
Referenced by effectivePreferredHeight(), getImplicitHeight(), QQuickTextPrivate::getImplicitHeight(), QQuickPopupItemPrivate::implicitHeightChanged(), and QQuickIconLabelPrivate::updateImplicitSize().
qreal QQuickItemPrivate::implicitWidth |
Definition at line 594 of file qquickitem_p.h.
Referenced by effectivePreferredWidth(), getImplicitWidth(), QQuickTextPrivate::getImplicitWidth(), QQuickTextEditPrivate::getImplicitWidth(), QQuickTextInputPrivate::getImplicitWidth(), QQuickPopupItemPrivate::implicitWidthChanged(), and QQuickIconLabelPrivate::updateImplicitSize().
quint32 QQuickItemPrivate::inDestructor |
Definition at line 496 of file qquickitem_p.h.
Referenced by removeChild(), setEffectiveVisibleRecur(), and QQuickItem::setParentItem().
quint32 QQuickItemPrivate::inheritedLayoutMirror |
Definition at line 467 of file qquickitem_p.h.
Referenced by setImplicitLayoutMirror().
quint32 QQuickItemPrivate::inheritMirrorFromItem |
Definition at line 471 of file qquickitem_p.h.
Referenced by QQuickLayoutMirroringAttached::childrenInherit(), resolveLayoutMirror(), QQuickLayoutMirroringAttached::setChildrenInherit(), QQuickLayoutMirroringAttached::setEnabled(), and setImplicitLayoutMirror().
quint32 QQuickItemPrivate::inheritMirrorFromParent |
Definition at line 470 of file qquickitem_p.h.
Referenced by setImplicitLayoutMirror().
quint32 QQuickItemPrivate::isAccessible |
Definition at line 472 of file qquickitem_p.h.
Referenced by setAccessible(), setEffectiveEnableRecur(), and setEffectiveVisibleRecur().
quint32 QQuickItemPrivate::isMirrorImplicit |
Definition at line 469 of file qquickitem_p.h.
Referenced by QQuickLayoutMirroringAttached::resetEnabled(), resolveLayoutMirror(), QQuickLayoutMirroringAttached::setEnabled(), and setImplicitLayoutMirror().
quint32 QQuickItemPrivate::isTabFence |
Definition at line 486 of file qquickitem_p.h.
Referenced by nextPrevItemInTabFocusChain().
QSGTransformNode* QQuickItemPrivate::itemNodeInstance |
Definition at line 687 of file qquickitem_p.h.
Referenced by derefWindow().
quint32 QQuickItemPrivate::keepMouse |
Definition at line 451 of file qquickitem_p.h.
quint32 QQuickItemPrivate::keepTouch |
Definition at line 452 of file qquickitem_p.h.
quint32 QQuickItemPrivate::maybeHasSubsceneDeliveryAgent |
Definition at line 492 of file qquickitem_p.h.
Referenced by deliveryAgent(), and ensureSubsceneDeliveryAgent().
QQuickItem* QQuickItemPrivate::nextDirtyItem |
Definition at line 538 of file qquickitem_p.h.
Referenced by addToDirtyList(), and removeFromDirtyList().
quint32 QQuickItemPrivate::notifiedActiveFocus |
Definition at line 460 of file qquickitem_p.h.
Referenced by QQuickDeliveryAgentPrivate::notifyFocusChangesRecur().
quint32 QQuickItemPrivate::notifiedFocus |
Definition at line 459 of file qquickitem_p.h.
Referenced by QQuickDeliveryAgentPrivate::notifyFocusChangesRecur().
QSGNode* QQuickItemPrivate::paintNode |
Definition at line 688 of file qquickitem_p.h.
Referenced by derefWindow().
QQuickItem* QQuickItemPrivate::parentItem |
Definition at line 548 of file qquickitem_p.h.
Referenced by calcEffectiveEnable(), calcEffectiveVisible(), derefFromEffectItem(), derefWindow(), QQuickAbstractButtonPrivate::findExclusiveButtons(), itemToWindowTransform(), refFromEffectItem(), refWindow(), resolveLayoutMirror(), setEffectiveVisibleRecur(), and setVisible().
quint32 QQuickItemPrivate::polishScheduled |
Definition at line 466 of file qquickitem_p.h.
Referenced by derefWindow(), QQuickWindowPrivate::polishItems(), refWindow(), and QQuickTableViewPrivate::setCurrentIndexFromKeyEvent().
QQuickItem** QQuickItemPrivate::prevDirtyItem |
Definition at line 539 of file qquickitem_p.h.
Referenced by addToDirtyList(), dirty(), and removeFromDirtyList().
quint32 QQuickItemPrivate::replayingPressEvent |
Definition at line 487 of file qquickitem_p.h.
Referenced by QQuickFlickablePrivate::replayDelayedPress().
quint32 QQuickItemPrivate::smooth |
Definition at line 454 of file qquickitem_p.h.
|
mutable |
Definition at line 551 of file qquickitem_p.h.
Referenced by ~QQuickItemPrivate(), and paintOrderChildItems().
QPointer<QQuickItem> QQuickItemPrivate::subFocusItem |
Definition at line 562 of file qquickitem_p.h.
Referenced by QQuickItem::setParentItem().
quint32 QQuickItemPrivate::subtreeCursorEnabled |
Definition at line 476 of file qquickitem_p.h.
Referenced by addChild(), removeChild(), and setHasCursorInChild().
quint32 QQuickItemPrivate::subtreeHoverEnabled |
Definition at line 477 of file qquickitem_p.h.
Referenced by addChild(), removeChild(), and setHasHoverInChild().
quint32 QQuickItemPrivate::subtreeTransformChangedEnabled |
Definition at line 495 of file qquickitem_p.h.
Referenced by itemChange(), and transformChanged().
QLayoutPolicy QQuickItemPrivate::szPolicy |
Definition at line 716 of file qquickitem_p.h.
Referenced by setSizePolicy(), and sizePolicy().
quint32 QQuickItemPrivate::touchEnabled |
Definition at line 489 of file qquickitem_p.h.
QList<QQuickTransform *> QQuickItemPrivate::transforms |
Definition at line 602 of file qquickitem_p.h.
Referenced by itemToParentTransform(), and QQuickFlipablePrivate::updateSide().
quint32 QQuickItemPrivate::widthValidFlag |
Definition at line 448 of file qquickitem_p.h.
QQuickWindow* QQuickItemPrivate::window |
Definition at line 543 of file qquickitem_p.h.
Referenced by addToDirtyList(), QQuickControlPrivate::calcLocale(), QQuickContainerPrivate::cleanup(), deliveryAgent(), derefWindow(), QQuickFlickablePrivate::devicePixelRatio(), QQuickTextPrivate::devicePixelRatio(), dirty(), QQuickTableViewPrivate::dumpTable(), focusNextPrev(), globalToWindowTransform(), QQuickSwipeDelegatePrivate::handleMouseMoveEvent(), QQuickTextEdit::hoveredLink(), QQuickControlPrivate::parentFont(), QQuickMouseAreaPrivate::propagate(), refWindow(), QQuickTableViewPrivate::releaseItem(), QQuickFlickablePrivate::replayDelayedPress(), QQuickPopupItemPrivate::resolveFont(), QWaylandQuickItemPrivate::scaleFactor(), setEffectiveVisibleRecur(), QQuickOverlayPrivate::updateGeometry(), and windowToGlobalTransform().
int QQuickItemPrivate::windowRefCount |
Definition at line 544 of file qquickitem_p.h.
Referenced by derefWindow(), and refWindow().