- Qt 6.10
- Qt Quick Controls
- QML Types
- Menu
- Qt 6.10.3 Reference Documentation

# List of All Members for Menu

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

- cascade : bool `(since QtQuick.Controls 2.3 (Qt 5.10))`
- contentData : list<QtObject> [default]
- contentModel : model [read-only]
- count : int `(since QtQuick.Controls 2.3 (Qt 5.10))` [read-only]
- currentIndex : int `(since QtQuick.Controls 2.3 (Qt 5.10))`
- delegate : Component `(since QtQuick.Controls 2.3 (Qt 5.10))`
- focus : bool
- icon
  - icon.cache : bool
  - icon.color : color
  - icon.height : int
  - icon.name : string
  - icon.source : url
  - icon.width : int
- overlap : real `(since QtQuick.Controls 2.3 (Qt 5.10))`
- title : string
- Action actionAt(int index) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void addAction(Action action) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void addItem(Item item)
- void addMenu(Menu menu) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void dismiss() `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void insertAction(int index, Action action) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void insertItem(int index, Item item)
- void insertMenu(int index, Menu menu) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- Item itemAt(int index)
- Menu menuAt(int index) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void moveItem(int from, int to)
- void popup(MenuItem item) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void popup(Item parent, MenuItem item) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void popup(point pos, MenuItem item) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void popup(Item parent, point pos, MenuItem item) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void popup(real x, real y, MenuItem item) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void popup(Item parent, real x, real y, MenuItem item) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void removeAction(Action action) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void removeItem(Item item) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- void removeMenu(Menu menu) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- Action takeAction(int index) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- MenuItem takeItem(int index) `(since QtQuick.Controls 2.3 (Qt 5.10))`
- Menu takeMenu(int index) `(since QtQuick.Controls 2.3 (Qt 5.10))`

The following members are inherited from Popup.

- activeFocus : bool [read-only]
- anchors.centerIn : Item `(since QtQuick.Controls 2.5 (Qt 5.12))`
- availableHeight : real [read-only]
- availableWidth : real [read-only]
- background : Item
- bottomInset : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- bottomMargin : real
- bottomPadding : real
- clip : bool
- closePolicy : enumeration
- contentChildren : list<Item>
- contentData : list<QtObject> [default]
- contentHeight : real
- contentItem : Item
- contentWidth : real
- dim : bool
- enabled : bool `(since QtQuick.Controls 2.3 (Qt 5.10))`
- enter : Transition
- exit : Transition
- focus : bool
- font : font
- height : real
- horizontalPadding : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- 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]
- implicitHeight : real
- implicitWidth : real
- leftInset : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- leftMargin : real
- leftPadding : real
- locale : Locale
- margins : real
- mirrored : bool `(since QtQuick.Controls 2.3 (Qt 5.10))` [read-only]
- modal : bool
- opacity : real
- opened : bool `(since QtQuick.Controls 2.3 (Qt 5.10))`
- padding : real
- palette : palette `(since QtQuick.Controls 2.3 (Qt 5.10))`
- parent : Item
- popupType : enumeration `(since 6.8)`
- rightInset : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- rightMargin : real
- rightPadding : real
- scale : real
- spacing : real `(since QtQuick.Controls 2.1 (Qt 5.8))`
- topInset : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- topMargin : real
- topPadding : real
- transformOrigin : enumeration
- verticalPadding : real `(since QtQuick.Controls 2.5 (Qt 5.12))`
- visible : bool
- width : real
- x : real
- y : real
- z : real
- void aboutToHide()
- void aboutToShow()
- void close()
- void closed()
- forceActiveFocus(enumeration reason)
- void open()
- void opened()

The following members are inherited from QtObject.

- objectName : string