wmayer
a7d9b3ddcc
Gui: [skip ci] support of bitmasks for enum RotationCenterMode
2020-11-29 11:43:51 +01:00
wmayer
c71ea4a493
Gui: [skip ci] in user settings offer combo box to choose between rotation modes
2020-11-28 22:12:25 +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
559d905324
Gui: add SoTimerSensor.h to PCH
2020-09-04 10:36:13 +02: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
wmayer
e9ce75d544
LGTM: [skip ci] fix: Empty branch of conditional
...
An empty block after a conditional can be a sign of an omission and can decrease maintainability of the code.
Such blocks should contain an explanatory comment to aid future maintainers.
2020-07-26 15:49:14 +02:00
wmayer
9fa56345cf
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
b2a5f47e44
PVS: V560 A part of conditional expression is always true
2019-02-17 13:56:48 +01:00
wmayer
644cfa06bb
replace boolean to check for inside/outside cutting with enum values
2018-09-18 18:25:51 +02:00
wmayer
c3f945a287
fix -Wimplicit-fallthrough
2018-08-19 12:35:57 +02:00
wmayer
013e8108c0
add option to drag at cursor instead of view center
2018-07-25 22:36:35 +02:00
wmayer
0260370b65
+ add option to switch off precompiled header
2018-07-25 20:17:11 +02:00
wmayer
4d63e9a4c4
various minor changes:
...
+ whitespace improvement
+ code cleanup
2017-11-21 17:51:22 +01:00
Kunda
de2392eb18
source typo fixes pt5
...
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
wmayer
2af6bb6e49
replace deprecated auto_ptr with unique_ptr
2016-09-22 13:01:20 +02:00
wmayer
1e6dcabefc
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +02:00
wmayer
e2398b4b06
fix Coverity issues
2016-08-21 14:03:02 +02:00
DeepSOIC
8415bc32b6
Gui: Selection: pick radius support
2016-08-10 18:46:45 +02:00
wmayer
af677a57f7
+ fix possible crash inside NavigationStyleP::viewAnimationCB if viewer has no camera node
2016-07-14 17:14:10 +02:00
wmayer
b82b386a7a
+ various minor fixes, whitespaces improvements
2016-03-23 23:28:56 +01:00
wmayer
111ebaf6be
+ allow to get user friendly names for navigation styles
2016-03-10 18:37:48 +01:00
Yorik van Havre
9e1ec2ac31
Turned Zoom At Cursor option True by default - fixes #2371
2016-02-26 13:51:39 -03:00
Mateusz Skowroński
6942c23895
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
Mateusz Skowroński
c275b35d48
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Alexander Golubev
9aca1e3b36
Gui & Mod/Sketcher: use fabs() instead abs()
...
Warnings was like:
src/Mod/Sketcher/Gui/DrawSketchHandler.cpp|350 col 28| warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
Also see:
http://forum.freecadweb.org/viewtopic.php?t=10920
http://forum.freecadweb.org/viewtopic.php?f=10&t=5258
2015-08-29 18:35:54 +02:00
DeepSOIC
29a8db3ca5
Navigation: fix unable to deselect after editing a sketch
...
After editing a sketch, it was impossible to deselect the just-edited
sketch by clicking empty space (gesture navigation).
2015-06-24 17:27:07 +02:00
wmayer
697dd741d4
+ fix various things
2015-03-31 23:08:12 +02:00
DeepSOIC
499fffcb7e
New navigation style: GestureNavigationStyle
2015-03-31 21:49:01 +02:00
wmayer
643c0f14d3
+ fixes #0000957 : Sketch view problem when go to edit
2014-12-27 17:50:37 +01:00
Stefan Tröger
cccfe3d554
Adopt mouse selection to quarter widget
...
Quarter Widget soes not allow to switch of multisampling on the fly, therefore we need to use glgraphicsitem instead of direct opengl xor rendering for mouse selection
2014-09-23 10:11:11 +02:00
Stefan Tröger
512a2b94d2
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
Ian Rees
b48d1776d4
Bugs in mouse panning when viewport is "portrait" orientation
2014-07-29 12:58:39 +02:00
wmayer
e6b5261cf0
Call releaseMouseModel() in stopSelection() of navigation style
2013-07-03 15:04:47 +02:00
wmayer
b737eeb52d
Use rubberband for box selection
2013-07-02 10:04:33 +02:00
wmayer
3f23dbb671
Implement drag-at-cursor
2013-05-14 14:53:13 +02:00
jriegel
6e8828fc43
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
13443b0904
0000894: Invert mouse Zoom for CAD mouse model
2012-11-29 14:35:42 +01: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
0a3d3f7489
0000595: Turntable rotation inverted
2012-02-28 18:22:40 +01:00
wmayer
463652407a
0000607: Holding down middle mouse button (wheel) will zoom out without scrolling
2012-02-24 11:07:41 +01:00
wmayer
c21ac1b6b0
Extend application branding
2012-02-23 20:25:33 +01:00
Yorik van Havre
843806f250
Fixed typo
2012-02-21 17:53:46 -02:00