How could I touch PushButton and Slider at the same time?
-
while I am touching the PushButton ,the Slider is not able to be touched.Seem like that the user is moving a QSlider with one finger and pressing a QPushButton with another.
I have set the WA_AcceptTouchEvents true ,but it does not work.
What should I do to solve this. -
@jsulm I want to make a wireless remote control on my Android phone which uses Slider and Button, and I may need to touch these controls at the same time in some situations such as clicking the Button to light up the LED while using the Slider to control the speed of my car .This way, there is more than one touch point on the screen.
-
I had a similar situation. I needed to control 4 sliders at the same time. I created a slider in a qml file. I added that qml file to the interface with 4 separate QQuickWidgets and I had 4 simultaneously controllable sliders.
Cpp Ui adapt touch event to mouse event. Due to mouse behaviour, you cant click or slide two object at the same time. :DYou should take a look : https://github.com/aaronsnoswell/QMLVirtualJoystick/tree/master
-