[SailfishDevel] Dynamically populate a ContextMenu

Andrey Kozhevnikov coderusinbox at gmail.com
Sun Nov 24 08:12:55 UTC 2013


Please check ContextMenu and ComboBox code.
_contentColumn property used in a proper way.

QML is not C++ where you not allowed to reimplement headers to use 
private and protected functions outside. QML is hack-for-fun.

On 24.11.2013 00:03, christopher.lamb at thurweb.ch wrote:
> We should not have to make that choice.
>
> using an underscore property is the pragmatic solution, but I would be 
> interested to hear what the Jolla developers have to say on this issue.
>
> Zitat von "Andrey Kozhevnikov" <coderusinbox at gmail.com>:
>
>> You should use it if you want "real" dynamically created components.
>> Or reimplement ContextMenu item.
>>
>> What would you prefer?
>
>
>



More information about the Devel mailing list