Commit Graph

12 Commits

Author SHA1 Message Date
luz.paz
f11783a498 src/Gui: [skip ci] fix header uniformity
This PR fixes header uniformity across all `src/Gui` files
2019-12-25 11:39:17 +01:00
wmayer
b530c7e576 include cmath header for definition of M_PI 2018-12-17 10:04:10 +01:00
DeepSOIC
82fd0a8db6 Gui: Gesture: add option to disable tilt
On Qt5, using pinch will inevitably cause tilt. It's annoying, so it is disabled by default.

In the future, it's best to introduce some kind of threshold to overcome for the tilt to be triggered.
2018-11-29 15:29:27 -03:00
DeepSOIC
b09fb97ad8 Gui: Gesture: fix tilt angle sign 2018-11-29 15:29:27 -03:00
DeepSOIC
46d0d4c80c Gui: Gesture: QPinchGesture angle - sign, degrees, make cumulative
fixes pinch gesture rotation part on Qt5 (tested only on windows, Qt4 and Qt5)
2018-11-29 15:29:27 -03:00
wmayer
1673ab801e use specialized exception classes 2017-04-28 18:49:11 +02:00
Kunda
784edd3f82 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -03:00
DeepSOIC
64754a655e Gui: Gesture: fix for conda
@peterl94 said anaconda's Qt doesn't offer private headers. The
definitions used have almost no code associated with them, I simply
copied them to the cpp file.

See thread "ana(conda) windows packaging", starting from this post:
https://forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=70#p167370
2017-03-27 13:40:21 +03:00
Kunda
19f8fd4c10 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
DeepSOIC
963b993abc Gestures: fix running on win XP
Potential fix, by dynamically linking SetGestureConfig
2015-04-07 00:57:22 +03:00
wmayer
8e0110a18e + fix various things 2015-03-31 23:08:12 +02:00
DeepSOIC
77ef990fa7 Gestures: custom Windows gesture recognizer
Translates native Windows pinch and rotate gestures into Qt's pinch
gestures.
2015-03-31 21:49:00 +02:00