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>.
Loading...
Searching...
No Matches
QQuickControlPrivate Class Reference

#include <qquickcontrol_p_p.h>

+ Inheritance diagram for QQuickControlPrivate:
+ Collaboration diagram for QQuickControlPrivate:

Classes

struct  ExtraData
 

Public Types

enum class  UnhideVisibility { Show , Hide }
 
- Public Types inherited from QQuickItemPrivate
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>
 

Public Member Functions

 QQuickControlPrivate ()
 
 ~QQuickControlPrivate ()
 
void init ()
 
virtual bool handlePress (const QPointF &point, ulong timestamp)
 
virtual bool handleMove (const QPointF &point, ulong timestamp)
 
virtual bool handleRelease (const QPointF &point, ulong timestamp)
 
virtual void handleUngrab ()
 
void mirrorChange () override
 
QMarginsF getPadding () const
 
qreal getTopPadding () const
 
qreal getLeftPadding () const
 
qreal getRightPadding () const
 
qreal getBottomPadding () const
 
qreal getHorizontalPadding () const
 
qreal getVerticalPadding () 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)
 
void setHorizontalPadding (qreal value, bool reset=false)
 
void setVerticalPadding (qreal value, bool reset=false)
 
QMarginsF getInset () const
 
qreal getTopInset () const
 
qreal getLeftInset () const
 
qreal getRightInset () const
 
qreal getBottomInset () const
 
void setTopInset (qreal value, bool reset=false)
 
void setLeftInset (qreal value, bool reset=false)
 
void setRightInset (qreal value, bool reset=false)
 
void setBottomInset (qreal value, bool reset=false)
 
virtual void resizeBackground ()
 
virtual void resizeContent ()
 
virtual QQuickItemgetContentItem ()
 
void setContentItem_helper (QQuickItem *item, bool notify=true)
 
virtual void resolveFont ()
 
void inheritFont (const QFont &font)
 
void updateFont (const QFont &font)
 
void setFont_helper (const QFont &font)
 
void updateLocale (const QLocale &l, bool e)
 
virtual void cancelContentItem ()
 
virtual void executeContentItem (bool complete=false)
 
virtual void cancelBackground ()
 
virtual void executeBackground (bool complete=false)
 
void updateBaselineOffset ()
 
void addImplicitSizeListener (QQuickItem *item, ChangeTypes changes=ImplicitSizeChanges)
 
void removeImplicitSizeListener (QQuickItem *item, ChangeTypes changes=ImplicitSizeChanges)
 
void itemImplicitWidthChanged (QQuickItem *item) override
 
void itemImplicitHeightChanged (QQuickItem *item) override
 
void itemGeometryChanged (QQuickItem *item, QQuickGeometryChange change, const QRectF &diff) override
 
void itemDestroyed (QQuickItem *item) override
 
void itemFocusChanged (QQuickItem *item, Qt::FocusReason reason) override
 
virtual qreal getContentWidth () const
 
virtual qreal getContentHeight () const
 
void updateImplicitContentWidth ()
 
void updateImplicitContentHeight ()
 
void updateImplicitContentSize ()
 
QPalette defaultPalette () const override
 
- Public Member Functions inherited from QQuickItemPrivate
 QQuickItemPrivate ()
 
 ~QQuickItemPrivate () override
 
void init (QQuickItem *parent)
 
QQmlListProperty< QObjectdata ()
 
QQmlListProperty< QObjectresources ()
 
QQmlListProperty< QQuickItemchildren ()
 
QQmlListProperty< QQuickItemvisibleChildren ()
 
QQmlListProperty< QQuickStatestates ()
 
QQmlListProperty< QQuickTransitiontransitions ()
 
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)
 
QQuickAnchorsanchors () 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)
 
QSGContextsceneGraphContext () const
 
QSGRenderContextsceneGraphRenderContext () 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 &centroid, const QPointF &startPos, const QVector2D &activeTranslatation, qreal startScale, qreal activeScale, qreal startRotation, qreal activeRotation)
 
QQuickDeliveryAgentdeliveryAgent ()
 
QQuickDeliveryAgentPrivatedeliveryAgentPrivate ()
 
QQuickDeliveryAgentensureSubsceneDeliveryAgent ()
 
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)
 
QSGTransformNodeitemNode ()
 
QSGNodechildContainerNode ()
 
QSGOpacityNodeopacityNode () const
 
QQuickDefaultClipNodeclipNode () const
 
QSGRootNoderootNode () const
 
virtual QSGTransformNodecreateTransformNode ()
 
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)
 
- Public Member Functions inherited from QObjectPrivate
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::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 
- Public Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickItem, QQuickItemPrivate >
virtual ~QQuickPaletteProviderPrivateBase ()=default
 
virtual QQuickPalettepalette () 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)
 
- Public Member Functions inherited from QQuickAbstractPaletteProvider
virtual ~QQuickAbstractPaletteProvider ()=default
 
