I'm trying to create a combobox-like widget. I have a button that calls PopupUtils.show() to display a popover, but have not worked out how to save the selection. I need to be able to save the selection and also change the button's label in response to a selection.
The popover looks like this: Component { id: popoverComponent Popover { id: popover OptionSelector { model: ["BTC", "mBTC", "μBTC"] expanded: true onDelegateClicked: PopupUtils.close(popover) } } } Any tips?
signature.asc
Description: This is a digitally signed message part
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp