The way I did it was to create a detail view that was not incorporated into the Delegate. When the user clicks on the Delegate, the onClick pulls the details and updates the Details view. This way, the details are updated on mouse click. My delegate's mouse clicks are handled here: http://code.google.com/p/qgvdial/source/browse/trunk/qml/ContactsList.qml#121 Thats where the details view fields are updated from the model.
On 01/18/2011 01:03 PM, Alexey Zaryanov wrote: > I have my own model in C++ and Listview with expanded delegates ( see > examples > "examples\declarative\modelviews\listview\expandingdelegates.qml" ). > Then the delegate is expanded it show detailed information. How can i > take detailed information then it realy need ? Listview asks all > information ( every roles ) but i need only names and other > information ( others roles ) then delegate is expanded. It is > essential for good performance. > > > Thnx ! > > > _______________________________________________ > Qt-qml mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-qml
_______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