- Public Member Functions inherited from QQuickItemChangeListener
virtual ~QQuickItemChangeListener ()
 
virtual void itemSiblingOrderChanged (QQuickItem *)
 
virtual void itemVisibilityChanged (QQuickItem *)
 
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 QQuickAnchorsPrivateanchorPrivate ()
 

Static Public Member Functions

static QQuickControlPrivateget (QQuickControl *control)
 
static void updateFontRecur (QQuickItem *item, const QFont &font)
 
static QFont parentFont (const QQuickItem *item)
 
static void updateLocaleRecur (QQuickItem *item, const QLocale &l)
 
static QLocale calcLocale (const QQuickItem *item)
 
static void warnIfCustomizationNotSupported (QObject *control, QQuickItem *item, const QString &propertyName)
 
static void hideOldItem (QQuickItem *item)
 
static void unhideOldItem (QQuickControl *control, QQuickItem *item, UnhideVisibility visibility=UnhideVisibility::Show)
 
static void addImplicitSizeListener (QQuickItem *item, QQuickItemChangeListener *listener, ChangeTypes changes=ImplicitSizeChanges)
 
static void removeImplicitSizeListener (QQuickItem *item, QQuickItemChangeListener *listener, ChangeTypes changes=ImplicitSizeChanges)
 
- Static Public Member Functions inherited from QQuickItemPrivate
static QQuickItemPrivateget (QQuickItem *item)
 
static const QQuickItemPrivateget (const QQuickItem *item)
 
static void data_append (QQmlListProperty< QObject > *, QObject *)
 
static qsizetype data_count (QQmlListProperty< QObject > *)
 \qmlproperty list<QtObject> QtQuick::Item::data \qmldefault
 
static QObjectdata_at (QQmlListProperty< QObject > *, qsizetype)
 
static void data_clear (QQmlListProperty< QObject > *)
 
static void data_removeLast (QQmlListProperty< QObject > *)
 
static QObjectresources_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 QQuickItemchildren_at (QQmlListProperty< QQuickItem > *, qsizetype)
 
static void children_clear (QQmlListProperty< QQuickItem > *)
 
static void children_removeLast (QQmlListProperty< QQuickItem > *)
 
static qsizetype visibleChildren_count (QQmlListProperty< QQuickItem > *prop)
 
static QQuickItemvisibleChildren_at (QQmlListProperty< QQuickItem > *prop, qsizetype index)
 
static qsizetype transform_count (QQmlListProperty< QQuickTransform > *list)
 
static void transform_append (QQmlListProperty< QQuickTransform > *list, QQuickTransform *)
 
static QQuickTransformtransform_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 QQuickItemnextTabChildItem (const QQuickItem *item, int start)
 
static QQuickItemprevTabChildItem (const QQuickItem *item, int start)
 
static QQuickItemnextPrevItemInTabFocusChain (QQuickItem *item, bool forward, bool wrap=true)
 
static bool canAcceptTabFocus (QQuickItem *item)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (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)
 

Public Attributes

QLazilyAllocated< ExtraDataextra
 
bool hasHorizontalPadding = false
 
bool hasVerticalPadding = false
 
bool hasLocale = false
 
bool wheelEnabled = false
 
bool resizingBackground = false
 
int touchId = -1
 
qreal padding = 0
 
qreal horizontalPadding = 0
 
qreal verticalPadding = 0
 
qreal implicitContentWidth = 0
 
qreal implicitContentHeight = 0
 
qreal spacing = 0
 
QLocale locale
 
QFont resolvedFont
 
QQuickDeferredPointer< QQuickItembackground
 
QQuickDeferredPointer< QQuickItemcontentItem
 
- Public Attributes inherited from QQuickItemPrivate
QLazilyAllocated< ExtraData, ExtraDataTags > extra
 
QQuickAnchors_anchors
 
QVector< QQuickItemPrivate::ChangeListenerchangeListeners
 
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
 
QQuickItemnextDirtyItem
 
QQuickItem ** prevDirtyItem
 
QQuickWindowwindow
 
int windowRefCount
 
QQuickItemparentItem
 
QList< QQuickItem * > childItems
 
QList< QQuickItem * > * sortedChildItems
 
QPointer< QQuickItemsubFocusItem
 
qreal implicitWidth
 
qreal implicitHeight
 
qreal baselineOffset
 
QList< QQuickTransform * > transforms
 
QSGTransformNodeitemNodeInstance
 
QSGNodepaintNode
 
QLayoutPolicy szPolicy
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
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
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Static Public Attributes

static const ChangeTypes ImplicitSizeChanges = QQuickItemPrivate::ImplicitWidth | QQuickItemPrivate::ImplicitHeight | QQuickItemPrivate::Destroyed
 Abstract base type providing functionality common to all controls.
 

Additional Inherited Members

- Protected Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickItem, QQuickItemPrivate >
void setCurrentColorGroup ()
 

Detailed Description

Definition at line 38 of file qquickcontrol_p_p.h.

