[Interest] Qt Quick UI Forms & item views: best practices

Alexander Ivash elderorb at gmail.com
Wed Jan 21 09:24:57 CET 2015


Yes, your are right, there was an error in my sample, but even fixing it
doesn't change a lot: ui.qml files becomes not editable via QtCreator's QML
designer due to presence

onClicked: root.onClicked(root.model.get(index)); /// this line makes
QtCreator unhappy :(

2015-01-21 10:16 GMT+03:00 Kristoffersen, Even (NO14) <
Even.Kristoffersen at honeywell.com>:

> > From: Alexander Ivash
> > Sent: 20. januar 2015 19:32
> > To: interest at qt-project.org
> > Subject: [Interest] Qt Quick UI Forms & item views: best practices
>
> > MouseArea {
> > onClicked: root.onClicked(root.model.get(index)); /// this line makes
> QtCreator unhappy :(
> > }
>
> Shouldn’t that be root.itemClicked(root.model.get(index)); ?
>
> -Even
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150121/9c222441/attachment.html>


More information about the Interest mailing list