Commit Graph

36568 Commits

Author SHA1 Message Date
Chris Mayo
598fa20b03 Copy current icon theme name to the fallback on startup 2024-07-25 19:21:25 +01:00
wmayer
8de6e5e8a8 Qt6: Fix MinGW build 2024-07-25 20:09:06 +02:00
Syres916
d0d414057c [Gui] Add missing checked property 2024-07-25 18:50:46 +01:00
Syres916
acdc6036f9 [Gui] Correct checkbox checked states 2024-07-25 15:04:04 +01:00
Chris Hennes
e4e17cf398 Merge pull request #15508 from bgbsww/bgbsww-toponamingSaveRestore7
Toponaming: bring in getHigherElements code
2024-07-24 22:59:56 -05:00
Chris Hennes
d92029f0ba Apply suggestions from code review 2024-07-24 21:48:59 -05:00
Chris Hennes
8764cd10bb Merge pull request #15505 from bgbsww/bgbsww-toponamingSaveRestore6
Toponaming:  bring in SketchObject::InternalShape
2024-07-24 18:52:12 -05:00
PaddleStroke
2dc886d748 Assembly: define joint double click on 3dview (#15572)
* Assembly: define joint double click on 3dview

* Update string
2024-07-24 18:44:36 -05:00
bgbsww
b29abf7ffe Cleanup, format 2024-07-24 16:41:15 -04:00
Zheng, Lei
a7bdbaa662 Toponaming: Transfer in getHigherElement 2024-07-24 15:10:42 -04:00
bgbsww
5c80e553a8 Cleanup ElementNamePair member, formatting 2024-07-24 11:10:23 -04:00
bgbsww
6a5207f7a8 Toponaming: Cleanup review notes 2024-07-23 23:58:56 -05:00
wmayer
5084e6ce39 Assembly: Fix compiler warning 2024-07-23 23:58:41 -05:00
wmayer
703c349ade Spreadsheet: Delete key doesn't clear contents in selected cells
Fixes #15023. On macOS a different shortcut is defined for the 'Delete' key
2024-07-23 23:20:41 -05:00
wmayer
88ee1d6df3 FEM: Fix convoluted event handling of constraint task boxes
and make Delete key working on macOS
2024-07-23 23:19:51 -05:00
Syres916
838bfc0461 [Start] Fix ThemeAccentColors not populated... (#15574)
* [Start] Fix ThemeAccentColors not populated...

...on some versions of Qt

* [Start] Only apply if the ThemeAccentColor1 does not exist

* [Start] Fix Lint feedback

* [Start] Set constants

* [Start] Fix new Lint feedback
2024-07-23 23:01:21 -05:00
Chris Mayo
ff168e345f Remove icon ThemeSearchPaths option on Linux
ThemeSearchPaths option was originally introduced in:
c420de0f9b ("Option to opt-out from using a Linux desktop icon theme.", 2020-01-26)

It was set on by default in:
dc6456caf9 ("Gui: Use FreeCAD supplied icons on Linux by default", 2024-06-26)

The key effect of the option is to select the FreeCAD-default icon theme.
The code also unnecessarily resets QIcon::themeSearchPaths,
":\icons" is always included in the default search paths [1],
when when using QAdwaitaDecorations causes window frame control icons
not to be displayed:

  (qt.qpa.qadwaitadecorations) Failed to find an svg icon for  "window-close-symbolic.svg"
  (qt.qpa.qadwaitadecorations) Failed to find an svg icon for  "window-minimize-symbolic.svg"
  (qt.qpa.qadwaitadecorations) Failed to find an svg icon for  "window-maximize-symbolic.svg"
  (qt.qpa.qadwaitadecorations) Failed to find an svg icon for  "window-restore-symbolic.svg"

A different default icon theme can still be chosen with the Name option.

[1] https://doc.qt.io/qt-6/qicon.html#themeSearchPaths
2024-07-23 19:26:14 +01:00
luzpaz
a71f49f4f6 Fix trailing newlines and minor typo fixes 2024-07-23 16:16:30 +02:00
Zheng, Lei
7d344e2818 Toponaming: Transfer in SketchObject::InternalShape 2024-07-22 17:26:52 -04:00
bgbsww
0178e848e4 Toponaming: Clean code, apply remark recommendations and Tweak tests 2024-07-22 12:55:23 -04:00
Zheng, Lei
f6494bdf05 Toponaming: Bring in composite shapes for findSubshapesWithSharedVertex ( searchSubShape ) 2024-07-22 12:51:25 -04:00
Chris Hennes
3fa339e9eb Merge pull request #15501 from bgbsww/bgbsww-toponamingSaveRestore4
Toponaming: Transfer in getLinksTo
2024-07-22 11:23:12 -05:00
Syres916
4beef5e0d8 [Gui] Overlay set hide in non 3D view to be true/checked 2024-07-22 11:13:11 -05:00
MisterMaker
9c6663c924 Stylesheet fixes part trois. (#15471)
* fixes Qtoolbox for Freecad CAM

https://github.com/FreeCAD/FreeCAD/issues/14745#issuecomment-2231031485

* Removed offset because of Linux issues.

* fix for to dark cells in propetties panel

* fixed constrain colors in sketcher and arros tabbar.

* tabbar fixes

* This fixes the checkered scrollbar issue

* This fixes the spinbox arrow which had a gap.

* misses somethings in the overlay stylesheets.

* typos

* fixed some overlay issues

* update sketch uncontrained colors

* trying to fix the arrow size

* fixes for treeview

* Update Light Theme + Dark Background.qss

fix for edit text field

* updated checkmarks names and scaled them down.

* Update FreeCAD Dark.qss

oopsie wrong color

* Update icons classic.svg

icons files for the icons

* fix for table edit
2024-07-22 11:12:21 -05:00
marioalexis
9a2c9564de Fem: Import/export 1D elements from mesh to vtk - fixes #15541 2024-07-22 11:10:05 -05:00
Chris Hennes
625699cd84 Merge pull request #15520 from Ondsel-Development/asm_bom_same_name_bug
Assembly: BOM: Fix same name different doc issue.
2024-07-22 11:08:52 -05:00
marioalexis
00b8e11dd6 Fem: Remove unused gmsh option - fixes #6354 2024-07-22 11:07:25 -05:00
marioalexis
30564b30ed Fem: Handle single value field - fixes #14022 2024-07-22 11:05:12 -05:00
marioalexis
2c4701c94e Fem: Fix mystran preference path - fixes #15348 2024-07-22 10:56:46 -05:00
wmayer
9c236af83f PD: Fix crash when pressing ESC on chamfer/fillet dialog 2024-07-22 10:53:31 -05:00
sliptonic
b5295411b5 Fixes https://github.com/Ondsel-Development/FreeCAD/issues/114
The refactored postprocessor system uses
a factory to load scripts.  The preference
system has logic to load the scripts to get the tooltips
That logic was overlooked during the refactor.
Added it here.
2024-07-22 10:50:53 -05:00
sliptonic
fbbad53361 fixes https://github.com/Ondsel-Development/FreeCAD/issues/115
dead function call.
2024-07-22 10:50:53 -05:00
sliptonic
e252661db5 Fixes: https://github.com/Ondsel-Development/FreeCAD/issues/116
The migration of CAM to use the new material system left behind some
logic that created an old dedicated stock material property.

This commit removes that property
2024-07-22 10:50:53 -05:00
marioalexis
789353b52a Fem: Remove redundant *Fix properties in constraint displacement - fixes #14556 2024-07-22 10:50:15 -05:00
Chris Hennes
dd86f21130 Merge pull request #15521 from bgbsww/bgbsww-toponamingSaveRestore1plus
Throw exceptions rather than return default 0
2024-07-22 10:46:53 -05:00
Yorik van Havre
5b7a61ea06 BIM: Better fix to IFC viewprovider - fixes #15477 2024-07-22 10:46:02 -05:00
Chris Hennes
5ffa1bc582 Addon Manager: Silence warning due to use of horizontal line 2024-07-22 10:45:08 -05:00
Chris Hennes
f841acc5c5 Merge pull request #15499 from wwmayer/issue_15453
Fix possible crashes in PD task panels
2024-07-22 10:44:35 -05:00
Chris Hennes
8249b81d93 PD/Tests: Correct TestPartDesignGui for Qt6 2024-07-22 11:42:59 -04:00
Pieter Hijma
692d4526e8 Fix a compatibility issue with old Qt 5
Ubuntu 20.04 uses a currently deprecated API requiring this change.
2024-07-22 17:40:27 +02:00
Pieter Hijma
7b98eac9a0 Core: Improve communication single-instance 2024-07-22 17:39:32 +02:00
Kim Kirwan
25c5d09c43 Minor fixes to improve README.md file readability
Fixed a misspelling, added some commas, changed all occurrences of
PDN (PartDesignNext) or PD to PartDesign to improve readability.
(And update the text, since PartDesignNext was new in version
0.17 or so, and stable is now 0.21.2. )
2024-07-22 10:37:54 -05:00
wandererfan
0600f36b10 [TD]fix leader start point on rotated view 2024-07-22 09:14:34 -04:00
PaddleStroke
0273391211 Assembly: BOM tool: Do not list Groups. 2024-07-22 12:23:26 +02:00
PaddleStroke
4b0c72ccad Assembly: BOM: Fix same name different doc issue. 2024-07-22 12:23:21 +02:00
Chris Hennes
187296d67a Addon Manager Tests: Skip all git tests if git is not present 2024-07-22 00:08:51 -05:00
PaddleStroke
6ce744a9a1 Assembly: Fix conflicting shortcut for Exploded view 2024-07-22 00:07:51 -05:00
bgbsww
97473a838f Refactor all element name pairs into clearer struct names - renames 2024-07-21 20:32:58 -04:00
bgbsww
5afdc19874 Toponaming: Cleanup 2024-07-21 17:40:42 -04:00
Zheng, Lei
c9232b141a Toponaming: Transfer in getLinksTo 2024-07-21 17:36:50 -04:00