Member Enumeration Documentation

◆ UnhideVisibility

Enumerator
Show 
Hide 

Definition at line 133 of file qquickcontrol_p_p.h.

Constructor & Destructor Documentation

◆ QQuickControlPrivate()

QQuickControlPrivate::QQuickControlPrivate ( )

Definition at line 123 of file qquickcontrol.cpp.

◆ ~QQuickControlPrivate()

QQuickControlPrivate::~QQuickControlPrivate ( )

Definition at line 130 of file qquickcontrol.cpp.

Member Function Documentation

◆ addImplicitSizeListener() [1/2]

void QQuickControlPrivate::addImplicitSizeListener ( QQuickItem * item,
ChangeTypes changes = ImplicitSizeChanges )

Definition at line 836 of file qquickcontrol.cpp.

References addImplicitSizeListener(), and item.

Referenced by addImplicitSizeListener(), QQuickPanePrivate::contentChildrenChange(), QQuickLabel::setBackground(), QQuickTextArea::setBackground(), QQuickTextField::setBackground(), and setContentItem_helper().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addImplicitSizeListener() [2/2]

void QQuickControlPrivate::addImplicitSizeListener ( QQuickItem * item,
QQuickItemChangeListener * listener,
ChangeTypes changes = ImplicitSizeChanges )
static

Definition at line 846 of file qquickcontrol.cpp.

References QQuickItemPrivate::get(), and item.

+ Here is the call graph for this function:

◆ calcLocale()

QLocale QQuickControlPrivate::calcLocale ( const QQuickItem * item)
static

Definition at line 586 of file qquickcontrol.cpp.

References item, QVariant::toLocale(), QGraphicsItem::window(), and QQuickItemPrivate::window.

Referenced by QQuickControl::componentComplete(), QQuickControl::itemChange(), and QQuickControl::resetLocale().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cancelBackground()

void QQuickControlPrivate::cancelBackground ( )
virtual

Reimplemented in QQuickPopupItemPrivate.

Definition at line 746 of file qquickcontrol.cpp.

References backgroundName(), and quickCancelDeferred().

+ Here is the call graph for this function:

◆ cancelContentItem()

void QQuickControlPrivate::cancelContentItem ( )
virtual

Reimplemented in QQuickPopupItemPrivate.

Definition at line 728 of file qquickcontrol.cpp.

References contentItemName(), and quickCancelDeferred().

Referenced by setContentItem_helper().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ defaultPalette()

◆ executeBackground()

void QQuickControlPrivate::executeBackground ( bool complete = false)
virtual

Reimplemented in QQuickPopupItemPrivate.

Definition at line 752 of file qquickcontrol.cpp.

References background, backgroundName(), quickBeginDeferred(), quickCompleteDeferred(), and QQuickUntypedDeferredPointer::wasExecuted().

+ Here is the call graph for this function:

◆ executeContentItem()

void QQuickControlPrivate::executeContentItem ( bool complete = false)
virtual

Reimplemented in QQuickPopupItemPrivate.

Definition at line 734 of file qquickcontrol.cpp.

References contentItem, contentItemName(), quickBeginDeferred(), quickCompleteDeferred(), and QQuickUntypedDeferredPointer::wasExecuted().

Referenced by getContentItem(), and QQuickScrollViewPrivate::getContentItem().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get()

static QQuickControlPrivate * QQuickControlPrivate::get ( QQuickControl * control)
inlinestatic

◆ getBottomInset()

qreal QQuickControlPrivate::getBottomInset ( ) const
inline

Definition at line 85 of file qquickcontrol_p_p.h.

Referenced by resizeBackground(), and QQuickSwipeDelegatePrivate::resizeBackground().

+ Here is the caller graph for this function:

◆ getBottomPadding()

qreal QQuickControlPrivate::getBottomPadding ( ) const
inline

Definition at line 70 of file qquickcontrol_p_p.h.

◆ getContentHeight()

qreal QQuickControlPrivate::getContentHeight ( ) const
virtual

Reimplemented in QQuickFolderBreadcrumbBarPrivate, QQuickDialogButtonBoxPrivate, QQuickMenuBarPrivate, QQuickPanePrivate, QQuickScrollViewPrivate, QQuickSwipeViewPrivate, and QQuickTabBarPrivate.

Definition at line 433 of file qquickcontrol.cpp.

References contentItem, and QQuickItem::implicitHeight.

Referenced by updateImplicitContentHeight(), and updateImplicitContentSize().

+ Here is the caller graph for this function:

◆ getContentItem()

QQuickItem * QQuickControlPrivate::getContentItem ( )
virtual

Reimplemented in QQuickPanePrivate, QQuickPopupItemPrivate, QQuickScrollViewPrivate, and QQuickSplitViewPrivate.

Definition at line 378 of file qquickcontrol.cpp.

References contentItem, and executeContentItem().

