Nabos
9cda82cf20
Gui: Added FreeTurntable orbit style ( #8048 )
...
* Added FreeTurntable orbit style
2022-12-20 03:21:46 +01:00
wmayer
ba8d5ab055
Gui: modernize C++: replace 'typedef' with 'using'
2022-08-29 14:09:18 +02:00
berniev
a909df7f39
Gui: Single arg ctors must be explicit (PR #7369 )
2022-08-24 15:06:03 +02:00
wmayer
2062f9ce87
clang: fix warnings [-Winconsistent-missing-override]
2022-08-09 17:36:25 +02:00
berniev
0c70d45c83
Gui: Use override etc 2
2022-08-09 12:43:23 +02:00
Uwe
9df3059d3b
[Gui] Navigation styles: remove unused includes
2022-03-03 02:25:21 +01:00
wmayer
916fe37a6b
Gui: move handling of SoMouseWheelEvent to its own handler function
2021-11-05 21:37:19 +01:00
wmayer
4a1c1c7004
C++11: modernize use nullptr (replaces NULL or 0)
2021-11-05 18:16:19 +01:00
wmayer
528ffce593
Gui: add method NavigationStyle::processClickEvent() to reduce code duplication in sub-classes
2021-11-05 14:37:18 +01:00
wmayer
b1ab5c3b8f
Gui: [skip ci] in MayaGestureNavigationStyle rename mousedownConsumedEvent to mousedownConsumedEvents
2021-11-05 14:00:09 +01:00
wmayer
5b023b0af5
Gui: [skip ci] rename handleKeyboardEvent to processKeyboardEvent
2021-11-05 12:58:36 +01:00
wmayer
ef100d55e9
Gui: add support of TinkerCAD navigation style
2021-11-05 11:10:38 +01:00
wmayer
5b3bf97f2b
Gui: [skip ci] replace getNormalizedPosition() with normalizePixelPos()
2021-11-02 19:06:12 +01:00
wmayer
bec3c797a8
Gui: [skip ci] add method NavigationStyle::getNormalizedPosition() to reduce code duplication
2021-11-02 15:57:54 +01:00
wmayer
0b802eb717
Gui: [skip ci] add method NavigationStyle::handleKeyboardEvent() to achieve consistent handling and reduce code duplication
2021-11-02 15:32:20 +01:00
wmayer
1c93d3ee15
Gui: [skip ci] add method NavigationStyle::syncModifierKeys() to reduce code duplication
2021-11-02 14:52:22 +01:00
wmayer
a1c9ab658c
Gui: add support of OpenSCAD navigation style
2021-10-26 00:21:31 +02:00
Yorik van Havre
04eecd0c92
Merge pull request #4178 from uLeonis/master
...
[v0.20][Gui] Consolidate Std view modes
2021-09-09 12:22:27 +02:00
Chris Hennes
50c7ee36bf
[GUI] Remove code for Qt < 5.9
2021-04-02 10:10:37 +02:00
uLeonis
96f2ba2cb5
MeasureDistance
...
- Abort mode via ESCAPE added
BoxZoom, BoxSelection and BoxElementSelection
- Change the cursor to give the user feedback about active mode.
- Abort mode via ESCAPE
2020-12-21 17:32:33 +01:00
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