Pages
API Documentation
On this page

ActionMenuPopup QML Type

Presents an ActionMenu as a convergent menu popup. More...

  • Import Statement: import org.kde.kirigamiaddons.actions
  • Inherits: Item

Detailed Description

The menu keeps its items backed by the original QAction instances. Consequently action state, shortcuts and trigger handlers remain owned by ActionData.

Menus with the same name contribute to the same logical menu through ActionMenu.mergedActions. Nested ActionMenu objects become submenus. On desktop this is a traditional menu; on mobile it is a bottom drawer.

KirigamiActions.ActionMenu {
    id: fileMenu
    name: "file"
    text: i18nc("@title:menu", "File")
    actions: ["open", "save"]
}

KirigamiActions.ActionMenuPopup {
    menu: fileMenu
}
We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.