Referenced by QQuickPanePrivate::getContentItem(), QQuickPopupItemPrivate::getContentItem(), and QQuickSplitViewPrivate::getContentItem().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getContentWidth()

qreal QQuickControlPrivate::getContentWidth ( ) const
virtual

Reimplemented in QQuickFolderBreadcrumbBarPrivate, QQuickComboBoxPrivate, QQuickDialogButtonBoxPrivate, QQuickMenuBarPrivate, QQuickPanePrivate, QQuickScrollViewPrivate, QQuickSwipeViewPrivate, and QQuickTabBarPrivate.

Definition at line 428 of file qquickcontrol.cpp.

References contentItem, and QQuickItem::implicitWidth.

Referenced by QQuickComboBoxPrivate::getContentWidth(), updateImplicitContentSize(), and updateImplicitContentWidth().

+ Here is the caller graph for this function:

◆ getHorizontalPadding()

qreal QQuickControlPrivate::getHorizontalPadding ( ) const
inline

Definition at line 71 of file qquickcontrol_p_p.h.

Referenced by setHorizontalPadding(), setLeftPadding(), and setRightPadding().

+ Here is the caller graph for this function:

◆ getInset()

QMarginsF QQuickControlPrivate::getInset ( ) const
inline

Definition at line 81 of file qquickcontrol_p_p.h.

Referenced by setBottomInset(), setLeftInset(), setRightInset(), and setTopInset().

+ Here is the caller graph for this function:

◆ getLeftInset()

qreal QQuickControlPrivate::getLeftInset ( ) const
inline

Definition at line 83 of file qquickcontrol_p_p.h.

Referenced by resizeBackground(), and QQuickSwipeDelegatePrivate::resizeBackground().

+ Here is the caller graph for this function:

◆ getLeftPadding()

qreal QQuickControlPrivate::getLeftPadding ( ) const
inline

Definition at line 68 of file qquickcontrol_p_p.h.

◆ getPadding()

QMarginsF QQuickControlPrivate::getPadding ( ) const
inline

Definition at line 66 of file qquickcontrol_p_p.h.

Referenced by setBottomPadding(), setHorizontalPadding(), setLeftPadding(), setRightPadding(), setTopPadding(), and setVerticalPadding().

+ Here is the caller graph for this function:

◆ getRightInset()

qreal QQuickControlPrivate::getRightInset ( ) const
inline

Definition at line 84 of file qquickcontrol_p_p.h.

Referenced by resizeBackground(), and QQuickSwipeDelegatePrivate::resizeBackground().

+ Here is the caller graph for this function:

◆ getRightPadding()

qreal QQuickControlPrivate::getRightPadding ( ) const
inline

Definition at line 69 of file qquickcontrol_p_p.h.

◆ getTopInset()

qreal QQuickControlPrivate::getTopInset ( ) const
inline

Definition at line 82 of file qquickcontrol_p_p.h.

Referenced by resizeBackground(), and QQuickSwipeDelegatePrivate::resizeBackground().

+ Here is the caller graph for this function:

◆ getTopPadding()

qreal QQuickControlPrivate::getTopPadding ( ) const
inline

Definition at line 67 of file qquickcontrol_p_p.h.

Referenced by updateBaselineOffset().

+ Here is the caller graph for this function:

◆ getVerticalPadding()

qreal QQuickControlPrivate::getVerticalPadding ( ) const
inline

Definition at line 72 of file qquickcontrol_p_p.h.

Referenced by setBottomPadding(), setTopPadding(), and setVerticalPadding().

+ Here is the caller graph for this function:

◆ handleMove()

◆ handlePress()

◆ handleRelease()

◆ handleUngrab()

◆ hideOldItem()

◆ inheritFont()

void QQuickControlPrivate::inheritFont ( const QFont & font)

Definition at line 537 of file qquickcontrol.cpp.

References extra, font, parentFont(), resolvedFont, QFont::resolveMask(), and setFont_helper().

Referenced by resolveFont(), and QQuickPopupItemPrivate::resolveFont().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ init()

void QQuickControlPrivate::init ( )

Definition at line 134 of file qquickcontrol.cpp.

References QQuickControl::baselineOffsetChanged(), QQuickItem::baselineOffsetChanged(), and QObject::connect().

+ Here is the call graph for this function:

◆ itemDestroyed()

void QQuickControlPrivate::itemDestroyed ( QQuickItem * item)
overridevirtual

Reimplemented from QQuickItemChangeListener.

Reimplemented in QQuickGroupBoxPrivate, QQuickPagePrivate, QQuickPanePrivate, QQuickRangeSliderPrivate, QQuickSliderPrivate, and QQuickSpinBoxPrivate.

Definition at line 894 of file qquickcontrol.cpp.

References background, contentItem, emit, item, and updateImplicitContentSize().

