Forums

OverviewV-Play 1 SupportMouseArea not releasing after "swipe" › Reply To: MouseArea not releasing after "swipe"

OverviewV-Play 1 SupportMouseArea not releasing after "swipe" › Reply To: MouseArea not releasing after "swipe"
#4448

Thomas

Okay, thanks. I guess, i found the reason for this strange behavior. The reason is a MultiTouchArea, in which i placed 3 of my Buttons.

I want to be able to press at least to buttons at the same time.

But obviously, this multitoucharea causes the problem.. Everytime i try to move the pressed mouse or finger, it stops working.

here is the Code: (assume, the “TestButton” is the button mentioned above)

 

MultiTouchArea {
            id: buttonarea
            anchors.bottom: parent.bottom
            width: parent.width
            height: parent.height/5

            TestButton {
                id: testButt1
                anchors.left: parent.left
            }
            TestButton {
                id: testButt2
                anchors.left: parent.center
            }
            TestButton {
                id: testButt3
                anchors.left: parent.right
            }
        }

so how do i manage to get that working? do i need to forward the movement to the buttons like the keys have to be forwarded?

 

Cheers,

TS

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support