Commit Graph

40439 Commits

Author SHA1 Message Date
PaddleStroke
1aee2772f0 Techdraw: Smart Dimension: Fixes and simplifies code 2024-05-13 15:03:37 +02: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
marcuspollio
23537d97d7 Sketcher UI: Update Task panels icons 2024-05-12 15:57:26 +12:00
marcuspollio
17d0ee3aca PartDesign UI: Update Task panels titles and icons
update Workbench.cpp, TaskFeaturePick.cpp
2024-05-12 15:08:14 +12:00
Roy-043
53c6fbc843 get_appearance_material -> get_view_material
Also removed the ret_default argument.
2024-05-11 10:11:16 +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
Roy-043
4fcbff191f Draft: Draft_SetStyle new Material handling
Discussion: #13657.
2024-05-09 10:49: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
Chris Hennes
1889dd2f7b Merge pull request #13867 from bgbsww/bgbsww-toponamingFixBadPad
Toponaming/Part: Fix fillet/pad bug, add tests
2024-05-07 14:19:01 -05:00
wmayer
40b9c972c5 Assembly: Fix warning: -Wunused-variable 2024-05-07 19:48:33 +02:00
wmayer
2aa96bee98 Core: Refactor several methods of ToolBarManager 2024-05-07 19:48:33 +02:00
wmayer
fdc78799b6 Core: Fix linter warnings 2024-05-07 19:48:33 +02:00
wmayer
e86272fab2 Core: Fix build failures and warnings 2024-05-07 19:48:33 +02:00
bgbsww
71d96bccac Fix tests, slip in TNP defense 2024-05-07 13:42:21 -04:00
bgbsww
c1bc3b6e9a Update ToolBarManager.cpp for QT 6.7
Replace obsoleted method call
2024-05-07 10:18:15 -05:00
bgbsww
bad3a83827 Fix #13858
Mistaken enabling of known bad code
2024-05-07 10:17:48 -05:00
PaddleStroke
b48bbe390b Sketcher: change rendering height of internal alignment. So that bpsline appears connected. Fixes second part of #13849 2024-05-07 16:00:00 +02:00