Referenced by QQuickAbstractButtonPrivate::itemDestroyed(), QQuickComboBoxPrivate::itemDestroyed(), QQuickContainerPrivate::itemDestroyed(), QQuickPanePrivate::itemDestroyed(), QQuickRangeSliderPrivate::itemDestroyed(), QQuickSliderPrivate::itemDestroyed(), and QQuickSpinBoxPrivate::itemDestroyed().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ itemFocusChanged()

void QQuickControlPrivate::itemFocusChanged ( QQuickItem * item,
Qt::FocusReason reason )
overridevirtual

Reimplemented from QQuickItemChangeListener.

Definition at line 907 of file qquickcontrol.cpp.

References contentItem, item, and QQuickItemPrivate::setLastFocusChangeReason().

+ Here is the call graph for this function:

◆ itemGeometryChanged()

void QQuickControlPrivate::itemGeometryChanged ( QQuickItem * item,
QQuickGeometryChange change,
const QRectF & diff )
overridevirtual

Reimplemented from QQuickItemChangeListener.

Reimplemented in QQuickTumblerPrivate, QQuickFolderBreadcrumbBarPrivate, QQuickPagePrivate, and QQuickTabBarPrivate.

Definition at line 878 of file qquickcontrol.cpp.

References background, extra, QQuickItemPrivate::get(), QQuickGeometryChange::heightChange(), item, Q_UNUSED, resizeBackground(), resizingBackground, QQuickGeometryChange::sizeChange(), and QQuickGeometryChange::widthChange().

Referenced by QQuickTumblerPrivate::itemGeometryChanged().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ itemImplicitHeightChanged()

◆ itemImplicitWidthChanged()

◆ mirrorChange()

void QQuickControlPrivate::mirrorChange ( )
overridevirtual

Reimplemented from QQuickItemPrivate.

Definition at line 182 of file qquickcontrol.cpp.

◆ parentFont()

QFont QQuickControlPrivate::parentFont ( const QQuickItem * item)
static

Returns the font that the control item inherits from its ancestors and QGuiApplication::font.

Definition at line 501 of file qquickcontrol.cpp.

References QQuickTheme::font(), get(), item, QGraphicsItem::parentItem(), QQuickTheme::System, QGraphicsItem::window(), and QQuickItemPrivate::window.

Referenced by inheritFont(), resolveFont(), QQuickLabelPrivate::resolveFont(), QQuickTextAreaPrivate::resolveFont(), and QQuickTextFieldPrivate::resolveFont().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeImplicitSizeListener() [1/2]

void QQuickControlPrivate::removeImplicitSizeListener ( QQuickItem * item,
ChangeTypes changes = ImplicitSizeChanges )

Definition at line 841 of file qquickcontrol.cpp.

References item, and removeImplicitSizeListener().

Referenced by QQuickLabel::~QQuickLabel(), QQuickTextArea::~QQuickTextArea(), QQuickTextField::~QQuickTextField(), QQuickPanePrivate::contentChildrenChange(), removeImplicitSizeListener(), QQuickLabel::setBackground(), QQuickTextArea::setBackground(), QQuickTextField::setBackground(), and setContentItem_helper().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeImplicitSizeListener() [2/2]

void QQuickControlPrivate::removeImplicitSizeListener ( QQuickItem * item,
QQuickItemChangeListener * listener,
ChangeTypes changes = ImplicitSizeChanges )
static

Definition at line 853 of file qquickcontrol.cpp.

References QQuickItemPrivate::get(), and item.

+ Here is the call graph for this function:

◆ resizeBackground()

void QQuickControlPrivate::resizeBackground ( )
virtual

Reimplemented in QQuickSwipeDelegatePrivate.

Definition at line 326 of file qquickcontrol.cpp.

References background, extra, QQuickItemPrivate::get(), getBottomInset(), getLeftInset(), getRightInset(), getTopInset(), QQuickItemPrivate::Position, qFuzzyIsNull(), qt_is_nan(), resizingBackground, QQuickItem::setSize(), QQuickItem::x, and QQuickItem::y.

Referenced by itemGeometryChanged().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resizeContent()

void QQuickControlPrivate::resizeContent ( )
virtual

Reimplemented in QQuickFolderBreadcrumbBarPrivate, QQuickDialogButtonBoxPrivate, QQuickPagePrivate, QQuickScrollBarPrivate, QQuickScrollIndicatorPrivate, and QQuickSwipeDelegatePrivate.

Definition at line 369 of file qquickcontrol.cpp.

References contentItem, QQuickItem::setPosition(), and QQuickItem::setSize().

Referenced by QQuickSwipeDelegatePrivate::resizeContent(), and setContentItem_helper().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resolveFont()

void QQuickControlPrivate::resolveFont ( )
virtual

Determine which font is implicitly imposed on this control by its ancestors and QGuiApplication::font, resolve this against its own font (attributes from the implicit font are copied over). Then propagate this font to this control's children.

Reimplemented in QQuickPopupItemPrivate.

Definition at line 531 of file qquickcontrol.cpp.

References inheritFont(), and parentFont().

+ Here is the call graph for this function:

◆ setBottomInset()

