03-04-2013 11:30 AM
I currently have a ListView that is populated via a GroupDataModel.
Is there a simple/clean way to have the order of the items in the model to be re-ordered using a drag & drop technique.
Thank you for your time.
03-04-2013 11:40 AM - edited 03-04-2013 11:43 AM
I wanted to do this too but on experimentation both the scrolling and peek got in the way of doing it.
If you could prevent the scroll signal going through to the listView when doing the drag through OnTouch it would work but I never managed to find a way.
The problem with peek I'm currently working through with an engineer in BlackBerry, if he finds a solution or provides an api update I'll post here.
You could add an up/down button to the Item QML, nowhere near as nice though.
If you get something working (no matter how hacky) please get in touch.
03-04-2013 11:47 AM
Thanks for the update.
I too looked to see if I can stop the scroll behaviour on the ListView but did not find a way (as yet).
The setEnabled() property does not do anything.
I am wondering if we can tie in QT Components. The QTListView might be the better approach.