Bas Ruigrok
5ba93dd9f0
Gui: Improve lookAtPoint ( #13556 )
...
* Gui: Rename NavigationStyle::pan to setupPanningPlane
* Gui: Replace duplicate code with NavigationStyle::setupPanningPlane
* Gui: Use panning plane when hit point not found in lookAtPoint
Also enables navigation animations when pressing MMB while the mouse is not over an object
* Gui: Remove unused methods
2024-05-06 10:45:14 -05:00
wmayer
4732cbf3b9
Gui: fix -Wlogical-op-parentheses
2024-03-04 11:23:09 -06:00
Bas Ruigrok
45e33a7f12
Gui: Fix selection in Blender, CAD and Revit style
2024-02-26 11:21:07 -06:00
Rexbas
5c4b8ddff4
Gui: Prohibit interrupting a rubber-band selection in sketcher
2024-01-24 21:02:25 +01:00
Rexbas
7e031c1738
Gui: Prevent rubber-band selection when selection button is pressed after other buttons are pressed
2024-01-24 21:02:25 +01:00
Rexbas
dfa20b4648
Gui: Prevent showing the context menu after dragging, panning or zooming
2024-01-24 21:02:25 +01:00
wmayer
c016f1c1fb
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +02:00
berniev
75acacd1b7
Gui: Use auto and range-based for ( #7481 )
...
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto.
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
andrea
3018985f80
Remove unused code into GUI
2022-07-17 03:53:11 +02:00
Chris Hennes
bedf920702
Gui: PR6497 move return statement to new line
2022-03-29 12:33:50 -05:00
Uwe
fe5f5bdda5
[Gui] only include the actually used inventor files
2022-03-17 21:12:19 +01:00
Uwe
9df3059d3b
[Gui] Navigation styles: remove unused includes
2022-03-03 02:25:21 +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
5b023b0af5
Gui: [skip ci] rename handleKeyboardEvent to processKeyboardEvent
2021-11-05 12:58:36 +01:00
wmayer
5b3bf97f2b
Gui: [skip ci] replace getNormalizedPosition() with normalizePixelPos()
2021-11-02 19:06:12 +01:00
wmayer
60467908c8
Gui: [skip ci] code clean-up
2021-11-02 16:06:21 +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
daa2590672
Gui: add SoTimerSensor.h to PCH
2020-09-04 10:36:13 +02:00
DeepSOIC
b200801ebc
Gui: use SoMouseWheelEvent in navigation styles
2020-08-22 17:15:02 +02:00
wmayer
b50b21576e
core system
...
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
wmayer
f581d5c8cb
PVS: V560 A part of conditional expression is always true
2019-02-17 13:56:48 +01:00
luz.paz
a07e675d9e
Crowdin: Gui/CADNavigationStyle.cpp refinements
2019-01-30 11:08:03 -02:00
Mateusz Skowroński
94e392347c
Fix GCC 8 warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
2018-12-23 11:05:02 -02:00
luz.paz
051d910db9
Misc. comment typos
...
[skip ci]
2018-01-20 14:04:22 +01:00
Unknown
a8ecffb652
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
32760491a6
+ fixes #0002433 : Window weirdness after changing constraint value in sketcher
2016-03-11 13:33:23 +01:00
Mateusz Skowroński
7d0e892d36
Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
...
158f39ec78
This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
wmayer
dd2b39ddd6
+ fixes #0002075 : Analysis of FreeCAD by PVS-Studio static analyzer
2015-05-01 16:56:31 +02:00
Stefan Tröger
72cab0c002
Adaption of FreeCAD to QuarterWidget
...
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer interface
2014-09-23 10:11:11 +02:00
wmayer
7430d7d11b
+ fixes #0001309 : Revise Mouse Dialog Edit->Preferences->Display->CAD Navigation->[Mouse]
2014-03-09 15:36:33 +01:00
wmayer
dd7e011726
+ fix doc string of CAD style
2013-11-11 09:27:00 +01:00
wmayer
0361730d98
+ do not reset viewing mode when animating 3d view
2013-07-01 12:50:00 +02:00
wmayer
97b6128dcd
0000911: V0.13- Faces of Solid models cannot be selected when ALT-TAB is used to switch between applications
2012-12-27 12:29:44 +01:00
wmayer
b288826d61
Fox typo
2012-12-20 23:25:15 +01:00
jriegel
b9584f2c9a
setting defaults for zoom invert and zoom step for Werners fix of #894
...
- inverse is now default
- 0.2 is zoom step default
expecting lots of flaming :)
2012-12-20 19:49:17 +01: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
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
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
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
5d17586dcd
+ do not call seekToPoint() but directly panToCenter() for middle-clicks
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5087 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-03 12:23:33 +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