void QQuickControlPrivate::setBottomInset ( qreal value,
bool reset = false )

Definition at line 314 of file qquickcontrol.cpp.

References emit, extra, getInset(), and qFuzzyCompare().

+ Here is the call graph for this function:

◆ setBottomPadding()

void QQuickControlPrivate::setBottomPadding ( qreal value,
bool reset = false )

Definition at line 227 of file qquickcontrol.cpp.

References emit, extra, getPadding(), getVerticalPadding(), and qFuzzyCompare().

+ Here is the call graph for this function:

◆ setContentItem_helper()

◆ setFont_helper()

void QQuickControlPrivate::setFont_helper ( const QFont & font)
inline

Definition at line 108 of file qquickcontrol_p_p.h.

References font, and QFont::resolveMask().

Referenced by inheritFont().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setHorizontalPadding()

void QQuickControlPrivate::setHorizontalPadding ( qreal value,
bool reset = false )

Definition at line 240 of file qquickcontrol.cpp.

References emit, getHorizontalPadding(), getPadding(), hasHorizontalPadding, horizontalPadding, padding, and qFuzzyCompare().

+ Here is the call graph for this function:

◆ setLeftInset()

void QQuickControlPrivate::setLeftInset ( qreal value,
bool reset = false )

Definition at line 290 of file qquickcontrol.cpp.

References emit, extra, getInset(), and qFuzzyCompare().

+ Here is the call graph for this function:

◆ setLeftPadding()

void QQuickControlPrivate::setLeftPadding ( qreal value,
bool reset = false )

Definition at line 201 of file qquickcontrol.cpp.

References emit, extra, getHorizontalPadding(), getPadding(), and qFuzzyCompare().

+ Here is the call graph for this function:

◆ setRightInset()

void QQuickControlPrivate::setRightInset ( qreal value,
bool reset = false )

Definition at line 302 of file qquickcontrol.cpp.

References emit, extra, getInset(), and qFuzzyCompare().

+ Here is the call graph for this function:

◆ setRightPadding()

void QQuickControlPrivate::setRightPadding ( qreal value,
bool reset = false )

Definition at line 214 of file qquickcontrol.cpp.

References emit, extra, getHorizontalPadding(), getPadding(), and qFuzzyCompare().

+ Here is the call graph for this function:

◆ setTopInset()

void QQuickControlPrivate::setTopInset ( qreal value,
bool reset = false )

Definition at line 278 of file qquickcontrol.cpp.

References emit, extra, getInset(), and qFuzzyCompare().

+ Here is the call graph for this function:

◆ setTopPadding()

void QQuickControlPrivate::setTopPadding ( qreal value,
bool reset = false )

Definition at line 188 of file qquickcontrol.cpp.

References emit, extra, getPadding(), getVerticalPadding(), and qFuzzyCompare().

+ Here is the call graph for this function:

◆ setVerticalPadding()

void QQuickControlPrivate::setVerticalPadding ( qreal value,
bool reset = false )

Definition at line 259 of file qquickcontrol.cpp.

References emit, getPadding(), getVerticalPadding(), hasVerticalPadding, padding, qFuzzyCompare(), and verticalPadding.

+ Here is the call graph for this function:

◆ unhideOldItem()

void QQuickControlPrivate::unhideOldItem ( QQuickControl * control,
QQuickItem * item,
UnhideVisibility visibility = UnhideVisibility::Show )
static

Definition at line 808 of file qquickcontrol.cpp.

References item, Q_ASSERT, qCDebug, QGraphicsItem::setParentItem(), QGraphicsItem::setVisible(), and Show.

Referenced by QQuickScrollBarAttachedPrivate::initHorizontal(), and QQuickScrollBarAttachedPrivate::initVertical().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateBaselineOffset()

void QQuickControlPrivate::updateBaselineOffset ( )

Definition at line 824 of file qquickcontrol.cpp.

References QQuickItem::baselineOffset(), contentItem, extra, and getTopPadding().

Referenced by setContentItem_helper().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateFont()

void QQuickControlPrivate::updateFont ( const QFont & font)

Assign font to this control, and propagate it to all children.

Definition at line 554 of file qquickcontrol.cpp.

References emit, font, resolvedFont, and updateFontRecur().

+ Here is the call graph for this function:

◆ updateFontRecur()

void QQuickControlPrivate::updateFontRecur ( QQuickItem * item,
const QFont & font )
static

Definition at line 569 of file qquickcontrol.cpp.

References child, QGraphicsItem::childItems(), QQuickItemPrivate::childItems, font, get(), QQuickLabelPrivate::get(), QQuickTextAreaPrivate::get(), QQuickTextFieldPrivate::get(), item, and updateFontRecur().

Referenced by QQuickApplicationWindowPrivate::updateFont(), updateFont(), QQuickLabelPrivate::updateFont(), QQuickTextAreaPrivate::updateFont(), QQuickTextFieldPrivate::updateFont(), and updateFontRecur().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateImplicitContentHeight()

