Uwe
1d95c26e2e
[Gui] remove more superfluous nullptr checks
2022-07-18 03:34:22 +02:00
wmayer
d5921e08ec
fix (Qt) issues found by clang's clazy tool:
...
+ -Wclazy-incorrect-emit
+ -Wclazy-strict-iterators
+ -Wclazy-overloaded-signal
+ -Wclazy-qstring-arg
+ -Wclazy-unused-non-trivial-variable
+ -Wclazy-container-anti-pattern
+ -Wclazy-range-loop-reference
+ -Wclazy-const-signal-or-slot
+ -Wclazy-detaching-temporary
+ -Wclazy-qfileinfo-exists
2022-06-29 21:00:54 +02:00
wmayer
e9890c0798
Gui/Mod: replace several reinterpret_cast with static_cast
2022-06-25 11:36:55 +02:00
Chris Hennes
bedf920702
Gui: PR6497 move return statement to new line
2022-03-29 12:33:50 -05:00
wmayer
96adb98f46
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
10380abd95
[Gui] Manual alignment etc.: remove unused includes
2022-03-02 04:22:48 +01:00
wmayer
daf1269497
Gui: remove support of using deprecated Qt OpenGL API
2022-01-26 14:46:41 +01:00
luz paz
74ab516494
Gui: Issue #0004473 : Expose openCommand() to translation
...
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the src/Gui code.
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
luz paz
298c677873
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01: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
wmayer
f3b460e42e
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
1ee3d79d7c
Qt5: 'int QFontMetrics::width' is deprecated since Qt 5.11: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
4ec45b545e
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
wmayer
fbd51918ff
Gui: [skip ci] add method to get bounding boxes of the fixed and movable groups of manual alignment
2020-01-17 23:00:26 +01:00
Zheng, Lei
c8891be856
Gui: add coinRemoveAllChildren to work around Coin3D bug
...
See bug description:
https://bitbucket.org/Coin3D/coin/pull-requests/119/fix-sochildlist-auditing/diff
Because of path based rendering (SoFCPathAnnotation) in mouse over
highlight, this bug causes crash more frequently here comparing to
upstream.
All C++ calling of SoGroup::removeAllChildren() is replaced by
Gui::coinRemoveAllChildren(), and python code is fixed by monkey
patching SoGroup.removeAllChildren() in FreeCADGuiInit.py.
2019-08-17 14:52:11 +02:00
wmayer
f898eafd64
move from deprecated boost.signals to boost.signals2 library
2018-10-30 19:09:03 +01:00
wmayer
6c51cdd663
minor changes
2018-07-25 21:49:21 +02:00
Unknown
c8c9b76f43
Misc. typos
2017-12-06 20:59:55 +01:00
wmayer
3b957a12b5
various minor changes:
...
+ whitespace improvement
+ code cleanup
2017-11-21 17:51:22 +01:00
wmayer
39e4020bdf
Various fixes:
...
+ disable VBO rendering in split views
+ activate multi-sampling in split view for manual alignment
+ share GL widget in case a document has multiple views to make VBO rendering work correctly
2017-09-23 11:14:41 +02:00
wmayer
1673ab801e
use specialized exception classes
2017-04-28 18:49:11 +02:00
wmayer
a1dd462de9
move QuarterWidget to QOpenGLWidget
2017-03-21 20:37:03 +01:00
wmayer
f19d424d8b
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +02:00
wmayer
330df84419
+ for picking of alignment save point plus normal
2016-04-29 17:56:46 +02:00
wmayer
3af29639c6
+ various minor fixes, whitespaces improvements
2016-03-23 23:28:56 +01:00
wmayer
e6f0346521
+ make method ManualAlignment::setViewingDirections more reliable
2016-03-17 14:11:03 +01:00
wmayer
c30031f3d2
+ fix possible problems with roundoff errors of SbRotation
2016-02-06 18:51:22 +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
Mateusz Skowroński
3b463f2138
Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
58b54aa729
+ code cleanup: remove NO_USE_QT_MDI_AREA
2015-05-01 23:27:20 +02:00
wmayer
ab66d0a45f
+ fix more Quarter port issues
2014-10-19 17:49:31 +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
wmayer
cc775f9254
+ fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized
2014-08-26 19:14:13 +02:00
wmayer
1333cb8734
+ Get exact point on data model when picking in 3d view
2013-11-21 12:50:49 +01:00
wmayer
7bbe64f586
Fix gcc build failure
2013-05-02 18:07:06 +02:00
wmayer
7c3e6fa50f
0001064: Crash occurs in version 0.13 when trying to use alignment tool
2013-03-30 14:46:51 +01:00
wmayer
d51ff466d1
Fix crash with alignment tool when using Arch walls
2012-12-19 12:09:42 +01:00
logari81
85585cf49e
PartDesign: Enable manual alignment tool for PartDesign features
2012-12-10 13:58:44 +01:00
wmayer
58da2ebbcc
0000665: Follow up 0000640: This file crashes FreeCAD UI latest Git
2012-10-01 13:58:40 +02:00
wmayer
734dd0a386
Open transaction before applying transformation
2012-04-03 15:17:23 +02:00
wmayer
0f6d6d4b37
Implement manual alignment utility
2012-03-26 15:54:13 +02:00