How to programming, like a card shuffle.
-
Hi.
One Region has same Rectangle.
The rectangle can flicking in parallel time.Do not you know such a sample?
I tried programming to use Flicable on GridView.
but Flicable overriding other Flicable. So,Could not control well.below code is delegate component of GridView.
Can't reach touch signal to Flicable...@
Flickable{
id : f1
anchors.fill: parentinteractive: false contentWidth: 1000 contentHeight: 1000 contentX: 500 contentY: 500 Rectangle{ id:rect x: 500 y: 500 width: 200 height: 200 color: "#ff0000" Text{ text:f1.interactive } MouseArea{ anchors.fill: parent onPressed: { f1.interactive = true <- Important point!! } onReleased: { f1.interactive = false } } } }
@
Do not you know how to solve?
regards
dFrontia. -
Resolve It.
Not use Flickable Element.
Use a MouseArea custom to Fisica.(Mousearea whith in Inertia )
"Sample has here...":https://quicking.wordpress.com/2011/09/07/mousearea-whith-phisics/