Commit Graph

40457 Commits

Author SHA1 Message Date
Kacper Donat
9f1fd5a2b4 Gui: Fix minor preference pages issues 2024-07-27 20:29:38 +02:00
Chris Hennes
559f55557f Merge pull request #15509 from bgbsww/bgbsww-toponamingSaveRestore8
Toponaming:  Bring in ExportGeo and refmaps
2024-07-27 07:16:29 -05:00
Chris Hennes
e290cd48e1 Sketcher/Toponaming: Further linter cleanup 2024-07-26 22:10:44 -05:00
Chris Hennes
48a37e4d1e Sketcher/Toponaming: Minor code cleanup during review 2024-07-26 21:48:33 -05:00
bgbsww
8b25341a7f Toponaming: Touchup cleanup
Includes some header re-ordering from chennes.
2024-07-26 21:39:39 -05:00
bgbsww
9f2210313d Toponaming: Tests, cleanup, and fix axis drawing 2024-07-26 11:49:56 -04:00
Zheng, Lei
77f181a307 Toponaming: Transfer in ExportGeo and associated 2024-07-26 11:49:56 -04:00
wmayer
6d8b9b0204 MSVC: Suppress warning 2024-07-25 20:34:52 +02:00
Chris Mayo
53e613fe46 Copy current icon theme name to the fallback on startup 2024-07-25 19:21:25 +01:00
wmayer
dca41751f7 Qt6: Fix MinGW build 2024-07-25 20:09:06 +02:00
wmayer
dd1c4e84f0 MSVC: Fix compiler warning 2024-07-25 20:08:10 +02:00
Syres916
be3dc20075 [Gui] Add missing checked property 2024-07-25 18:50:46 +01:00
Syres916
f5d46d6eee [Gui] Correct checkbox checked states 2024-07-25 15:04:04 +01:00
Chris Hennes
def3c36063 Merge pull request #15508 from bgbsww/bgbsww-toponamingSaveRestore7
Toponaming: bring in getHigherElements code
2024-07-24 22:59:56 -05:00
Chris Hennes
1b4afb2caa Apply suggestions from code review 2024-07-24 21:48:59 -05:00
Chris Hennes
0705a92236 Merge pull request #15505 from bgbsww/bgbsww-toponamingSaveRestore6
Toponaming:  bring in SketchObject::InternalShape
2024-07-24 18:52:12 -05:00
PaddleStroke
363d1489c3 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
1eda66dfd8 Cleanup, format 2024-07-24 16:41:15 -04:00
Zheng, Lei
38269241e6 Toponaming: Transfer in getHigherElement 2024-07-24 15:10:42 -04:00
bgbsww
8a6fa00c19 Cleanup ElementNamePair member, formatting 2024-07-24 11:10:23 -04:00
bgbsww
aade704d01 Toponaming: Cleanup review notes 2024-07-23 23:58:56 -05:00
wmayer
30aadcab28 Assembly: Fix compiler warning 2024-07-23 23:58:41 -05:00
wmayer
cc54e9856f 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
be34f251cd 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
8a1b4b2d05 [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
969e5c2f3c Remove icon ThemeSearchPaths option on Linux
ThemeSearchPaths option was originally introduced in:
f640562b98 ("Option to opt-out from using a Linux desktop icon theme.", 2020-01-26)

It was set on by default in:
f45a4de3ee ("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
bc150dc73c Fix trailing newlines and minor typo fixes 2024-07-23 16:16:30 +02:00
Zheng, Lei
a600952665 Toponaming: Transfer in SketchObject::InternalShape 2024-07-22 17:26:52 -04:00
Chris Hennes
a19f4dd398 Merge pull request #15504 from bgbsww/bgbsww-toponamingSaveRestore5
Toponaming: update findSubShapesWithSharedVertex
2024-07-22 15:28:18 -05:00
bgbsww
077f3b3ab4 Toponaming: Clean code, apply remark recommendations and Tweak tests 2024-07-22 12:55:23 -04:00
Zheng, Lei
62d1c300fb Toponaming: Bring in composite shapes for findSubshapesWithSharedVertex ( searchSubShape ) 2024-07-22 12:51:25 -04:00
Chris Hennes
42bbd953f9 Merge pull request #15501 from bgbsww/bgbsww-toponamingSaveRestore4
Toponaming: Transfer in getLinksTo
2024-07-22 11:23:12 -05:00
Jacob Oursland
e9fcfeef62 CI: Add pivy RC. 2024-07-22 09:22:54 -07:00
Jacob Oursland
a74ac5fbca CI: Add Ubuntu 22.04 Conda Qt6 to CI. 2024-07-22 09:22:30 -07:00
Jacob Oursland
ada449f7f2 CMake: ensure shiboken does not introduce Py_LIMITED_API.
On some builds, the CMake package files for PySide6's Shiboken set the Py_LIMITED_API define on
the compiler's command line.  This breaks FreeCAD as it depends on definitions from the Python
Stable API unavailable with the Limited API.
2024-07-22 09:22:30 -07:00
Syres916
72829d07b4 [Gui] Overlay set hide in non 3D view to be true/checked 2024-07-22 11:13:11 -05:00
MisterMaker
1058e67422 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
8aba0f3bb0 Fem: Import/export 1D elements from mesh to vtk - fixes #15541 2024-07-22 11:10:05 -05:00
Chris Hennes
896974807b 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
8dd23f6c89 Fem: Remove unused gmsh option - fixes #6354 2024-07-22 11:07:25 -05:00
marioalexis
daf6e6d0d7 Fem: Handle single value field - fixes #14022 2024-07-22 11:05:12 -05:00
marioalexis
03911cddd1 Fem: Fix mystran preference path - fixes #15348 2024-07-22 10:56:46 -05:00
wmayer
8a4aa75dec PD: Fix crash when pressing ESC on chamfer/fillet dialog 2024-07-22 10:53:31 -05:00
sliptonic
7709af53d4 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
3e546c5b5b fixes https://github.com/Ondsel-Development/FreeCAD/issues/115
dead function call.
2024-07-22 10:50:53 -05:00
sliptonic
d7a6b24ec0 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
fc5d57035f Fem: Remove redundant *Fix properties in constraint displacement - fixes #14556 2024-07-22 10:50:15 -05:00
Snow Faerie
7a1038e56c Generate compile_commands.json
Modify CMakePresets.json to use -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON
in all the presets.

The compile_commands.json file can be used by tools like clangd to get
autocompletion and go-to-definition.

This patch also adds compile_commands.json to the .gitignore, as often
you need to symlink the compile_commands.json from the build directory
into the source directory for it to be picked by tools. That is the case
with clangd at least.
2024-07-22 10:49:34 -05:00
Chris Hennes
dde1a3511b 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
52fc162c31 BIM: Better fix to IFC viewprovider - fixes #15477 2024-07-22 10:46:02 -05:00