void QQuickControlPrivate::updateImplicitContentHeight ( )

Definition at line 447 of file qquickcontrol.cpp.

References emit, getContentHeight(), implicitContentHeight, and qFuzzyCompare().

Referenced by QQuickFolderBreadcrumbBarPrivate::itemImplicitHeightChanged(), itemImplicitHeightChanged(), QQuickDialogButtonBoxPrivate::itemImplicitHeightChanged(), QQuickMenuBarPrivate::itemImplicitHeightChanged(), QQuickPanePrivate::itemImplicitHeightChanged(), QQuickSwipeViewPrivate::itemImplicitHeightChanged(), and QQuickTabBarPrivate::itemImplicitHeightChanged().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateImplicitContentSize()

void QQuickControlPrivate::updateImplicitContentSize ( )

Definition at line 456 of file qquickcontrol.cpp.

References emit, getContentHeight(), getContentWidth(), implicitContentHeight, implicitContentWidth, and qFuzzyCompare().

Referenced by QQuickSwipeView::QQuickSwipeView(), QQuickPanePrivate::contentChildrenChange(), itemDestroyed(), QQuickFolderBreadcrumbBarPrivate::itemGeometryChanged(), QQuickTabBarPrivate::itemGeometryChanged(), QQuickComboBoxPrivate::modelUpdated(), QQuickFolderBreadcrumbBarPrivate::repopulate(), and setContentItem_helper().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateImplicitContentWidth()

void QQuickControlPrivate::updateImplicitContentWidth ( )

Definition at line 438 of file qquickcontrol.cpp.

References emit, getContentWidth(), implicitContentWidth, and qFuzzyCompare().

Referenced by QQuickFolderBreadcrumbBarPrivate::itemImplicitWidthChanged(), itemImplicitWidthChanged(), QQuickDialogButtonBoxPrivate::itemImplicitWidthChanged(), QQuickMenuBarPrivate::itemImplicitWidthChanged(), QQuickPanePrivate::itemImplicitWidthChanged(), QQuickSwipeViewPrivate::itemImplicitWidthChanged(), QQuickTabBarPrivate::itemImplicitWidthChanged(), and QQuickComboBoxPrivate::maybeUpdateImplicitContentWidth().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateLocale()

void QQuickControlPrivate::updateLocale ( const QLocale & l,
bool e )

Definition at line 641 of file qquickcontrol.cpp.

References emit, hasLocale, locale, and updateLocaleRecur().

+ Here is the call graph for this function:

◆ updateLocaleRecur()

void QQuickControlPrivate::updateLocaleRecur ( QQuickItem * item,
const QLocale & l )
static

Definition at line 657 of file qquickcontrol.cpp.

References child, QGraphicsItem::childItems(), QQuickItemPrivate::childItems, get(), item, and updateLocaleRecur().

Referenced by updateLocale(), and updateLocaleRecur().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ warnIfCustomizationNotSupported()

void QQuickControlPrivate::warnIfCustomizationNotSupported ( QObject * control,
QQuickItem * item,
const QString & propertyName )
static

Warns if control has a __notCustomizable property which is set to true, unless item has an __ignoreNotCustomizable property.

If __notCustomizable is true, it means that the style that provides the control does not support customization. If __ignoreNotCustomizable is true, it means that the item is an internal implementation detail and shouldn't be subject to the warning.

We take a QObject for control instead of QQuickControl or QQuickItem because not all relevant types derive from QQuickControl - e.g. TextField, TextArea, QQuickIndicatorButton, etc.

Definition at line 623 of file qquickcontrol.cpp.

References item, QObject::property(), qEnvironmentVariableIntValue(), qmlWarning(), and QVariant::toBool().

Referenced by QQuickControl::setBackground(), QQuickTextArea::setBackground(), QQuickTextField::setBackground(), setContentItem_helper(), QQuickDialog::setFooter(), QQuickDial::setHandle(), QQuickRangeSliderNode::setHandle(), QQuickSlider::setHandle(), QQuickDialog::setHeader(), QQuickAbstractButton::setIndicator(), QQuickComboBox::setIndicator(), QQuickIndicatorButton::setIndicator(), and QQuickGroupBox::setLabel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ background

◆ contentItem

QQuickDeferredPointer<QQuickItem> QQuickControlPrivate::contentItem

Definition at line 210 of file qquickcontrol_p_p.h.

