Commit Graph

32 Commits

Author SHA1 Message Date
wmayer
41503d63eb Gui: replace SbBool with bool in View3DInventorViewer 2023-10-25 19:40:59 +02:00
wmayer
8e60e1c1a6 Gui: fix lint warnings in SoQTQuarterAdaptor 2023-10-25 19:40:59 +02:00
wmayer
54bb9c9c62 Gui: modernize C++: return braced init list 2023-08-18 00:36:24 +02:00
wmayer
3b0b7775f4 Fix several clazy issues:
* Q_PROPERTY should have either NOTIFY or CONSTANT [-Wclazy-qproperty-without-notify]
* Use Q_ENUM instead of Q_ENUMS [-Wclazy-qenums]
* Add missing a Q_OBJECT macro [-Wclazy-missing-qobject-macro]
* Signal/Slot arguments need to be fully-qualified [-Wclazy-fully-qualified-moc-types]
2022-07-24 19:03:30 +02:00
Uwe
316a869b26 [Gui] remove superfluous nullptr checks 2022-07-18 03:17:42 +02:00
wmayer
e53e231677 Gui: remove some superfluous const_cast 2022-06-24 14:48:52 +02:00
Uwe
9654786c67 [Gui] Quarter: remove unused includes 2022-03-09 01:12:15 +01:00
Uwe
f9b2489ae2 [Gui] Quarter: remove few unused includes
- mainly sorting
2022-03-06 21:47:17 +01:00
wmayer
4a1c1c7004 C++11: modernize use nullptr (replaces NULL or 0) 2021-11-05 18:16:19 +01:00
wmayer
a2b1fd29f8 fix possible segfault in SoQTQuarterAdaptor::convertOrtho2Perspective 2019-09-19 17:54:42 +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
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
6b9a3bf93c fix possible crash in Quarter viewer 2018-07-25 19:50:25 +02: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
wmayer
a1dd462de9 move QuarterWidget to QOpenGLWidget 2017-03-21 20:37:03 +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
DeepSOIC
93d5cf3f98 Gui: Selection: pick radius support 2016-08-10 18:46:45 +02:00
wmayer
f7322989df + add convenience methods to SoQTQuarterAdaptor 2016-04-04 12:53:06 +02:00
wmayer
a4f0f5c129 + fix crash when viewer has no camera 2016-04-04 12:48:58 +02:00
Eivind Kvedalen
f27fa2ac9b SIM::Coin3D::Quarter::SoQTQuarterAdaptor: Added missing initializationg of member field m_viewingflag. 2016-03-08 16:09:25 +01: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
78171d59fd + fixes #0001972: FreeCAD crashes when using keyboard shortcut H to constrain a line 2015-02-18 12:50:16 +01:00
wmayer
82ed56a3a9 + fix bug in SoQTQuarterAdaptor::processSoEvent 2014-11-06 19:14:14 +01:00
Stefan Tröger
69f4bbb2ef fixes #0001781: Reimplement arrow keys for 3d view
- including minor formating fixes
2014-11-06 18:56:51 +01:00
wmayer
032c893183 + fix warnings with clang 2014-09-24 17:46:04 +02:00
wmayer
c20e83e0d6 + set fix precision for FPS counter 2014-09-23 18:19:35 +02:00
Stefan Tröger
71e0793493 fix framerate rendering 2014-09-23 10:11:12 +02:00
Stefan Tröger
cc5c9f6031 ensure that the glwidget is returned 2014-09-23 10:11:12 +02:00
Stefan Tröger
ad1bfc32fb fix reported bugs
- compile on windows
- fix cursors
2014-09-23 10:11:12 +02:00
Stefan Tröger
72cab0c002 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