Commit Graph

6238 Commits

Author SHA1 Message Date
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
xtemp09
14b2b254a4 [Spreadsheet] Fix input in expression editor (#19934)
* [Spreadsheet] Fix input in expression editor

Closes #19804

* [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-03-22 11:25:17 -05:00
Chris Hennes
207a368ab4 Gui: Don't allow manipulator to delete the menubar
Same for the toolbar or context menu.
2025-03-22 07:15:15 +01:00
Alfredo Monclus
f766f6221c Gui: spinbox use getmargin 2025-03-20 14:23:36 +01:00
Alfredo Monclus
8d2ed0ec0c Gui: spinbox add patch for qt<6.3 2025-03-20 14:23:36 +01:00
Alfredo Monclus
d40d6fafdd Gui: fix spinbox numbers should not go under the icon 2025-03-20 14:23:36 +01:00
Alfredo Monclus
cea9a4002e Gui: correct the size and position of the expression (fx) icon 2025-03-20 14:23:36 +01:00
Guillaume Roguez
17719536bc fix dialogs button size in case of long text
Let the layout engine computes the size of all QPushButton by unset
the minimalSize value set by "min-width" QSS property in themes.

Fix #18019.
2025-03-19 13:37:47 +01:00
Chris Hennes
21c07cabc5 FreeCAD: Compiler warning fixes 2025-03-19 10:13:34 +01:00
Chris Hennes
09cdcee1bb App: Coverity fixes 2025-03-18 15:59:22 +01:00
Chris Hennes
5e6a37a1fa Merge pull request #19899 from tritao/cmake-cleanup-targets
CMake: Cleanup targets with transitive dependencies
2025-03-17 13:15:37 -05:00
Benjamin Bræstrup Sayoc
d2a55a0f17 Gui: fix centering in color button 2025-03-17 15:19:00 +01:00
tritao
cdab9c7837 CMake: Cleanup targets with transitive dependencies 2025-03-17 12:12:06 +00:00
Chris Hennes
9a77120e82 Merge pull request #20142 from bofdahof/ranges
Apply C++20 std::ranges (mainly to std::find)
2025-03-17 03:08:27 -05:00
Chris Hennes
0924f159a1 Merge pull request #20160 from karliss/popup-parent
Add missing parent for messagbox and other popups.
2025-03-17 00:16:49 -05:00
Chris Hennes
9e0d77d7f4 Merge pull request #19583 from hyarion/refactor/base-type
Refactor Base::Type
2025-03-17 00:03:22 -05:00
Chris Hennes
6e3a63fec3 Merge pull request #20172 from PaddleStroke/patch-17
Sketcher: Fix negative angle rendering negative bug
2025-03-17 00:02:37 -05:00
Chris Hennes
5dea134d97 Merge pull request #19924 from benj5378/codeDupEditor
Gui: avoid code duplication in PythonEditor
2025-03-17 00:02:03 -05:00
Chris Hennes
f17addb214 Merge pull request #19890 from Shkolik/sketcher_defining_color
Sketcher: Preference color added for External defining geometry
2025-03-17 00:00:02 -05:00
Chris Hennes
e0aa5f3c30 Merge pull request #19917 from tritao/refactor-document-recompute
Core: Refactor code around document and feature recompute
2025-03-16 23:59:12 -05:00
Chris Hennes
93daa022f5 Merge pull request #20191 from mosfet80/patch-12
clean  Gui/CMakeLists.txt
2025-03-16 23:57:01 -05:00
bofdahof
cb5caf6765 Gui: apply std::ranges 2025-03-16 17:15:14 -05:00
Karliss
42790475d6 Add missing parent for messagebox and other popups
Unparented popups can easily get lost in backround, but they still block top level event loop when run with ::exec() thus preventing interactions with main window.  This mainly happens on wayland. Setting the parent ensures they are always kept on top and reasonably positioned.
2025-03-16 16:02:36 -05:00
Luz Paz
6564a7b107 Fix various typos 2025-03-14 12:37:12 -04:00
mosfet80
c06e757e18 clean Gui/CMakeLists.txt
clean code
2025-03-14 09:20:02 +01:00
Chris Hennes
44908ad721 Merge pull request #19428 from tritao/base-tracy-profiler
Base: Add Tracy frame profiling support.
2025-03-14 04:12:05 +00:00
Joao Matos
0feab195ac Base: Add build support and instrumentation for the Tracy profiler. 2025-03-14 03:41:30 +00:00
PaddleStroke
61801fd727 Sketcher: Fix negative angle rendering negative bug 2025-03-13 15:28:23 +01:00
Benjamin Bræstrup Sayoc
2ebb951bb1 Gui: avoid code duplication in PythonEditor 2025-03-13 14:23:05 +01:00
Syres916
791256bc48 [BIM] Material dialog - fix the minimum width of four buttons in new group box 2025-03-12 06:05:08 +00:00
Chris Hennes
c9b562f7bc Merge pull request #19929 from tringenbach/feature/hidpi-navicube-fix
Gui: HiDPI NaviCube fix
2025-03-11 21:34:29 +00:00
Chris Hennes
3ce193ddb8 Merge pull request #19921 from mosfet80/QT_CLEAN
REMOVE old QT<= 5.14 code
2025-03-11 20:54:59 +00:00
Chris Hennes
7ae079a5d8 Merge pull request #19926 from benj5378/toStringasd
Gui: clean up PropertyItem::toString
2025-03-11 20:38:15 +00:00
Yorik van Havre
b1a82114a8 Merge pull request #20109 from Syres916/IFCPropertiesWindow_Fix
[BIM] Correct styling of DeleteIFCProperties button and add GroupBox for the two lower comboboxes and the button
2025-03-11 12:48:45 +00:00
Chris Hennes
fb70530505 Merge pull request #20031 from PaddleStroke/patch-11
App::Link : deleting it deletes its elements if any
2025-03-10 17:27:59 +00:00