Commit Graph

29669 Commits

Author SHA1 Message Date
Yorik van Havre
27eb4fdf80 Merge pull request #7786 from Roy-043/Draft-housekeeping-rename-snap-icons
Draft: housekeeping: rename snap icons
2022-11-16 09:58:47 +01:00
wmayer
77bae9c9a0 TD: fix memory leaks with raw pointers of GeometryObject
Replacing the use of raw pointers of GeometryObject with shared pointers fixes the observed memory leaks when running the unit tests of TechDraw
2022-11-15 16:16:08 -05:00
luz paz
2f1ff7928b Part: remove trailing whitespace 2022-11-15 14:19:30 -06:00
luz paz
2d94a99740 TechDraw: remove trailing whitespace 2022-11-15 16:17:22 +01:00
luz paz
be783892bb MeshPart: remove trailing whitespace 2022-11-15 12:45:52 +01:00
wmayer
c5522245fa App: fix memory leak and consistently use Py::asObject() in DocumentObserverPython 2022-11-15 11:04:41 +01:00
wmayer
ea1d29230e Gui: [skip ci] consistently use Py::asObject() in DocumentObserverPython 2022-11-15 11:04:07 +01:00
luz paz
c174e063f3 Mesh: remove trailing whitespace 2022-11-14 21:37:03 -06:00
wandererfan
356faf94da [TD]prevent Complex Section with no Base View 2022-11-14 19:41:12 -05:00
wandererfan
33bee19d81 [TD]add section line marks for simple section 2022-11-14 19:41:12 -05:00
marioalexis
232b27517c TechDraw: Improve and clean up code in some Python classes 2022-11-14 16:40:07 -05:00
wandererfan
1349a7120a [TD]fix handling of multiple pages
- the routines for retrieving a view's parent page
  did not correctly deal with duplicate page entries
