Commit Graph

28 Commits

Author SHA1 Message Date
Bas Ruigrok
13573d3904 Gui: Fix rotation mode for MayaGesture style 2024-06-04 21:57:15 +02:00
Bas Ruigrok
98320cc839 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
Rexbas
7fbd53f003 Gui: Prohibit interrupting a rubber-band selection in sketcher 2024-01-24 21:02:25 +01:00
Rexbas
f1fde08b3b Gui: Fix rotation center indicator for Gesture styles 2023-10-09 22:30:05 +02:00
wmayer
888a33917d Gui: modernize C++: use equals default 2023-08-20 18:12:43 +02:00
berniev
ae53c9b0a4 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
Chris Hennes
5df3dbae6f Gui: PR6497 move return statement to new line 2022-03-29 12:33:50 -05:00
andrea reale
83d3a916c0 remove QT4 references 2022-03-19 23:07:38 +01:00
Uwe
efa589c7c5 [Gui] Navigation styles: remove unused includes 2022-03-03 02:25:21 +01:00
wmayer
3ba49908d4 Mouse navigation: change unnecesary messages to log messages 2021-12-31 19:09:15 +01:00
Adrian
7f0bc597a5 Mouse navigation: change unnecesary warnings to messages
sent when trying to set rotation center without an object under the cursor and can be annoying if report view is set to show with warnings.
2021-12-30 15:46:38 +01:00
wmayer
f664c02b92 Gui: [skip ci] in MayaGestureNavigationStyle rename mousedownConsumedEvent to mousedownConsumedEvents 2021-11-05 14:00:09 +01:00
wmayer
4c1ddafb15 Gui: [skip ci] add method NavigationStyle::syncModifierKeys() to reduce code duplication 2021-11-02 14:52:22 +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
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
luz.paz
c2827611be [Crowdin] string fix + misc. typo and whitespace fixes
* Crowdin link: https://crowdin.com/translate/freecad/6766/en-hu#6576162  
* Tacked on a few typo+whitespace fixes
2019-06-20 18:42:09 +02:00
luz.paz
2ce03a55c6 [WIP] Crowdin: fixes pre-0.18 release
Includes some whitespace fixes as well
2019-01-30 11:08:03 -02:00
Mateusz Skowroński
ec7d24e035 Fix GCC 8 warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 2018-12-23 11:05:02 -02:00
luz.paz
9167064fc1 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
wmayer
b502d764fd fixes #0003394: Crash on gesture rotation with focus 2018-03-30 15:24:57 +02:00
Mateusz Skowroński
dee8769d0e Fix some GCC 7 warnings:
* dynamic exception specifications are deprecated [-Wdeprecated]
* this statement may fall through [-Wimplicit-fallthrough=]
2017-12-05 17:22:00 +01:00
Kunda
5aefa825b1 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -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
wmayer
7e8d4ccf13 + fix gcc warnings 2015-09-27 11:25:39 +02:00
Pablo Gil
1e3b9fbb8a + improved comments 2015-07-19 11:27:20 +02:00
Pablo Gil
d449f383f0 + Maya navigation style 2015-07-18 19:33:05 +02:00