captain0xff
d2ff41dbd7
Gui: moved dragger classes to separate folder and files
...
* renamed SoFCCSysDragger to SoTransformDragger
* moved TDragger, RDragger and TPlanarDragger to separate files and also renamed them to be more descriptive
2025-04-13 21:36:54 +02:00
Kacper Donat
4b0a70b62d
Gui: Disable Show Placement for Body Features
2025-04-13 17:54:01 +02:00
Kacper Donat
3e2f88b74c
Gui: Hide Placement Indicator with object
2025-04-13 17:54:01 +02:00
Kacper Donat
fba2e31f6c
Gui: Ensure that placement indicator is always on top
2025-04-13 17:54:01 +02:00
Kacper Donat
77e40b9747
Base: Use explicit pointer syntax for freecad_cast ( #20694 )
...
* Base: Use explicit pointer syntax for freecad_cast
This aligns our custom cast with other casts
* All: Use explicit pointer syntax for freecad_cast
2025-04-11 14:11:33 +00:00
Alfredo Monclus
2727550e90
Gui: fix Quantity spinbox margin without an icon ( #20695 )
...
* Gui: fix Quantity spinbox margin without an icon
* refactor: apply review suggestions
* refactor: reorder operations as suggested
---------
Co-authored-by: alfre <alfre@localhost.localdomain >
2025-04-09 20:28:54 +02:00
Kacper Donat
0cbb1c0fc3
Gui: Add Origin indicator to SoFCPlacementIndicator
...
This adds optional origin indicator ofr SoFCPlacementIndicator. This is
something that can be used to clearly indicate origin placement with
small sphere.
2025-04-09 17:48:15 +02:00
Kacper Donat
e56ef7cbd7
Gui: Move color traits to Utilities.h
2025-04-09 17:48:15 +02:00
tritao
b621caf97a
Gui: Rename generated lexer files to match core naming pattern.
...
So as title says, this renames generated lexerfiles from
`SelectionFilter.l` to use the suffix .lex, instead of the
`lex.SelectionFilter.c`.
2025-04-07 22:42:07 +02:00
PaddleStroke
2f479e3c95
PartDesign: Fix use of App::Planes to create sketches ( #20453 )
2025-04-07 17:34:13 +02:00
Kacper Donat
9d97d1c895
Base: Rename Base::freecad_dynamic_cast into freecad_cast
...
This is to make it shorter and easier to use. QT does the same thing
with their qobject_cast.
2025-04-07 10:32:28 -05:00
xtemp09
d7fe28af7b
Make some context menu actions translatable ( #20401 )
...
* Make some context menu actions translatable
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-07 08:43:04 -05:00
Benjamin Nauck
247a188f34
Gui: Fix operator mistake in previous c++constant refactoring
2025-04-07 11:13:36 +02:00
Francisco Neves
21723a045e
Preferences: Fixed a bug in 'Animation curve type' label position
...
Deleted a line in DlgSettingsAdvanced.cpp that made the label
move after selecting a animation curve type. Fixes #18376 .
Signed-off-by: Francisco Neves <francisco.jose.neves@tecnico.ulisboa.pt >
2025-04-06 14:30:35 +02:00
Kacper Donat
32895ca9a9
Merge pull request #20570 from pieterhijma/varset-dialog-units
...
[Core] Show units in the VarSet add property dialog
2025-04-05 23:19:39 +02:00
Kevin Martin
762c8e0ac5
Check for a null scene object
...
Under certain unusual circumstances getSceneGraph can be called when the scene is null, causing a native exception when the scene's reference count is incremented.
This changes the code to return python None in this condition, allowing the calling cod eto handle the no-scene case itself.
2025-04-05 18:45:19 +02:00
Kacper Donat
91c001ee90
Merge pull request #20594 from captain0xff/icon-res
...
Gui: make BitmapFactory::pixmapFromSvg dpi aware
2025-04-05 00:32:21 +02:00
Patryk Skowroński
47dce0285a
Added sanity check for an action pointer
2025-04-04 12:31:11 -05:00
captain0xff
887cbd0e1a
remove some code setting pixel density ratio for pixmaps
...
update
2025-04-03 19:55:27 +05:30
captain0xff
740a028df5
Gui: make BitmapFactory::pixmapFromSvg dpi aware
...
added getMaximumDPR method and removed a overload of pixmapFromSvg with dpr parameter
update
2025-04-03 19:55:27 +05:30
Leticia Vong
7a35b9dfcd
GUI: Fix #18806 Toggle freeze behavior
...
Previously, StdCmdToggleFreeze only unfroze child objects using
getInListRecursive(). This update ensures that dependent objects
are properly unfrozen.
Freezing behavior remains unchanged.
2025-04-02 22:28:51 -05:00
Kacper Donat
5658274bb8
Merge pull request #20559 from hyarion/refactor/add-limits
...
Add `#include <limits>` in all files where it is used
2025-04-01 17:11:50 +02:00
Pieter Hijma
67cdd28d93
[Core] Fix value field unit selection
...
Qt automatically selects the text in the value field on creation. This
interferes with the selection when the field has focus. This commit
ensures that the automatic selection is undone.
2025-04-01 13:21:50 +02:00
Pieter Hijma
7271d63650
[Core] Show units in value editor VarSet dialog
...
Before this change, the units were not shown in the editor for values.
With this change the units (if applicable) are shown in the editor.
2025-04-01 13:21:50 +02:00
Pieter Hijma
4071f32c90
[Core] Make PropertyItem column usage more clear
...
- Renamed dataProperty -> dataPropertyName because the function returns
variants for the property name.
- Add an enum for the column to remove magic numbers
2025-04-01 13:21:50 +02:00
Benjamin Nauck
2c78997339
Refactor mapToInt/mapToUint
2025-04-01 08:02:42 +02:00
tringenbach
5412d0a4eb
Gui: Task overlay HiDPI vertical alignment
2025-04-01 07:53:22 +02:00
Benjamin Nauck
b6d6c8837f
Gui: Add #include <limits> where used
2025-03-31 23:50:37 +02:00
Chris Hennes
469bdedbc4
Navlib: Eliminate compiler warnings
...
A few unused variables, and a few cases where clang would prefer it be made clear that an initializer is initializing two separate sub-objects, rather than using a flat list.
2025-03-31 17:47:23 +02:00
Alfredo Monclus
f09e5e03a9
Gui: fix Inputfield valid/invalid icon placement and size ( #20466 )
...
* Gui: fix inputfield icon size placement
* chore:Update inputfield comment to be more clear
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com >
---------
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com >
2025-03-31 00:14:19 +02:00
Chris Hennes
95fbd95950
Merge pull request #20496 from hyarion/refactor/cppify-constants
2025-03-29 18:43:40 -05:00
Kacper Donat
abe8a90f2f
Gui: Fix saving light sources
2025-03-29 14:14:04 -05:00
Benjamin Nauck
b625e81a3e
Gui: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:38 +01:00
Andrea
9cfc345448
Remove old Coin code <=3
...
ubuntu 22.04 use libcoin v 4. https://launchpad.net/ubuntu/jammy/+package/libcoin-dev
2025-03-29 12:16:09 +01:00
João Martins
caa6606810
Assembly: Allow more than one assembly deactivation ( #20461 )
...
Fixes #18631 .
2025-03-26 19:25:53 +01:00
Syres916
85410a2816
[Gui] Fix Seg Fault when deleting a Link Array
2025-03-26 17:44:49 +01:00
xtemp09
26c7a6c302
Disconnect signals in destructor to avoid the assert
...
Closes #20272 .
2025-03-26 17:42:34 +01:00
Ladislav Michl
0895b70131
Gui: Language: Sort mapLanguageTopLevelDomain
2025-03-25 18:29:11 +01:00
Furgo
6864ac4e0d
Start: set specific zoom level for new BIM projects ( #20271 )
...
* Gui: allow viewDefaultOrientation function to accept the None value, as per the docstring
* Start, BIM: set specific zoom level for new BIM projects
2025-03-25 09:36:43 +01:00
Chris Hennes
eb3f9b1586
Merge pull request #20428 from pieterhijma/fix-doxygen-structural-warnings
...
Fix doxygen structural warnings
2025-03-24 21:07:53 -05:00
Joao Matos
8a934297dc
Gui: Remove XML binding files.
2025-03-24 22:47:33 +01:00
Joao Matos
ad4275fe50
CMake: Fix build dependency tracking for Python bindings generation.
...
This caused a rebuild to always happen due to incorrect dependency
tracking.
Fixes https://github.com/FreeCAD/FreeCAD/issues/20402 .
2025-03-24 21:43:31 +01:00
j-hap
edf8a4daf5
TechDraw: Replace annotation edit dialog with QPlainTextEdit ( #20092 )
...
* TechDraw: Replace annotation edit dialog with QPlainTextEdit
* Remove useless include introduced in previous commit
* Remove trailing _ for members to conform with rest of the codebase
* Add const & to string vectors that don't need copying
* Fix IWYU linter warnings
* Forward all annotation double clicks to the StringList property editor
* Remove unused dialog
* Fix Qt 5 build error
* Fix missing exports with MSVC
2025-03-24 13:27:55 -04:00
Kacper Donat
78b6622daf
Gui: Remove -1 min-width from dialog buttons
...
This ensures that minimum width from QStyle is still applied while buttons still respect minimum size hint
2025-03-24 12:25:56 -05:00
tritao
c2ff654912
Gui: Convert XML bindings to Python API bindings model.
...
This converts the existing XML binding files to the new Python bindings
generator model.
2025-03-24 11:56:53 -05:00
Pieter Hijma
6bcc0542b9
[Doc] Fix multiple use section label
2025-03-24 16:33:54 +01:00
Chris Hennes
a8ec91bf50
Gui: Check return value from getDetail()
...
Coverity issue 251377. Every other use of this method follows this idiom, update the last call to match.
2025-03-23 22:47:30 +01:00
Chris Hennes
253e4806b6
Gui: Eliminate implicit capture of this via =
...
Per clang: "implicit capture of 'this' with a capture default of '=' is deprecated"
2025-03-23 18:23:37 +01:00
Chris Hennes
f534d47700
Gui: Check return value
...
Coverity issue 513113
2025-03-23 08:51:38 +01:00
Bas Ruigrok
de3853e837
Gui: Align to selection using a smaller rotation
2025-03-22 11:35:46 -05:00