2022-11-14 16:38:27 -05:00
wandererfan
694aefc197 [Measurement]apply globalPlacement to geometry 2022-11-14 16:38:06 -05:00
wmayer
ecd9b0136d Test: [skip ci] add method clear() to document observers 2022-11-14 19:53:35 +01:00
wmayer
3f2fe95308 App: [skip ci] fix memory leak 2022-11-14 19:42:33 +01:00
Paddle
d6934c0ecd Sketcher: Coincidence constraint: fix error introduced by concentric capability. 2022-11-14 17:39:09 +01:00
wmayer
45bb0289b0 App: implement option to set config key 2022-11-13 19:54:30 +01:00
wmayer
aa0465e162 Gui: fix some clang-tidy warnings:
* modernize-return-braced-init-list
* modernize-use-equals-default
* modernize-loop-convert
* readability-implicit-bool-conversion
* readability-named-parameter
2022-11-13 18:43:39 +01:00
wmayer
90ddd187f5 Gui: fix some clang-tidy warnings:
* readability-braces-around-statements
2022-11-13 17:42:08 +01:00
wmayer
25ee791786 Gui: [skip ci] fix some clang-tidy warnings:
* cppcoreguidelines-non-private-member-variables-in-classes
2022-11-13 17:16:03 +01:00
wmayer
e0bf6d48d5 Gui: [skip ci] fix some clang-tidy warnings:
* cppcoreguidelines-special-member-functions
* cppcoreguidelines-explicit-virtual-functions
* readability-inconsistent-declaration-parameter-name
2022-11-13 16:35:11 +01:00
wmayer
b2f784f1f5 Gui: fix clazy warnings:
* Wclazy-connect-by-name
* Wclazy-connect-3arg-lambda
2022-11-13 16:08:46 +01:00
wmayer
3335f03f3b Sketcher: fix clazy warnings:
* Wclazy-connect-by-name
* Wclazy-unused-non-trivial-variable
* Wclazy-detaching-temporary
2022-11-13 15:39:27 +01:00
Paddle
cf383d709d Sketcher: Fix element widget repaint delay bug
Related to https://github.com/FreeCAD/FreeCAD/pull/7567#issuecomment-1304724547
2022-11-13 07:13:06 +01:00
wmayer
7f104b077b Gui: fix readability-identifier-length 2022-11-12 23:57:14 +01:00
wmayer
e470bdc018 Gui: replace old-style with new-style connect 2022-11-12 21:57:26 +01:00
wmayer
a2a285b7c9 Gui: improve usability of QuantitySpinBox when used as menu item 2022-11-12 18:24:27 +01:00
wandererfan
4774c432c5 [TD]apply review comments from @chennes
- also delete empty execute method
2022-11-12 11:35:22 -05:00
wandererfan
edf7d93188 [TD]simplify section hatch file handling 2022-11-12 11:35:22 -05:00
wandererfan
ecac894248 [TD]simplify embedded image handling 2022-11-12 11:35:22 -05:00
wandererfan
7e59f3ea30 [TD]simplify embedded file handling 2022-11-12 11:35:22 -05:00
wandererfan
a2976bcfbc [TD]simplify embedded hatch file handling 2022-11-12 11:35:22 -05:00
wandererfan
1cf51ec1c3 [TD]fix embedded template file handling 2022-11-12 11:35:22 -05:00
Chris Hennes
74d85eeeaa Addon Manager: Refactor to extract metadata checker 2022-11-11 21:50:16 -06:00
wandererfan
0bf5d67906 [TD]fix vertical alignment of section pieces 2022-11-11 19:37:42 -05:00
wmayer
3eaad09ed1 Gui: implement WorkbenchSwitcher class to encapsulate the parameter details 2022-11-11 22:53:02 +01:00
wmayer
e6a8533fa8 Gui: simplify code to handle workbench selector
+ replace three boolean parameters with a single string parameter
+ refactor DlgGeneralImp::saveSettings/loadSettings
+ handle visibility of corner widgets
2022-11-11 22:53:02 +01:00
wmayer
2e1feaa78e Gui: [skip ci] fix several warnings reported by GH actions 2022-11-11 22:53:02 +01:00
wmayer
5bf7199804 Gui: replace old-style connect() with new-style 2022-11-11 22:53:02 +01:00
Roy-043
6261854a50 Draft: housekeeping: rename snap icons 2022-11-11 17:33:09 +01:00
wandererfan
101a25185a [TD]Section dialog gui tweaks 2022-11-11 08:53:29 -05:00
Uwe
1191a19de4 [Mesh] Feature*: remove unused includes
- also some sorting
2022-11-11 14:02:49 +01:00
wmayer
bc3c81e138 Gui: fix warnings reported by GH Actions:
* Fix trailing spaces
* Replace tabs
* Mark constructors with one argument explicit
* Fix typos
* Include FCGlobal.h to fix parsing errors
2022-11-11 09:56:43 +01:00
vernzimm
1c6aa45fd6 Gui: Add default JPEG save quality (#7737)
* Update SoFCOffscreenRenderer.cpp

Set jpg screenshot capture to 100% quality vs qimage defaulting to -1

* Add default quality to JPG export

Fixed original version and use quality 90% as compromise between file size and fidelity.
2022-11-10 22:49:28 -06:00
Uwe
7a26e69405 [skip ci] [Gui] NaviCube: fix warning about too short variable name
- also some whitespace unification
2022-11-11 05:16:18 +01:00
Uwe
4bade5d96b [Gui] NaviCube: fix rotation to backside
- when pressing the "dot" besides the NaviCube, the rotation to the backside was not in the center thus the view jumped
2022-11-11 04:58:20 +01:00
Chris Hennes
2ff8d5b1a4 Addon Manager: Ensure check message closes 2022-11-10 21:35:46 -06:00
Chris Hennes
74a8d3deec Addon Manager: Refactor to extract connection check GUI 2022-11-10 21:09:47 -06:00
Uwe
633279663d [Path] PathSimulator: remove unused includes
- also some sorting
2022-11-11 04:04:33 +01:00
Uwe
356ae47332 [Mesh] Imp* - end: remove unused includes
- also some sorting
2022-11-11 03:34:31 +01:00