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
wmayer
b25dee58d5
Coverity: Uninitialized scalar/pointer field
2020-07-20 17:34:30 +02:00
wmayer
1a8df1ab03
Gui: [skip ci] in Gesture style handle release instead of press events for the keys: H, PgUp, PgDown
...
For more details see: https://forum.freecadweb.org/viewtopic.php?f=8&t=42408&start=10#p361248
2020-01-17 15:06:17 +01:00
wmayer
378de3c8a1
fix -Wcatch-value=, fix -Wpedantic
2019-09-18 14:36:23 +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
DeepSOIC
348160d4ea
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
5a4373a3c4
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
6d7400f0e2
Revert "Gui: GestureNavigationStyle: remove logging"
...
This reverts commit 24e45023aa .
2019-05-27 19:37:04 +03:00
luz.paz
11f4f30a37
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
96ee6fb502
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
24e45023aa
Gui: GestureNavigationStyle: remove logging
2019-05-14 15:35:50 +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
luz.paz
e1446a0b99
[WIP] Crowdin: fixes pre-0.18 release
...
Includes some whitespace fixes as well
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
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
DeepSOIC
2cb1bad660
GestureNavigationStyle: fix interaction with SoClipPlaneManip
2018-09-11 00:38:06 +03:00
luz.paz
505488c4f9
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
wmayer
127895695c
fixes #0003394 : Crash on gesture rotation with focus
2018-03-30 15:24:57 +02:00
Mateusz Skowroński
23cdde88e0
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
b24a9c9ad4
Misc. typos
...
- Tooltip uniformity
- source comment typo fixes
- remove double whitespaces
2017-11-24 09:45:08 -02:00
DeepSOIC
6e39a78721
Gui: GestureNav: disable rotation when over a dragger
2017-05-06 12:48:26 +03:00
DeepSOIC
2d614154a4
Gui: GestureNav: fix constant hand cursor
2017-05-06 02:15:45 +03: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
cb16fec6bb
+ fix various warnings
2015-08-29 22:05:09 +02:00
wwmayer
e7441149f0
+ fix many minor warnings, activate -Wall for gcc
2015-08-02 22:32:18 +02:00
DeepSOIC
694b0339fd
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
8ba5f73c1a
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
8e0110a18e
+ fix various things
2015-03-31 23:08:12 +02:00
DeepSOIC
4f5747ebef
New navigation style: GestureNavigationStyle
2015-03-31 21:49:01 +02:00