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: parent
- interactive: 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.
1 reply
Resolve It.
Not use Flickable Element.
Use a MouseArea custom to Fisica.(Mousearea whith in Inertia )
Sample has here… [quicking.wordpress.com]
You must log in to post a reply. Not a member yet? Register here!
