import QtQuick 2.4 import Ubuntu.Components 1.3 import Ubuntu.Components.Popups 1.3 MouseArea { id: root width: units.gu(50) height: units.gu(50) acceptedButtons: Qt.RightButton Component { id: popup ActionSelectionPopover { actions: ActionList { Action { text: "foo" } Action { text: "bar" } Action { text: "baz" } } } } onClicked: PopupUtils.open(popup, root) }