Commit Graph

26 Commits

Author SHA1 Message Date
wmayer
5746c37b7e fix -Wcatch-value=, fix -Wpedantic 2019-09-18 14:36:23 +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
DeepSOIC
65e5adac42 Gui: Gesture: stop reacting to gestures on Macs
Gesture event processing causes problems on macs. Disabling for now.

https://forum.freecadweb.org/viewtopic.php?f=9&t=36387&start=10#p314575
2019-07-14 00:13:27 +02:00
DeepSOIC
dd25a37b0f Gui: GestureNavigationStyle: logging option
To enable logging, execute:

App.ParamGet("User parameter:BaseApp/Preferences/View").SetBool("NavigationDebug",True)
2019-05-27 19:37:04 +03:00
DeepSOIC
5e63edde31 Revert "Gui: GestureNavigationStyle: remove logging"
This reverts commit 27d1bbfd3de5cf99324262cdc12ce148fe60a64d.
2019-05-27 19:37:04 +03:00
luz.paz
92bf2228d9 Misc. typo fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller -L pard,wallthickness,commen,byteorder,alocation`
2019-05-17 13:19:36 +02:00
DeepSOIC
3a22758051 Fix build with boost 1.65.1 on ubuntu 18.04
reported to me privately by @fjullien
2019-05-15 13:10:52 +03:00
DeepSOIC
a0aa8ace52 Gui: GestureNavigationStyle: remove logging 2019-05-14 15:35:50 +02:00
DeepSOIC
fd9630c4a0 Gui: GestureNavigationStyle rewrite
to better work on Qt5
+ new (dormant) feature: button roll gestures
2019-05-14 15:35:50 +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
DeepSOIC
47ae980fa2 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
DeepSOIC
dadf0e80a9 GestureNavigationStyle: fix interaction with SoClipPlaneManip 2018-09-11 00:38:06 +03: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
luzpaz
a225b13bef Misc. typos
- Tooltip uniformity 
- source comment typo fixes
- remove double whitespaces
2017-11-24 09:45:08 -02:00
DeepSOIC
7cf1cfb63e Gui: GestureNav: disable rotation when over a dragger 2017-05-06 12:48:26 +03:00
DeepSOIC
e1c68e59a6 Gui: GestureNav: fix constant hand cursor 2017-05-06 02:15:45 +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
4a176cbe29 + fix various warnings 2015-08-29 22:05:09 +02:00
wwmayer
6bf065c097 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
DeepSOIC
3baafccb60 GestureNav: bug fix (tilting) + kill messagebox
Fixed a bug where starting tilting with LMB+RMB with LMB in sketcher
caused odd behavior.
No more messagebox upon hitting H key when the cursor is over nothing
(replaced with a warning). The messagebox was very annoying when trying
to hunt a point with touch input.
2015-04-07 00:57:24 +03:00
DeepSOIC
3d2e364317 GestureNav: bug fix (gesture lockup in sketcher)
Navigation by gestures didn't work after double-clicking a constraint in
sketcher to edit a value. This was probably caused by the last mouse
button release event not reaching the viewer.
2015-04-07 00:57:23 +03: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