Commit Graph

34 Commits

Author SHA1 Message Date
Chris Hennes
098d7b9aee [GUI] Remove code for Qt < 5.9 2021-04-02 10:10:37 +02:00
wmayer
0e5cbf5298 Py2/Qt4: fix build failures and warnings 2020-11-30 19:05:37 +01:00
wmayer
a7d9b3ddcc Gui: [skip ci] support of bitmasks for enum RotationCenterMode 2020-11-29 11:43:51 +01:00
wmayer
eafcb59baf Gui: [skip ci] replace dragAtCursor with new enum value WindowCenter 2020-11-28 17:31:42 +01:00
wmayer
50aab2c595 Gui: [skip ci] implement new RotationCenterMode called BoundingBoxCenter 2020-11-27 15:12:10 +01:00
luz paz
38815b9550 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
wmayer
c14190b918 Gui: avoid code duplication in NavigationStyle and remove superfluous doZoom_wheel method 2020-08-22 18:44:47 +02:00
DeepSOIC
a41a5042ae Gui: use SoMouseWheelEvent in navigation styles 2020-08-22 17:15:02 +02:00
DeepSOIC
fd9630c4a0 Gui: GestureNavigationStyle rewrite
to better work on Qt5
+ new (dormant) feature: button roll gestures
2019-05-14 15:35:50 +02:00
wmayer
6b37fdc1a8 PVS issues:
consistently define copy constructor and assignment operator
remove superfluous casts
initialize member variables in constructor
avoid double assignment
2019-03-04 11:53:49 +01:00
DeepSOIC
47ae980fa2 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
wmayer
644cfa06bb replace boolean to check for inside/outside cutting with enum values 2018-09-18 18:25:51 +02:00
luz.paz
9bd704d320 Misc. code comment typo fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
2018-07-27 10:39:43 -03:00
wmayer
013e8108c0 add option to drag at cursor instead of view center 2018-07-25 22:36:35 +02:00
Eneen
357ee64052 Added RevitNavigationStyle 2017-10-19 18:52:27 +02:00
DeepSOIC
7cf1cfb63e Gui: GestureNav: disable rotation when over a dragger 2017-05-06 12:48:26 +03:00
wmayer
6488b745d1 + fixes #0002433: Window weirdness after changing constraint value in sketcher 2016-03-11 13:33:23 +01:00
wmayer
111ebaf6be + allow to get user friendly names for navigation styles 2016-03-10 18:37:48 +01:00
Pablo Gil
d449f383f0 + Maya navigation style 2015-07-18 19:33:05 +02:00
Kirill Gavrilov
4b67556c82 + fixes #0002108: Add OpenCascade navigation style 2015-05-19 20:24:09 +02:00
DeepSOIC
499fffcb7e New navigation style: GestureNavigationStyle 2015-03-31 21:49:01 +02:00
wmayer
b737eeb52d Use rubberband for box selection 2013-07-02 10:04:33 +02:00
wmayer
572008b297 Add optional argument moveToCenter (by default false) to avoid to move camera when using standard views 2012-07-09 13:38:21 +02:00
wmayer
72fa9db2dd 0000772: Navigation style suggestion - do not change cursor location when you are controling view 2012-07-07 00:28:03 +02:00
wmayer
4777b00b59 Add a sensitivity value to improve issue #0000772 2012-07-06 18:47:11 +02:00
wmayer
57ba9b5cbd Add a method to sync internal button stages after mouse selection 2012-06-26 13:59:16 +02:00
wmayer
e07b82719f 0000712: Cad Navigation Zoom with Ctrl + causes shapes to pan off screen 2012-05-21 18:27:30 +02:00
tanderson
9ffdfbe485 new algorithm for spaceball movements
*consolidate motion3 event handeling.
*rotation about focal point.
*translation based on world to screen scale.
*cleanup axes map and constants.
2012-02-29 14:15:05 -05:00
wmayer
fb949d6842 Support of customizeable zoom step and zoom-at-cursor 2012-02-20 19:52:56 +01:00
wmayer
69e2ff04b0 0000555: 3D navigation using a two-button laptop touchpad
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5373 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-01 12:44:08 +00:00
wmayer
7023236741 + rename methods to a more obvious name
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5106 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-09 11:10:09 +00:00
wmayer
5afb26cf18 + animated panning
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5104 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-09 10:47:35 +00:00
wmayer
9158a92e4f + fix issue with rotation enter with panning
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5103 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-09 09:38:36 +00:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00