- Qt 6.12
- Qt Quick Controls
- QML Types
- MenuBar
- Qt 6.12.0 Reference Documentation

# List of All Members for MenuBar

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

- delegate : Component
- menus : list<Menu>
- void addMenu(Menu menu)
- void insertMenu(int index, Menu menu)
- Menu menuAt(int index)
- void removeMenu(Menu menu)
- Menu takeMenu(int index)

The following members are inherited from Container.

- contentChildren : list<Item>
- contentData : list<QtObject> [default]
- contentHeight : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- contentModel : model [read-only]
- contentWidth : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- count : int [read-only]
- currentIndex : int
- currentItem : Item [read-only]
- void addItem(Item item)
- void decrementCurrentIndex() `(since QtQuick.Controls 2.1 (Qt 5.8))`
- void incrementCurrentIndex() `(since QtQuick.Controls 2.1 (Qt 5.8))`
- void insertItem(int index, Item item)
- Item itemAt(int index)
- void moveItem(int from, int to)
- void removeItem(Item item) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void setCurrentIndex(int index)
- Item takeItem(int index) `(since QtQuick.Controls 2.3 (Qt 5.10))`

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
- mutabilityGroup : int `(since 6.12)`
- 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