[Development] Namespacing QML context properties

Alberto Mardegan mardy at users.sourceforge.net
Mon Dec 9 11:16:40 CET 2013


On 12/09/2013 10:00 AM, Alan Alpert wrote:
> Question does seem a bit clearer. But I think the answer is the same -
> ListView shouldn't be using context properties anymore. Well, it's
> worthwhile for the convenience here but maybe add an attached property
> reference as well for those cases needing more precision:
> 
> Item {
>     ListView {
>         model: 3
>         delegate: ComboBox {
>             text: ListView.modelData.displayName //unambiguous*
>         }
>     }
> }

That sounds good. I created
 https://bugreports.qt-project.org/browse/QTBUG-35476

Feel free to assign that to me, if you are not in a hurry to solve it. :-)

Ciao,
  Alberto

-- 
http://blog.mardy.it <- geek in un lingua international!



More information about the Development mailing list