Qt Reference Documentation

QML MenuLayout Element

Provides a component for positioning menu items in a menu. More...

This element was introduced in Qt Quick Components 1.0.

Signal Handlers

Detailed Description

MenuLayout is similar to a Column positioner in that it places its child objects vertically in a column.

Even though a MenuLayout can contain any type of objects, it is recommended to build the menu with MenuItem objects. Usage of other objects may result in unexpected behaviour.

Signal Handler Documentation

MenuLayout::clicked ()

This signal is emitted when a menu item inside a MenuLayout is clicked.