Commit Graph

5595 Commits

Author SHA1 Message Date
PaddleStroke
e6fb9f0185 Assembly: Use canDragObjectToTarget in viewProviderAssembly 2024-07-15 17:53:02 +02:00
PaddleStroke
e71351cf7d Core: Tree / ViewProvider : Add canDragObjectToTarget 2024-07-15 17:53:02 +02:00
PaddleStroke
febe4dbd8c Core: Tree.cpp: few syntax fixes 2024-07-15 17:53:02 +02:00
bgbsww
e07d940f5b Toponaming: Process mapped names during selection 2024-07-15 10:45:43 -05:00
Kacper Donat
d282d449b9 Gui: Ability to target new file buttons fia QSS.
This adds ability to target New File buttons via `#CreateNewRow >
QPushButton` selector.
2024-07-15 10:43:05 -05:00
Chris Hennes
d7b0da3a54 Merge pull request #15085 from wwmayer/issue_15068
Sketcher: Delete key in non-functional in macOS
2024-07-15 10:34:55 -05:00
Chris Hennes
e17a0bee5f Merge pull request #15010 from hlorus/measure_distance_components
MeasureGui: Add MeasureDistance X, Y and Z components back
2024-07-14 23:46:04 -05:00
Chris Hennes
8bc38f0a92 UI: Fix repeated names in UI files 2024-07-14 22:34:37 -05:00
Chris Hennes
59f815234a Merge pull request #15371 from yorikvanhavre/translations
Translations
2024-07-14 12:55:28 -05:00
Pieter Hijma
fc6120b8dd Gui: Prevent invalid editors in VarSet dialog
In the VarSet dialog, we can create an editor after the name and type
has been determined.  However, if the name is changed after an editor
has been created, the editor is invalid because the underlying property
has been removed.  In that case, the function onNameDetermined() should
clean up the invalid editor and this happens in most cases.
Unfortunately, it cannot handle the case in which a click happens on the
invalid editor itself.  This click should result in onNameDetermined() but
since the editor is already invalid, onNameDetermined() is triggered too
late.

