I'm trying to use the ActionSelectionPopover located here, I can't find any examples on how to actually execute/show it, from looking at the demo QML files this is what I have come up with:
/* Popup menu when right clicking items */
ActionSelectionPopover {
id: contextMenu
actions: ActionList {
Action {
text: i18n.tr("View Item Info")
onTriggered: print(text)
}
}
}
Then later I have this in an item:
onClicked: {
contextMenu.caller = item;
contextMenu.show();
print(item);
}
Now the item is printed, but the ActionSelectionPopover does not show.