import Quickshell If this menu item has children that can be accessed through a QsMenuOpener.
The check state of the checkbox or radiobutton if applicable, as a Qt.CheckState.
If this menu item should be rendered as a separator between other items.
No other properties have a meaningful value when isSeparator is true.
Text of the menu item.
Url of the menu item’s icon or "" if it doesn’t have one.
This can be passed to Image.source as shown below.
Image {
source: menuItem.icon
// To get the best image quality, set the image source size to the same size
// as the rendered image.
sourceSize.width: width
sourceSize.height: height
}
Display a platform menu at the given location relative to the parent window.
Send a trigger/click signal to the menu entry.