🗨️ Popup

Display a popup with a little arrow pointing to the origin. It should be opened with the openAt(origin, transformOrigin) function.

  • transformOrigin can be any of Item.Top, Item.Bottom, Item.Right, Item.Left.
  • origin must be the coordinate of the origin in Overlay. You should use the function mapToItem(Overlay.overlay, x, y) to get the origin.

popupmenu

Dedicated Button for popup menu.

popupmenuitem