I need to scroll the list when mouse is pressed and at the bottom or top of the list until mouse is released.
I tried to use timer, which is scrolling the list while mouse cursor is in position of bottom or top of listView.
When item of the list is out of screen, all mouse actions of delegate that is out of screen no longer available, and timer doesn't stop when i release the mouse button;
So, i decided to use mouseArea that is child of listView, but every time i need to get items properties, i have to set currentIndex to ListView, and than use currentItem to get properties.
It works fine, but i am not sure if it is the best way in such situation.
I also was trying to make my own mouseArea by reimplementing the QDeclarativeItem, where event will be accepted only when mouse button is released, and when it is pressed event will be ignore.
But unfurtunaly i failed, because if event->ignore() is set in MousePressEvent(), MouseReleaseEvent() is no longer working.
Is there any possibility to make that what i want?