Commit Graph

83 Commits

Author SHA1 Message Date
wmayer
c9923ab153 Gui: [skip ci] Revert workaround to avoid to handle wheel events twice inside the 3d view
This workaround caused a regression with Qt 5.15. For more details see: https://forum.freecadweb.org/viewtopic.php?f=3&t=50231
2020-11-03 14:50:06 +01:00
luz paz
9f74b422a9 Fix various typos [skip-ci] 2020-10-24 12:25:46 +02:00
wmayer
38fcf770ab Qt5: fix build failure with Qt 5.15 2020-10-18 16:17:48 +02:00
wmayer
34f4b712d8 Qt5: fix deprecation warnings of QWheelEvent in Qt 5.15 2020-10-18 14:45:31 +02:00
vejmarie
81af54e410 Big update to remove deprecation warning from Qt 5.15.0
That is need on MacOS build as travis log is bigger than 50k lines
which breaks travis rules
And by the way deprecations are real
All file contains the same modification replace 0 to Qt::WindowFlags() when needed
as the class needs to be instantiated

Signed-off-by: vejmarie <jmverdun3@gmail.com>
2020-09-24 12:56:43 +02:00
Oscar Rainford
8fe0d19ebe Include Inventor/SbByteBuffer.h in QuarterWidget.cpp to allow compilation with latest Coin3D library. 2020-09-22 14:05:01 +02:00
DeepSOIC
68848ea9f8 Gui: implement SoMouseWheelEvent
and sythesize it instead of fake buttons 4 and 5
2020-08-22 17:15:02 +02:00
Zheng, Lei
58dc5c6d7f Gui: fix 'Recursive repaint' warning when switching 3D views 2020-05-06 12:14:00 +02:00
wmayer
dbb095a47c Gui: [skip ci] disable workaround to avoid handling an event twice because it leads to a regression on macOS 2020-04-03 15:11:24 +02:00
wmayer
5324540d8b Gui: [skip ci] avoid that 3D view handles a single wheel scroll event twice 2020-04-02 14:02:03 +02:00
wmayer
b1189aef6e Gui: override QOpenGLWidget::paintGL() in sub-class [skip ci] 2020-01-08 13:28:50 +01:00
wmayer
3c3e946f75 [skip ci] issue #0004164, issue #0004237: macOS crash when opening project from 'Recent files' 2020-01-03 16:14:55 +01:00
luz.paz
f11783a498 src/Gui: [skip ci] fix header uniformity
This PR fixes header uniformity across all `src/Gui` files
2019-12-25 11:39:17 +01:00
wmayer
a2b1fd29f8 fix possible segfault in SoQTQuarterAdaptor::convertOrtho2Perspective 2019-09-19 17:54:42 +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
Zheng, Lei
c744157e9a Gui: add support of selection context
The patch implements context-aware selection and rendering in 3D view.

Please check [here](https://git.io/fjiY5) for more details, including
the following 'Render Caching' section.

The patch also includes modification of View3DInventorViewer to support
always-on-top selection rendering using the secondary selection context
and the new coin node SoFCPathAnnotation.

Another small change in SoQtQuarterAdaptor for more responsive frame
rate display. The original implementation reports skewed frame rate
in the presence of long idle period.
2019-08-17 14:52:10 +02:00
Torsten Sadowski
edb213844e Not used for SpaceNavigator devices, no change necessary 2019-03-17 10:15:16 +01:00
Torsten Sadowski
b7fbbd97be X11 independant implementation for USB SpaceNavigator, works with Wayland 2019-03-17 09:59:58 +01:00
wmayer
83545717d2 PVS: fix several issues 2019-03-12 22:38:22 +01:00
wmayer
b4d2b9def5 fix build failure on Ubuntu Bionic 2019-02-13 10:46:55 +01:00
wmayer
fb37201299 fix build failures with newer compiler versions 2019-02-12 13:10:49 +01:00
wmayer
b7f7c16e6c fix header include 2018-10-04 16:49:04 +02:00
wmayer
6b9a3bf93c fix possible crash in Quarter viewer 2018-07-25 19:50:25 +02:00
wmayer
d15c7d0673 + option to disable navi cube
+ handle destruction of GL context in 3d viewer class
+ fix for OpenGL error message: 'Texture is not valid in the current context. Texture has not been destroyed'
2018-05-26 15:33:45 +02:00
luz.paz
77c1fc59e4 Doxy typos 2018-02-23 11:52:31 -03:00
Unknown
a8ecffb652 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
676b17969e make the fps counter more stable 2017-10-13 00:13:19 +02:00
luzpaz
ab8f8919b6 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
wmayer
01f7894b2b fix build failure on Windows due to conflicting define with Win32 API 2017-09-20 15:58:09 +02:00
Mateusz Skowroński
0a375d8267 Fix some more Quarter High DPI Display issues. Partially fixes #3130 (the offset issue).
Related to issue #2968.

Ported from code by Randall O'Reilly.
https://grey.colorado.edu/svn/coin3d/quarter/trunk/
2017-09-20 14:37:22 +02:00
wmayer
d02a34c03b Qt5 port: workaround to keep multi-sampling when undocking mdi window 2017-05-01 18:53:58 +02:00
wmayer
2ec2ea5ac0 Qt5OpenGL: fix flickering on resize 2017-03-21 20:37:03 +01:00
wmayer
0568209a52 Qt5OpenGL: add OpenGL debug logger (deactivated) 2017-03-21 20:37:03 +01:00
wmayer
3ac834c734 Qt5OpenGL: use OpenGL debug logger to locate problems, fix a couple of errors 2017-03-21 20:37:03 +01:00
wmayer
b0cd0a5163 Qt5OpenGL: release context when finished 2017-03-21 20:37:03 +01:00
wmayer
f587ec5b29 disabling depth test makes 3d viewer work again 2017-03-21 20:37:03 +01:00
wmayer
a1dd462de9 move QuarterWidget to QOpenGLWidget 2017-03-21 20:37:03 +01:00
wmayer
45bf8ed91e fix -Wunused-private-field, -Woverloaded-virtual 2017-03-05 10:10:53 +01:00
Kunda
19f8fd4c10 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
hgutsche
6226d2bc9e Improved comment about Quarter doxygen commands 2017-02-28 18:52:04 +01:00
hgutsche
de8f66f857 Some fixes for doygen syntax errors and some configuration to make it run smoother under Windows 2017-02-28 18:52:04 +01:00
Mateusz Skowroński
7e42975556 Fix more GCC warnings. 2017-02-18 09:35:31 +01:00
Mateusz Skowroński
49a8705b1d Fix some Quarter High DPI Display issues. Ported from code by Randall O'Reilly.
https://grey.colorado.edu/svn/coin3d/quarter/trunk/
2017-02-15 22:16:46 +01:00
Mateusz Skowroński
9b07616fe6 * Cosmetic change. Replace Qt keyword emit with Q_EMIT.
* Whitespace fixes.
2017-01-05 22:57:30 +01:00
wmayer
96dc57c068 replace Qt keyword slots with Q_SLOTS 2017-01-05 14:27:19 +01:00
wmayer
c3401f89f0 workaround for performance problem with Qt 5.5.x 2016-12-28 10:32:22 +01:00
wmayer
57e71e5d55 port C++ code to Qt5 2016-12-13 14:22:59 +01:00
wmayer
f19d424d8b fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
wmayer
9ad302526b remove superfluous semicolons 2016-08-14 17:10:49 +02:00
DeepSOIC
93d5cf3f98 Gui: Selection: pick radius support 2016-08-10 18:46:45 +02:00