Commit Graph

40283 Commits

Author SHA1 Message Date
Alfredo Monclus
052a08cfa0 refactor: setup and use a single base scheme 2025-02-16 10:19:48 -03:00
Alfredo Monclus
93a07703f9 refactor: remove check for qt<5.15 2025-02-16 10:15:40 -03:00
Alfredo Monclus
6e5982e2be refactor headers 2025-02-16 10:13:13 -03:00
Alfredo Monclus
9ed3c90303 refactor: remove scheme dependencies from group 2025-02-16 10:02:23 -03:00
Alfredo Monclus
6a431a2e4d refactor: remove unneeded setscheme from taskgroup 2025-02-16 10:02:23 -03:00
Alfredo Monclus
b86722b117 refactor: remove unneeded setscheme from actiongroup 2025-02-16 10:02:23 -03:00
Alfredo Monclus
59716d35a0 refactor: implement unique_ptr on actiongroup 2025-02-16 10:02:23 -03:00
Alfredo Monclus
23bd7df959 refactor: implement unique_ptr in actionbox 2025-02-16 10:02:23 -03:00
Alfredo Monclus
cdb107f624 fix: task groups jumping when folding 2025-02-16 10:02:23 -03:00
Alfredo Monclus
96ae7bb65e refactor: actionpanel with more moder structure 2025-02-16 10:02:23 -03:00
Alfredo Monclus
6ccb6672bd refactor: actionlabel clenup and improve size calculation 2025-02-16 09:56:45 -03:00
Alfredo Monclus
235c3c098a refactor: cleanup and modernize actiongroup 2025-02-16 09:54:18 -03:00
Alfredo Monclus
d560ddb826 refactor: modernize and cleanup actionbox 2025-02-16 09:54:18 -03:00
Alfredo Monclus
3c83a149ed refactor: minimize styling as much as possible 2025-02-16 09:54:18 -03:00
Alfredo Monclus
1adaead8f7 refactor: actionpanel style without color move to minimum 2025-02-16 09:54:18 -03:00
Alfredo Monclus
162d7a5fe7 refactor: reduce qsint schemes to 1 2025-02-16 09:54:16 -03:00
Alfredo Monclus
a14aab1938 refactor: qsint style should be minimum plus mods 2025-02-16 09:53:57 -03:00
Alfredo Monclus
203ba515a0 refactor: remove old taskpanel styles 2025-02-16 09:52:34 -03:00
Andrea
146d8a356b change MIN_boost_version
ubuntu version 20.04 is no longer supported.
The minimum boost version used for freecad is now 1.74 (ubuntu 22.04) https://launchpad.net/ubuntu/jammy/+package/libboost-system-dev
2025-02-15 13:33:32 -06:00
bofdahof
0931abe4d5 Add Vtk to cmake report 2025-02-15 10:22:09 -06:00
Ziad
4bad514bd7 PartDesign: Allow Draft negative angles 2025-02-14 14:57:14 -06:00
Chris Hennes
9656bdb9fb Merge pull request #19468 from hyarion/AIRCAP_fixCompoundCuts
Part: OCCWrapper: Fix compound cuts
2025-02-14 14:16:17 -06:00
Benjamin Nauck
0128e267ce Add [[nodiscard]] to Vector3 (#19544)
* Add nodiscard to vector3
2025-02-14 14:14:45 -06:00
tritao
80b299bb88 Base: Move zipios library to 3rdParty folder. 2025-02-14 13:08:28 -06:00
tritao
58c6c3def5 Gui: Clean up XML bindings. 2025-02-14 13:05:29 -06:00
Ulices
495cc73500 Core: Remove link from tooltip (#19120)
It's impossible to click on the link because the tooltip fades away

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-02-14 10:56:52 -06:00
Chris Hennes
ec050db9a8 Merge pull request #18791 from CalligaroV/toponaming-ElementMapVersion-code-from-LS3
[Toponaming] Import code releted to _ElementMapVersion from LS3
2025-02-14 10:54:38 -06:00
Chris Hennes
334cc2f6b9 Part(toponaming): Remove support for OCCT 6.x 2025-02-14 10:54:13 -06:00
Alfredo Monclus
90cb009e73 fix(Gui): transparencies issues when using overlays
refactor: use replace to avoid numbering

refactor: fix the lint warnings

refactor: fix clazy complaints

refactor: apply review recommendation
2025-02-14 10:50:26 -06:00
Benjamin Nauck
d50f4887a9 CAM: Fix finish passes by avoiding fuzzy in Area.cpp (#19525) 2025-02-14 10:31:32 -06:00
Benjamin Bræstrup Sayoc
d3c13c3d47 TechDraw: Set symbol dir
Fixes #19496
2025-02-14 10:27:53 -06:00
Chris Hennes
5cf6a597f0 Merge pull request #19549 from tritao/xml-bindings-cleanup-app
App: Clean up XML bindings.
2025-02-14 10:26:48 -06:00
paul
5582cc87d4 [ArchSketchObject / Window] Links of Window to support Individual Hosts (#19378)
* [ArchSketchObject / Window]  Links of Window to support Individual Hosts

Currently, Links of Window's Hosts property (and in generall all properties other than e.g. Placement) is shared with its Linked Window object, i.e. all Windows Links instances can only has a common Host(s) which is not flexible for the purpose of Links.

AND, at the same time, Links in linked document suffer from the 'scope' of the original Linked Window, which is in the external Document.

This commit adds feature to support:
  1/ each Links instance of Windows has their own individual setting of Hosts, and
  2/ it see the 'scope' of the Links in its document (rather than the Linked Window in the external document)

FreeCAD Forum:
- https://forum.freecad.org/viewtopic.php?p=808569#p808569

FreeCAD GitHub:
- https://github.com/FreeCAD/FreeCAD/issues/19361

* [ArchSketchObject]  Fix indentation
2025-02-14 13:46:44 +01:00
Furgo
f81c15ee4e BIM: fix ability to cancel file dialog on BIM_TDPage command (#19518)
* BIM: use tuple return value from QFileDialog.getOpenFileName

Fixes: https://github.com/FreeCAD/FreeCAD/issues/19466

* BIM: remove filename assignment from tuple
2025-02-13 17:45:27 +01:00
Roy-043
245a2fada7 Draft: task_scale.py fix circular imports (#19574)
See:
https://forum.freecad.org/viewtopic.php?t=94748
2025-02-13 16:02:24 +01:00
Roy-043
01409c1407 Draft: gui_utils.py fix error in select function (#19539)
* Draft: gui_utils.py fix error in select function

PR #18795 changed the select function to also handle tuples. This PR adds a check to ensure the referenced objects in the tuple still exist before calling `Gui.Selection.addSelection()`.
2025-02-13 16:00:30 +01:00
Chris Hennes
443d91606d TD: Add missing #include "PreCompiled.h" (#19547)
* TD: Add missing #include "PreCompiled.h"

* Update src/Mod/TechDraw/Gui/CommandAlign.cpp

Co-authored-by: Benjamin Nauck <benjamin@nauck.se>

* TD: Add guards around QMessageBox include

---------

Co-authored-by: WandererFan <WandererFan@gmail.com>
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2025-02-12 21:28:34 -06:00
Chris Hennes
b56cdcde02 Tests: remove superfluous NOLINTs 2025-02-12 14:22:41 -06:00
Chris Hennes
79fd880ed2 Part: Add comment explaining element map version string 2025-02-12 14:19:37 -06:00
Syres916
96b3f830d4 [BIM] fix name 'self' is not defined error 2025-02-12 14:23:31 +01:00
Syres916
087928d1de [BIM] Fix translate error 2025-02-12 14:23:31 +01:00
Chris Hennes
9418e0719e Merge pull request #19548 from oursland/update-ci-ubuntu
CI: Update Ubuntu 20.04 to Ubuntu 22.04
2025-02-11 22:03:31 -06:00
tritao
e4a2c71eff App: Add more concrete types to Metadata API bindings. 2025-02-12 01:54:56 +00:00
tritao
0252039020 App: Clean up XML bindings. 2025-02-12 01:54:27 +00:00
Jacob Oursland
322e9e8f39 CI: Update Ubuntu 20.04 to Ubuntu 22.04. 2025-02-11 16:45:51 -08:00
Jacob Oursland
818faebe4e CI: Rename Ubuntu 20.04 to just Ubuntu. 2025-02-11 16:45:51 -08:00
jffmichi
1a1aea735a PartDesign: fix crash when opening a file with a metric hole 2025-02-11 17:35:35 -06:00
Chris Hennes
1d6e2b8675 Merge pull request #19167 from alfrix/hole_new_taskpanel
feat(PD): hole taskpanel: new image based cut panel
2025-02-11 17:22:16 -06:00
Syres916
99eed953c3 [Gui] fix the FPS text visibilty issues raised in #19371 (#19385)
* [Gui] fix the FPS text visibilty issues
* [Gui] code efficiency based on suggestions
* [Gui] update color parameter
* [Gui] Fix Lint feedback
* [Gui] check if string is empty
2025-02-11 13:16:29 -06:00
GS-GOAT
afe122738f Measurement: save 'Show Delta' state between commands #19204 (#19430)
* Measurement: save 'Show Delta' state between commands #19204

When users set Show Delta option to off in the Measure tool, the setting
was not being preserved when the tool was invoked again. This was due to    
using an uninitialized value as the default when loading the preference.  

Changes staged in: FreeCAD\src\Mod\Measure\Gui\TaskMeasure.cpp 

Fixed by:
- Using explicit 'true' as default value when loading Show Delta
preference 
- Maintains existing save functionality
- Ensures consistent behavior on first use
Fixes #19204

* Changed few things to ensure the delta state is saved #19204

added changes:-
1. settings.endGroup()
When we call beginGroup(), it creates a prefix for all subsequent settings operations, All settings will be stored under the "TaskMeasure" group.
endGroup() is needed to close this grouping scope
Without it, subsequent settings operations would still use the "TaskMeasure" prefix

2. settings.sync()
By default, QSettings caches changes in memory and writes them to disk later
sync() makes an immediate write to the settings file
This ensures the setting is saved right away rather than waiting for Qt to decide when to save.
Makes the setting change immediately available for future commands.

-Fixes Measurement: save 'Show Delta' state between commands #19204

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Added proposed changes to autoSaveChanged() and newMeasurementBehaviourChanged() functions #19204 #19430

Added settings.endGroup() to the following functions:-
1.autoSaveChanged()
2.newMeasurementBehaviourChanged() 
Each beginGroup() should be followed by endGroup().

No need for explicitily calling sync() as it is called automatically from QSettings's destructor and by the event loop at regular intervals.(Refer documentation for more info)

-Fixes Measurement: save 'Show Delta' state between commands #19204 #19430

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-11 13:10:53 -06:00