Commit Graph

33 Commits

Author SHA1 Message Date
wmayer
c54deee146 Py2/Qt4: fix build failures and warnings 2020-11-30 19:05:37 +01:00
wmayer
0eba78d400 Gui: [skip ci] support of bitmasks for enum RotationCenterMode 2020-11-29 11:43:51 +01:00
wmayer
4c9eca5623 Gui: [skip ci] replace dragAtCursor with new enum value WindowCenter 2020-11-28 17:31:42 +01:00
wmayer
c582e8a085 Gui: [skip ci] implement new RotationCenterMode called BoundingBoxCenter 2020-11-27 15:12:10 +01:00
luz paz
298c677873 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
wmayer
4b7e64381c Gui: avoid code duplication in NavigationStyle and remove superfluous doZoom_wheel method 2020-08-22 18:44:47 +02:00
DeepSOIC
b200801ebc Gui: use SoMouseWheelEvent in navigation styles 2020-08-22 17:15:02 +02:00
DeepSOIC
8a99785477 Gui: GestureNavigationStyle rewrite
to better work on Qt5
+ new (dormant) feature: button roll gestures
2019-05-14 15:35:50 +02:00
wmayer
28b195d6e2 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
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
wmayer
ff6ed27ba9 replace boolean to check for inside/outside cutting with enum values 2018-09-18 18:25:51 +02:00
luz.paz
0576524144 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
d4987d088f add option to drag at cursor instead of view center 2018-07-25 22:36:35 +02:00
Eneen
c397aee9ed Added RevitNavigationStyle 2017-10-19 18:52:27 +02:00
DeepSOIC
6e39a78721 Gui: GestureNav: disable rotation when over a dragger 2017-05-06 12:48:26 +03:00
wmayer
32760491a6 + fixes #0002433: Window weirdness after changing constraint value in sketcher 2016-03-11 13:33:23 +01:00
wmayer
3f79dfffb6 + allow to get user friendly names for navigation styles 2016-03-10 18:37:48 +01:00
Pablo Gil
9e9cbfb1a7 + Maya navigation style 2015-07-18 19:33:05 +02:00
Kirill Gavrilov
be70bad701 + fixes #0002108: Add OpenCascade navigation style 2015-05-19 20:24:09 +02:00
DeepSOIC
4f5747ebef New navigation style: GestureNavigationStyle 2015-03-31 21:49:01 +02:00
wmayer
20c57d3a33 Use rubberband for box selection 2013-07-02 10:04:33 +02:00
wmayer
bea2c3b7a7 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
c3d84e9bf8 0000772: Navigation style suggestion - do not change cursor location when you are controling view 2012-07-07 00:28:03 +02:00
wmayer
32d38561c8 Add a sensitivity value to improve issue #0000772 2012-07-06 18:47:11 +02:00
wmayer
efcd60ce0f Add a method to sync internal button stages after mouse selection 2012-06-26 13:59:16 +02:00
wmayer
f33a6b90a8 0000712: Cad Navigation Zoom with Ctrl + causes shapes to pan off screen 2012-05-21 18:27:30 +02:00
tanderson
0808d532a8 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
2348a70d25 Support of customizeable zoom step and zoom-at-cursor 2012-02-20 19:52:56 +01:00
wmayer
ebd4a35297 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