Referenced by QQuickContainerPrivate::_q_currentIndexChanged(), QQuickComboBoxPrivate::acceptInput(), QQuickComboBoxPrivate::calculateWidestTextWidth(), QQuickMonthGridPrivate::cellAt(), QQuickContainerPrivate::cleanup(), QQuickPanePrivate::contentChildItems(), QQuickPanePrivate::contentChildrenChange(), QQuickMonthGridPrivate::dateOf(), QQuickTumblerPrivate::determineViewType(), executeContentItem(), QQuickPopupItemPrivate::executeContentItem(), getContentHeight(), QQuickPanePrivate::getContentHeight(), getContentItem(), QQuickScrollViewPrivate::getContentItem(), getContentWidth(), QQuickPanePrivate::getContentWidth(), QQuickPanePrivate::getFirstChild(), QQuickPageIndicatorPrivate::handleRelease(), QQuickPageIndicatorPrivate::itemAt(), itemDestroyed(), itemFocusChanged(), QQuickFolderBreadcrumbBarPrivate::itemImplicitHeightChanged(), itemImplicitHeightChanged(), QQuickDialogButtonBoxPrivate::itemImplicitHeightChanged(), QQuickMenuBarPrivate::itemImplicitHeightChanged(), QQuickTabBarPrivate::itemImplicitHeightChanged(), QQuickFolderBreadcrumbBarPrivate::itemImplicitWidthChanged(), itemImplicitWidthChanged(), QQuickDialogButtonBoxPrivate::itemImplicitWidthChanged(), QQuickMenuBarPrivate::itemImplicitWidthChanged(), QQuickTabBarPrivate::itemImplicitWidthChanged(), QQuickPagePrivate::relayout(), QQuickContainerPrivate::reorderItems(), resizeContent(), QQuickFolderBreadcrumbBarPrivate::resizeContent(), QQuickDialogButtonBoxPrivate::resizeContent(), QQuickScrollBarPrivate::resizeContent(), QQuickScrollIndicatorPrivate::resizeContent(), QQuickSwipeDelegatePrivate::resizeContent(), QQuickSwipeViewPrivate::resizeItem(), QQuickDayOfWeekRowPrivate::resizeItems(), QQuickMonthGridPrivate::resizeItems(), QQuickWeekNumberColumnPrivate::resizeItems(), setContentItem_helper(), QQuickTumblerPrivate::setWrap(), QQuickFolderBreadcrumbBarPrivate::toggleTextFieldVisibility(), QQuickComboBoxPrivate::updateAcceptableInput(), updateBaselineOffset(), QQuickComboBoxPrivate::updateEditText(), QQuickTabBarPrivate::updateLayout(), and QQuickSpinBoxPrivate::updateValue().

◆ extra

◆ hasHorizontalPadding

bool QQuickControlPrivate::hasHorizontalPadding = false

Definition at line 191 of file qquickcontrol_p_p.h.

Referenced by setHorizontalPadding().

◆ hasLocale

bool QQuickControlPrivate::hasLocale = false

Definition at line 193 of file qquickcontrol_p_p.h.

Referenced by updateLocale().

◆ hasVerticalPadding

bool QQuickControlPrivate::hasVerticalPadding = false

Definition at line 192 of file qquickcontrol_p_p.h.

Referenced by setVerticalPadding().

◆ horizontalPadding

qreal QQuickControlPrivate::horizontalPadding = 0

Definition at line 202 of file qquickcontrol_p_p.h.

Referenced by setHorizontalPadding().

◆ implicitContentHeight

◆ implicitContentWidth

◆ ImplicitSizeChanges

QT_BEGIN_NAMESPACE const QQuickItemPrivate::ChangeTypes QQuickControlPrivate::ImplicitSizeChanges = QQuickItemPrivate::ImplicitWidth | QQuickItemPrivate::ImplicitHeight | QQuickItemPrivate::Destroyed
static

Abstract base type providing functionality common to all controls.

\qmltype Control
\inherits Item

! \instantiates QQuickControl \inqmlmodule QtQuick.Controls

Since
5.7

Control is the base type of user interface controls. It receives input events from the window system, and paints a representation of itself on the screen.

Definition at line 144 of file qquickcontrol_p_p.h.

Referenced by QQuickControl::~QQuickControl(), QQuickLabel::~QQuickLabel(), QQuickTextArea::~QQuickTextArea(), QQuickTextField::~QQuickTextField(), QQuickControl::setBackground(), QQuickLabel::setBackground(), QQuickTextArea::setBackground(), and QQuickTextField::setBackground().

◆ locale

◆ padding

qreal QQuickControlPrivate::padding = 0

Definition at line 201 of file qquickcontrol_p_p.h.

Referenced by setHorizontalPadding(), and setVerticalPadding().

◆ resizingBackground

bool QQuickControlPrivate::resizingBackground = false

◆ resolvedFont

QFont QQuickControlPrivate::resolvedFont

Definition at line 208 of file qquickcontrol_p_p.h.

Referenced by inheritFont(), and updateFont().

◆ spacing

◆ touchId

◆ verticalPadding

qreal QQuickControlPrivate::verticalPadding = 0

Definition at line 203 of file qquickcontrol_p_p.h.

Referenced by setVerticalPadding().

◆ wheelEnabled

bool QQuickControlPrivate::wheelEnabled = false

Definition at line 194 of file qquickcontrol_p_p.h.


The documentation for this class was generated from the following files: