37 views
in GUI Development by
Hello i would like animate the position if a small image according to the position of a finger after a wipe event.

I have created a wipe area. How can i transfer the start coordinates of the wipe, and end coordinates of the wipe and put them into variables for further use ?

Is it also possible two monitor the current "position" of a finger when while he is performing constantly wipe movements without lifting the finger ?

Thanks in advance

1 Answer

0 votes
by

Hello Ruppie,

the Wipe Touch Handler does not provide this information. It limits to signal associated slot methods when dedicated gesture is detected. What you are looking for is probably the Slide Touch Handler. Note, the Image view can be connected to a Slide Touch Handler so that for simple scrolling an image you don't need to write a line code.

Alternative: use the low-level Simple Touch Handler. With it you can handle all phases of the interaction (press, move, release) individually.

Best regards

Paul Banach

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...