Commit Graph

37285 Commits

Author SHA1 Message Date
marcuspollio
fd01f325b3 Update Draft WB icons (#13585)
* Update Draft WB icons

* Also make all icons 64px based

* keep inner white outline and small tweaks

* Tweaks following review

* Further tweaks following feedback

* Tweak more icons for consistency with light/dark themes

* Update following PR 13865, save as Plain SVG and remove unused ressources

Update texts for visibility

Some more cleanup

Use consistent FreeSans font
2024-05-13 11:20:42 -05:00
David Carter
f9eb6c2c68 Material: Material Preferences
Updates the material preferences including selecting a default material

Preferences adds some options for what gets displayed in the Materials editor.
The option to use the legacy editor is removed in favour of the new
editor.

A new preference page has been added that allows the user to select a
default material. This will then be assigned to any newly created object. In
support of this, a new widget PrefsMaterialTreeWidget has been added as an
extension of the MaterialTreeWidget to automatically save and restore the
selected material.
2024-05-13 11:14:55 -05:00
Chris Hennes
e3418ed46b Merge pull request #13721 from kadet1090/more-at-the-end
Gui: Move more button to the end WB TabBar
2024-05-13 11:12:26 -05:00
Zheng, Lei
412a82f340 Gui: fix toolbar init state 2024-05-13 11:06:01 -05:00
PaddleStroke
344b125a07 Core: Add getRootObjectsIgnoreLinks and fix bugs in tree.cpp and AssemblyObject.cpp, CommandInsertLink.py, UtilsAssembly.py 2024-05-13 17:58:34 +02:00
ppphp
4cd8b2ad15 fix some warnings: cmake string quotes and float mark (#13909)
Co-authored-by: liukaiwen <kaiwen.liu@zixel.cn>
2024-05-13 11:55:59 -04:00
FEA-eng
7523582c5f FEM: Change the misleading constraint descriptions regarding the geometry selection (#13921)
* FEM: Update TaskFemConstraintFixed.ui

* FEM: Update TaskFemConstraintForce.ui

* FEM: Update TaskFemConstraintTemperature.ui

* FEM: Update TaskFemConstraintDisplacement.ui
2024-05-13 10:54:03 -05:00
Jacob Oursland
dc9f42de1e VSCode: Use port 39999 to test for debugger readiness. 2024-05-13 10:53:27 -05:00
Chris Hennes
cc39030293 Merge pull request #13907 from wwmayer/issue_13898
Fix memory leaks with PySequence_GetItem
2024-05-13 10:53:00 -05:00
hlorus
2b9e9d6ca5 [MeasureGui] Add measurement value to label text 2024-05-13 10:47:10 -05:00
hlorus
3d2de62cbc MeasureGui: Improve measure task wording (#13857)
* MeasureGui: Add remaining labels for translation

* MeasureGui: Improve wording for annotation and close buttons
2024-05-13 10:45:09 -05:00
Florian Foinant-Willig
219a2e0104 Fix #13107 (#13682)
Introduce a signal slot for tree item highlight change.
2024-05-13 10:42:57 -05:00
Chris Hennes
1028345ae6 Merge pull request #13811 from hlorus/remove_measure_prefs
[Measure] Remove unused properties from measure preferences
2024-05-13 10:39:18 -05:00
bgbsww
f304b0123c Toponaming: bring in missing code fragments in PartDesign 2024-05-13 08:45:26 -05:00
wmayer
8fcaaed275 Draft: refactor TestDraftGeomUtils 2024-05-13 09:15:35 +02:00
Chris Hennes
f84d794379 Merge pull request #13964 from bgbsww/bgbsww-toponamingMissingPartDesignTests3
Toponaming Add missing code elements in Part
2024-05-12 23:25:20 -05:00
bgbsww
84ae6b9b7b Toponaming: bring in missing code fragments in Part 2024-05-12 23:08:06 -04:00
bgbsww
80a3e9ec75 Toponaming: bring in missing code fragments in App 2024-05-12 20:59:39 -04:00
bgbsww
c734bfd53c Rework makeElementChamfer to match current parms, and add PartDesign code for Chamfers 2024-05-12 20:57:00 -04:00
Chris Hennes
fd2d8939e7 Merge pull request #13963 from bgbsww/bgbsww-toponamingMissingPartDesignTests2
Toponaming: missing code bits in App
2024-05-12 19:30:04 -05:00
Chris Hennes
e703615603 Update translations 2024-05-12 17:06:56 -05:00
bgbsww
71892a1d72 Toponaming: bring in missing code fragments in App 2024-05-12 17:21:49 -04:00
bgbsww
dbaaa95974 Rework makeElementChamfer to match current parms, and add PartDesign code for Chamfers 2024-05-12 16:22:23 -04:00
bgbsww
45c4aefaae Rework makeElementChamfer to match current parms, and add PartDesign code for Chamfers 2024-05-12 13:28:20 -05:00
Kacper Donat
2e6af15880 Gui: Reuse QActions for workbench activation
This fixes segfault that can occour due to keeping reference to QAction
that is supposed to change workbench.
2024-05-12 19:05:14 +02:00
Kacper Donat
b1a11a6ab0 Gui: Fix wrong orientation of workbench tab bar after start
This replaces old mechanism that was based on storing tab bar
orientation in user settings with one that delays initialization by half
of a second to ensure that toolbar is placed where in right place.
2024-05-12 19:05:14 +02:00
Kacper Donat
82f6b68307 Gui: Use RTL layout when Wb Tab Bar is placed in right corner
Right corner is placed to the right edge of screen, so its natural
growth occours on the left side. Basically it is Right to Left order and
so in that case the "end" is actually on left and so TabBar should grow
in that direction.

Unfortunately it is not possible to simply use RTL Qt feature to handle
that case as it would result in reverse order of workbenches (people will still
read it in LTR order) and icons on the right which is not wanted. That's
custom support is introduced.
2024-05-12 19:05:14 +02:00
Kacper Donat
37d6ba2898 Gui: Adjust sizing of Workbench TabBar when changing orientation
This should fix issues when toolbar containing Workbench TabBar suddenly
(or not) changes orientation. It also fixes size policies so toolbar
resizes properly and does not cause window to grow.

Fixes: #13286
2024-05-12 19:05:14 +02:00
Kacper Donat
7e22dade12 Gui: Add proper tooltip to Workbench TabBar tab 2024-05-12 19:05:14 +02:00
Kacper Donat
3405939f10 Gui: Move more button to the end WB TabBar
This changes back placement of the "more" button of the WB TabBar to be
at the end, where it should be naturally placed. In order to ensure that
it is always visible the control was reworked to show this button always
after the tab bar widget which now is dynamically sized. This is
behavior that is well known from browsers.

This commit also ensures that active workbench is always visible in the
TabBar by adding additional temporary tab when necessary. This tab will
automatically dissapear when not needed.

Fixes: #13720
Fixes: #13630
2024-05-12 19:05:14 +02:00
Kacper Donat
4d1b3756f3 Gui: Add our ToolBarArea enumeration
This refactors implementation of toolbars in menu / status bar a bit. It
introduces enum with all possible areas like it is in Qt that can be
later used to decide what to do based on toolbar placement.
2024-05-12 19:05:12 +02:00
Roy-043
ec44573bdc Draft: minor refactor of layer code (#13948) 2024-05-12 09:49:04 +02:00
Roy-043
10a25ebf98 Draft: Update v0.22 references to v1.0 (#13934) 2024-05-12 09:47:51 +02:00
Chris Hennes
3acbc561f2 Merge pull request #13928 from ronnystandtke/fix_i18n
include translations of the FreeCAD App & Base
2024-05-10 10:16:31 -05:00
wmayer
7d738f161a PD: Fix ShapeBinder::execute() if Support is empty
This fixes the reported regression: https://forum.freecad.org/viewtopic.php?t=87229
2024-05-10 15:06:22 +02:00
wmayer
35b70acb33 PD: Fix linter warnings 2024-05-10 15:06:22 +02:00
wmayer
7b3eef3dcf Mesh: Make colors persistent if meshing option 'Apply face colors to mesh' is used 2024-05-10 15:03:20 +02:00
Ronny Standtke
fa2a3e0f54 include translations of the FreeCAD Base 2024-05-10 14:31:33 +02:00
Ronny Standtke
1c618ffd8f include translations of the FreeCAD App 2024-05-09 21:21:16 +02:00
bgbsww
0095e52466 Support saving the tnp recalculated file in profile testing 2024-05-09 09:01:25 -05:00
Roy-043
2f9b97ce3a Draft: Add "legacy importer only" to DXF option (#13638)
* Draft: Clarify "legacy only" DXF options in the preferences

Fixes #13598.
2024-05-09 11:12:19 +02:00
Jacob Oursland
3bb6f92885 Conda: add libspnav to linux builds. 2024-05-09 02:00:14 -04:00
wmayer
70be39dd0d Gui: Fix PythonWrapper::toEnum() to also accept a Python int as argument
See https://github.com/FreeCAD/FreeCAD/pull/13611#issuecomment-2097126565
2024-05-09 01:28:45 -04:00
Jacob Oursland
7e2bbccf22 Conda: pin zstd==1.5.6 to fix Windows CI failures. 2024-05-09 01:28:02 -04:00
wmayer
85d3d9eec0 TD: Fix memory leaks with PySequence_GetItem 2024-05-09 00:03:01 +02:00
wmayer
03a371d6e3 Core: Fix memory leaks with PySequence_GetItem 2024-05-08 23:40:27 +02:00
wmayer
82101ac890 Part: Fix memory leaks 2024-05-08 20:01:54 +02:00
wmayer
374a663d2c Measure: Fix memory leaks 2024-05-08 20:01:54 +02:00
wmayer
8742c37131 Material: Fix memory leaks 2024-05-08 20:01:54 +02:00
Furgo
8941b941ab Change property view panel title to sentence case 2024-05-08 10:04:50 +02:00