Ian Hunter
95d9e4483e
Fix bug preventing filtering named constraints ( #19339 )
...
* Fix bug preventing filtering named constraints
There was a bug (see issue #11843 ) that displayed a filter for Named
constraints in the Sketcher Workbench whose toggling did not affect the
UI in any way. This enables this feature by checking if a given
constraint has a custom name or not and then appropriately toggling its
visibility.
* Use `std::string::empty()` per reviewer suggestion
Co-authored-by: Benjamin Nauck <benjamin@nauck.se >
---------
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
Co-authored-by: Benjamin Nauck <benjamin@nauck.se >
2025-02-11 11:03:04 -06:00
Chris Hennes
9a555d0adf
Core: Update copyright date range to include 2025 ( #19520 )
...
* Main: Update copyright date range to include 2025
* GUI: Update copyright date range to include 2025
2025-02-11 10:59:12 -06:00
Chris Hennes
a3004c2c0a
Merge pull request #19142 from hyarion/refactor/add-template-addobject
...
Add new addObject<T>() function
2025-02-11 09:42:47 -06:00
Karliss
ea0105e966
Workaround for transparency problems on wayland.
...
Reset alpha channel value to 1 at the end of 3d rendering. The way Qt handles OpenGL widgets with transparent pixels in their final output is inconsistent.
2025-02-11 07:59:28 -06:00
Chris Hennes
201015fd70
Merge pull request #19502 from benj5378/QStringLiteral
...
Use QStringLiteral
2025-02-11 07:34:12 -06:00
Benjamin Bræstrup Sayoc
02c300669f
[TechDraw] Add ability to align points by rotating view
...
Fixes #7061
2025-02-10 19:31:39 -05:00
Chris Hennes
6ea90ba9af
Merge pull request #18594 from Flast/performance/base/find_element
...
Base: Improved FindElement performance by reducing call of transcode
2025-02-10 14:33:49 -06:00
Benjamin Nauck
4b63d65ffa
PD: Light refactoring of TaskFeaturePick::makeCopy
2025-02-10 18:35:38 +01:00
Benjamin Nauck
2107e60304
Mod: Use new GroupExtension::addObject<T>(...)
2025-02-10 18:35:38 +01:00
Benjamin Nauck
b99c1eae70
App: Add GroupExtension::addObject<T>(...)
2025-02-10 18:35:38 +01:00
Benjamin Nauck
edb4817872
Mod: Use new addObject<T>(...) that requires additional changes
2025-02-10 18:35:38 +01:00
Benjamin Nauck
265b58c034
Mod: Use new addObject<T>(...) using regex
2025-02-10 18:35:38 +01:00
Benjamin Bræstrup Sayoc
2eeb08ccb5
App: Use QStringLiteral
2025-02-10 18:34:58 +01:00
Benjamin Bræstrup Sayoc
8d2d0a47f4
Gui: Use QStringLiteral
2025-02-10 18:34:57 +01:00
Benjamin Bræstrup Sayoc
24ac19e261
Test: Use QStringLiteral
2025-02-10 18:34:57 +01:00
Benjamin Bræstrup Sayoc
e09698ee47
Surface: Use QStringLiteral
2025-02-10 18:34:57 +01:00
Benjamin Bræstrup Sayoc
017156ce44
Robot: Use QStringLiteral
2025-02-10 18:34:57 +01:00
Benjamin Bræstrup Sayoc
099c9b3404
ReverseEngineering: Use QStringLiteral
2025-02-10 18:34:57 +01:00
Benjamin Bræstrup Sayoc
500a52e7b8
Sandbox: Use QStringLiteral
2025-02-10 18:34:57 +01:00
Benjamin Bræstrup Sayoc
0b844f8137
Points: Use QStringLiteral
2025-02-10 18:34:57 +01:00
Benjamin Bræstrup Sayoc
240912e470
Spreadsheet: Use QStringLiteral
2025-02-10 18:34:57 +01:00
Benjamin Bræstrup Sayoc
e2f018ceeb
PartDesign: Use QStringLiteral
2025-02-10 18:34:57 +01:00
Benjamin Nauck
6d28a19a3e
App: Add Document::addObject<T>(...) to simplify code
2025-02-10 18:33:00 +01:00
Benjamin Nauck
a3703098f8
Base: Minor code cleanup in Type
2025-02-10 18:33:00 +01:00
Benjamin Nauck
ffe33a2c61
App: Add compile time checks for type system class name
...
Ensures:
* _class_ is based on BaseClass
* _class_ parameter includes a namespace
And when _class_ is a document object
* namespace is not global namespace
* namespace name is in path after /src/ or /src/Mod/
The document object requirements are needed to auto import modules when using addObject
2025-02-10 18:33:00 +01:00
Benjamin Nauck
f1ab1ee0ad
Mod: Fix mistakes in type system class names
2025-02-10 18:33:00 +01:00
Benjamin Nauck
37f94b7b46
App: Fix _class_ passing in PROPERTY_HEADER_WITH_EXTENSIONS
2025-02-10 18:32:59 +01:00
Benjamin Nauck
b51e83f252
Base: Add missing const to Type::createInstance
2025-02-10 18:32:59 +01:00
Benjamin Bræstrup Sayoc
3d1e49a888
Import: Use QStringLiteral
2025-02-10 18:32:45 +01:00
Benjamin Bræstrup Sayoc
b0b62f3f26
Measure: Use QStringLiteral
2025-02-10 18:32:45 +01:00
Benjamin Bræstrup Sayoc
4ed902e07f
Fem: Use QStringLiteral
2025-02-10 18:32:45 +01:00
Benjamin Bræstrup Sayoc
2ea8b4b635
MeshPart: Use QStringLiteral
2025-02-10 18:32:45 +01:00
Benjamin Bræstrup Sayoc
1c0774563d
Material: Use QStringLiteral
2025-02-10 18:32:45 +01:00
Benjamin Bræstrup Sayoc
e2baa03d24
Start: Use QStringLiteral
2025-02-10 18:32:45 +01:00
Benjamin Bræstrup Sayoc
a59ad914ba
Mesh: Use QStringLiteral
2025-02-10 18:32:45 +01:00
Benjamin Bræstrup Sayoc
93f571c9f1
CAM: Use QStringLiteral
2025-02-10 18:32:45 +01:00
Benjamin Bræstrup Sayoc
aa43ce8cc0
Sketcher: Use QStringLiteral
2025-02-10 18:32:45 +01:00
Benjamin Bræstrup Sayoc
fa31c7934a
Part: Use QStringLiteral
2025-02-10 18:32:44 +01:00
Benjamin Bræstrup Sayoc
9a8bdbaf9f
TechDraw: Use QStringLiteral
2025-02-10 18:32:44 +01:00
Chris Hennes
97b9b6de89
Merge pull request #17082 from benj5378/useTemplates
...
[TechDraw] Use templates
2025-02-10 11:17:26 -06:00
mosfet80
f0aa12497a
clean SketchObject.cpp ( #15728 )
...
* clean SketchObject.cpp
Code clean
small optimization
* Restore comment
---------
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2025-02-10 11:04:26 -06:00
Chris Hennes
c51ecd73b1
Merge pull request #18916 from AjinkyaDahale/sk-refactor-stage-3
...
[Sketcher] Round 3 of refactors
2025-02-10 11:01:55 -06:00
tritao
114723475c
App: Improve Document.copyObject Python API.
...
This updates the `Document.copyObject` Python API by allowing for
keyword arguments and aligning the documentation with the C++ API.
This can make the Python code more readable, by using the keywords form:
```python
document.copyObject(obj, recursive=True, return_all=False)
```
Previous keyword-less version tested and still working for backwards
compatibility.
2025-02-10 10:57:17 -06:00
Chris Hennes
5869fdb95f
Merge pull request #19420 from tritao/gui-selection-refactor
...
Gui: Selection code cleanups
2025-02-10 10:56:23 -06:00
tritao
f7a0cece08
Base: Remove Boost-based filesystem and switch to standard <filesystem>
2025-02-10 10:48:54 -06:00
LarryWoestman
26e532bd10
CAM: converted the refactored* postprocessors to the new (more object-oriented) API ( #19006 )
...
* CAM: converted the refactored* postprocessors to the new API
with corresponding tests
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-10 10:37:57 -06:00
herbkonik
572230cc95
Update SurfaceSupport.py ( #18724 )
2025-02-10 10:35:26 -06:00
tritao
359f832dfb
Gui: Check if document exists in View3DInventorViewer::setOverrideMode.
2025-02-10 10:33:22 -06:00
Alfredo Monclus
2c4650ba82
feat(PD): guess closest thread designation
...
fixes metric to metric-fine not working when switching threadtype from cli and property panel and the cases when changing from metric to inch based types and vice-versa
2025-02-10 10:32:52 -06:00
Chris Hennes
b18150e048
Merge pull request #19479 from tritao/base-cleanup-xml-generation
...
Base: Minor cleanups to base XML bindings generation
2025-02-10 09:34:50 -06:00