[SailfishDevel] PulleyMenu and Combobox and make it possible to dynamic add items
Mohammed Hassan
mohammed.hassan at jollamobile.com
Sun Jun 16 12:30:48 UTC 2013
On Sun, Jun 16, 2013 at 12:31:20PM +0200, Mikael Hermansson wrote:
> I just wonder if there is a plan for dynamic items in PulleyMenu and Combobox?
>
> Right now it seems its only possible to add static items in "compile time"?
>
> IMHO it would be better if PulleMenu/Combobox using MVC approach same way as
> ListView/ListModel etc.. ?
gpodder is using a model and a Repeater to populate the PulleyMenu
https://github.com/gpodder/gpodder/blob/master/share/gpodder/ui/qml/sailfish/org/gpodder/qmlui/ActionMenu.qml
I am not sure this will work for you but you could always give it a try ;-)
Cheers,
More information about the Devel
mailing list