List of All Members for SwitchDelegate | Qt Quick Controls | Qt 6.11.1
Description: Item delegate with a switch indicator that can be toggled on or off.

- Qt 6.11
- Qt Quick Controls
- QML Types
- SwitchDelegate
- Qt 6.11.1 Reference Documentation

# List of All Members for SwitchDelegate

This is the complete list of members for SwitchDelegate, including inherited members.

- position : real [read-only]
- visualPosition : real [read-only]

The following members are inherited from ItemDelegate.

- highlighted : bool

The following members are inherited from AbstractButton.

- action : Action `(since QtQuick.Controls 2.3 (Qt 5.10))`
- autoExclusive : bool
- autoRepeat : bool
- autoRepeatDelay : int `(since QtQuick.Controls 2.4 (Qt 5.11))`
- autoRepeatInterval : int `(since QtQuick.Controls 2.4 (Qt 5.11))`
- checkable : bool
- checked : bool
- display : enumeration `(since QtQuick.Controls 2.3 (Qt 5.10))`
- down : bool
- icon `(since QtQuick.Controls 2.3)`
  - icon.cache : bool `(since QtQuick.Controls 2.3)`
  - icon.color : color `(since QtQuick.Controls 2.3)`
  - icon.height : int `(since QtQuick.Controls 2.3)`
  - icon.name : string `(since QtQuick.Controls 2.3)`
  - icon.source : url `(since QtQuick.Controls 2.3)`
  - icon.width : int `(since QtQuick.Controls 2.3)`
- implicitIndicatorHeight : real `(since QtQuick.Controls 2.5 (Qt 5.12))` [read-only]
- implicitIndicatorWidth : real `(since QtQuick.Controls 2.5 (Qt 5.12))` [read-only]
- indicator : Item
- pressX : real `(since QtQuick.Controls 2.4 (Qt 5.11))` [read-only]
- pressY : real `(since QtQuick.Controls 2.4 (Qt 5.11))` [read-only]
- pressed : bool [read-only]
- text : string
- void animateClick() `(since Qt 6.8)`
- canceled()
- void click() `(since Qt 6.8)`
- clicked()
- doubleClicked()
- pressAndHold()
- pressed()
- released()
- void toggle()
- toggled() `(since QtQuick.Controls 2.2 (Qt 5.9))`

The following members are inherited from Control.

- availableHeight : real [read-only]
- availableWidth : real [read-only]
- background : Item
- bottomInset : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- bottomPadding : real
- contentItem : Item
- focusReason : enumeration
- font : font
- horizontalPadding : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- hoverEnabled : bool
- hovered : bool [read-only]
- implicitBackgroundHeight : real `(since QtQuick.Controls 2.5 (Qt 5.12))` [read-only]
- implicitBackgroundWidth : real `(since QtQuick.Controls 2.5 (Qt 5.12))` [read-only]
- implicitContentHeight : real `(since QtQuick.Controls 2.5 (Qt 5.12))` [read-only]
- implicitContentWidth : real `(since QtQuick.Controls 2.5 (Qt 5.12))` [read-only]
- leftInset : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- leftPadding : real
- locale : Locale
- mirrored : bool [read-only]
- padding : real
- rightInset : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- rightPadding : real
- spacing : real
- topInset : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- topPadding : real
- verticalPadding : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- visualFocus : bool [read-only]
- wheelEnabled : bool

The following members are inherited from Item.

- activeFocus : bool [read-only]
- activeFocusOnTab : bool
- anchors
  - anchors.alignWhenCentered : bool
  - anchors.baseline : AnchorLine
  - anchors.baselineOffset : real
  - anchors.bottom : AnchorLine
  - anchors.bottomMargin : real
  - anchors.centerIn : Item
  - anchors.fill : Item
  - anchors.horizontalCenter : AnchorLine
  - anchors.horizontalCenterOffset : real
  - anchors.left : AnchorLine
  - anchors.leftMargin : real
  - anchors.margins : real
  - anchors.right : AnchorLine
  - anchors.rightMargin : real
  - anchors.top : AnchorLine
  - anchors.topMargin : real
  - anchors.verticalCenter : AnchorLine
  - anchors.verticalCenterOffset : real
- antialiasing : bool
- baselineOffset : int
- children : list<Item>
- childrenRect
  - childrenRect.height : real [read-only]
  - childrenRect.width : real [read-only]
  - childrenRect.x : real [read-only]
  - childrenRect.y : real [read-only]
- clip : bool
- containmentMask : QObject*
- data : list<QtObject>
- enabled : bool
- focus : bool
- focusPolicy : enumeration `(since 6.7)`
- height : real
- implicitHeight : real
- implicitWidth : real
- layer.effect : Component
- layer.enabled : bool
- layer.format : enumeration
- layer.live : bool `(since 6.5)`
- layer.mipmap : bool
- layer.samplerName : string
- layer.samples : enumeration
- layer.smooth : bool
- layer.sourceRect : rect
- layer.textureMirroring : enumeration
- layer.textureSize : size
- layer.wrapMode : enumeration
- opacity : real
- palette : Palette `(since 6.0)`
- parent : Item
- resources : list<QtObject>
- rotation : real
- scale : real
- smooth : bool
- state : string
- states : list<State>
- transform : list<Transform> [read-only]
- transformOrigin : enumeration
- transitions : list<Transition>
- visible : bool
- visibleChildren : list<Item>
- width : real
- x : real
- y : real
- z : real
- Item childAt(real x, real y)
- bool contains(point point)
- void dumpItemTree() `(since 6.3)`
- void forceActiveFocus()
- void forceActiveFocus(Qt::FocusReason reason)
- bool grabToImage(callback, targetSize)
- point mapFromGlobal(real x, real y)
- point mapFromItem(Item item, point p)
- rect mapFromItem(Item item, rect r)
- point mapFromItem(Item item, real x, real y)
- rect mapFromItem(Item item, real x, real y, real width, real height)
- point mapToGlobal(real x, real y)
- point mapToItem(Item item, point p)
- rect mapToItem(Item item, rect r)
- point mapToItem(Item item, real x, real y)
- rect mapToItem(Item item, real x, real y, real width, real height)
- Item nextItemInFocusChain(bool forward)

The following members are inherited from QtObject.

- objectName : string