Quick 2.1. Basically what I’d like to do is have a collection of Rectangles in a window that have kinetic motion properties. Each of these is independently draggable via a mouse click / touch on both X and Y. When the object is released, is continues to glide and decelerates.
I can kind of get this with a Flickable area, and setting:
boundsBehavior: Flickable.DragAndOvershootBounds
But, the Flickable needs to cover the entire parent window size, and takes mouse events from anywhere in its bounds, not just the Rectangle it contains. You can click on empty space outside of the Rectangle and still drag it around. Also other Rectangles in their own Flickables are inaccessible because all input is being received by one.
Anyone have any good ideas for this?
Thanks!
↧