Skip to content
AtlasOSFramework API
Browse the docs

ContextMenuSeparator

A thin rule between groups of ContextMenuItem rows.

ContextMenuSeparator draws a thin rule between groups of ContextMenuItem rows in a ContextMenu. It is a Qt Quick Templates MenuSeparator (Qt documentation) and has no properties of its own. A hidden separator takes no room.

Example

ContextMenu {
    ContextMenuItem { text: qsTr("Copy") }
    ContextMenuSeparator {}
    ContextMenuItem { text: qsTr("Delete"); destructive: true }
}