The current commit solves this by listening for every change in the name
of the property and handle the editors accordingly.
2024-07-13 22:51:46 -05:00
Chris Hennes
f8deaaaf86 Merge pull request #15190 from hlorus/measure_dependency_violation
MeasureGui: Fix measure dependency violation
2024-07-13 19:56:23 -05:00
Roy-043
b08074e15b Gui: fix icon name conflict related to Std_ViewScreenShot
The image Std_ViewScreenShot.svg was not used in the GUI. The command Std_ViewScreenShot used a different icon. This caused a name conflict in the Wiki.
2024-07-13 19:32:14 -05:00
Roy-043
d854dc78fc Gui: Minor cleanup related to obsolete Part_Measure tools 2024-07-13 19:31:51 -05:00
Yorik van Havre
e76b5ec4ca Merged crowdin translations 2024-07-11 15:07:17 +02:00
Yorik van Havre
1c79768f7d Updated ts files 2024-07-11 14:56:33 +02:00
Chris Hennes
c1f1ee4748 Gui: Add SoDecomposeVec3f.h to InventorAll.h 2024-07-10 08:28:50 -05:00
FEA-eng
5bc00c302b Update DlgSettingsUI.ui 2024-07-10 10:31:29 +02:00
wmayer
de8f153ca3 Core: In dialog to add property only list types that can be instantiated
Fixes #15159: Dialog for adding properties allows property types that give exceptions
2024-07-10 08:47:38 +02:00
wmayer
17c06a4a22 Gui: Extend TaskDialog
* Add TaskDialog::autoClosedOnDeletedDocument()
* Add option to automatically close task dialog when document is deleted
* Expose autoClosedOnDeletedDocument() to Python
* Expose autoClosedOnTransactionChange() to Python
* Change ControlPy::showDialog() to directly return the task dialog wrapper
* Change TaskView::slotDeletedDocument() to close task dialog if requested
2024-07-10 08:43:43 +02:00
Yorik van Havre
78259314e2 Merged crowdin translations 2024-07-09 08:52:17 -05:00
Yorik van Havre
f325fdbace Updated ts files 2024-07-09 08:52:17 -05:00
luzpaz
2837b46c3e Fix various typos throughout the codebase 2024-07-08 17:19:20 -05:00
Max Wilfinger
8ff5a1f688 Fix source string typos mentioned on Crowdin (#15261) 2024-07-08 17:18:31 -05:00
FEA-eng
980db72c1f Remove QtStyle preference when applying Classic theme (#15168) 2024-07-08 13:44:08 -04:00
wmayer
2b08586059 Quarter: Update Quarter code
* Removes unused default constructors of the device classes
* Changes several doc strings
2024-07-08 10:54:41 -05:00
wmayer
e9f908dc9f Gui: Don't show Python console by default
Fixes #15201
2024-07-05 14:56:37 +02:00
wmayer
d7e9e9ef48 Fixes #14772: Random color problem 2024-07-04 22:23:10 +02:00
wmayer
6ed23c2e7d Gui: Fix crash in QuarterWidgetP::removeFromCacheContext
Fixes #https://github.com/FreeCAD/FreeCAD/issues/14988
2024-07-04 22:21:44 +02:00
wmayer
8e0cd381ab Gui: Fix crash when trying to calibrate image after document is closed 2024-07-04 22:19:42 +02:00
hlorus
ab1d86235d [MeasureGui] Move measure cmd and task into measure module
...to avoid core depending on modules
2024-07-04 14:56:49 +02:00
Chris Hennes
54ff56b1ee Merge pull request #15051 from kadet1090/better-addon-manager-discoverability
Gui: Add information about custom themes to settings
2024-07-02 07:44:21 -05:00
Yorik van Havre
56e46e5f4e Translations (#15107)
* Updated ts files

* Merged crowdin translations

* [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>
2024-07-02 12:21:53 +02:00
Kacper Donat
3e0fb8fc13 Gui: Add information about custom themes to settings
Fixes: #14929
2024-07-01 18:27:23 +02:00
MisterMaker
44c1f3abb4 (GUI) Delete dark behave. (#14827) 2024-07-01 11:11:00 -05:00
wmayer
68ae3c95dc Core: Update color bar when changing preferences
This solves one part of issue #10717
2024-07-01 10:55:21 -05:00
hlorus
1d861559f3 MeasureGui: Paint icons in textcolor 2024-07-01 17:51:51 +02:00
Chris Hennes
96731cbd66 Merge pull request #14455 from kadet1090/toolbar-dragging
Gui: Add dragging support for custom ToolBarAreas
2024-07-01 10:49:27 -05:00
Syres916
084bf8c6b4 [Gui] Preferences - Workbenches add text to advise how to sort...
...alphabetically
2024-07-01 10:45:36 -05:00
Furgo
a189697c99 Simplify comboview/treeview choice with natural language 2024-07-01 10:44:49 -05:00
Furgo
b91ef32970 Remove unavailable Tree view mode option from tooltip 2024-07-01 10:44:49 -05:00
Kacper Donat
b386314415 Preferences: Reorganize UI and Theme pages in Display group
This changes current "Display/UI" pages to "Display/Advenced" as most of
settings there were pretty technical. These settings are not removed as
it is hard to decide which one should be removed and which one should
stay and we are too close to UI freeze.

Settings that should be obviously kept were moved to new "Display/UI"
section which now includes also options from previous "Display/Theme".

Fixes: #14412
2024-07-01 10:41:30 -05:00
wmayer
3f41cf58da Gui: Fix Delete key in parameter editor 2024-07-01 11:53:53 +02:00
wmayer
86efa87fe1 Core: Refactor SoFCColorGradient and fix linter warnings 2024-06-30 19:16:33 +02:00
Chris Hennes
31aafecff6 Gui: WorkbenchSelector linter cleanup 2024-06-29 18:15:52 -05:00
Pieter Hijma
06afcba869 Core: Fix a missing Python interpreter lock
ReportView has a missing Python interpreter lock.  It is not breaking
FreeCAD in general but it is deemed a bug nonetheless.  See the issue.
2024-06-27 08:02:15 -05:00
Chris Hennes
78c655af20 Gui: Remove unused ref to GL context 2024-06-26 11:53:18 -05:00
PaddleStroke
6082b67ed0 Assembly: Insert Component: Fix 'Joint Group' being listed even though it's empty. It's because we were using OutList instead of claimChildren. 2024-06-25 16:37:31 +02:00
Kacper Donat
e04b28e66d Gui: Use our own ToolBar class in all places 2024-06-25 11:39:54 +02:00
Zheng, Lei
214322665b Gui: Add dragging support for custom ToolBarAreas
This adds dragging support for toolbars placed in custom toolbar areas.
It is achived by creating our own custom ToolBar class that handles
logic of providing custom gripper. This is required because Qt hides
gripper when toolbar is not direct child of the main window which cannot
be overriden. Custom class should allow us to create more capable
toolbars in the future so it should be great addition on its own.

Co-Authored-By: Kacper Donat <kacper@kadet.net>
2024-06-25 11:39:51 +02:00
PaddleStroke
8ef57be4bb Core: ViewProvider: Add claimChildrenRecursive 2024-06-25 11:34:43 +02:00