For some reason PathView in QML 1.1 does not have a currentItem property (like ListView and GridView do).
(It has been added in 2.0, but that does not help me right now...)
Can someone think of a workaround to this?
I want to display a role value outside the delegate, and was planning to make the role available as a property of the delegate. But that is useless if I cannot get hold of the current item.
For some reason PathView in QML 1.1 does not have a currentItem property (like ListView and GridView do).posted Reputation: 1 | Posts: 325
Posts 2 | Views 1677
may be you can use http://doc.qt.nokia.com/4.7-snapshot/qml-pathview.html#isCurrentItem-prop When it changes to true, call some function to get role and set it to other element that is outside delegate.
Also see "this example":http://qt-project.org/wiki/Qt_Quick_Carousel#b8e7e3c65d9ba234a46708f7dc3d0097
"Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program."
posted Reputation: 22 | Posts: 356