Commit Graph

6953 Commits

Author SHA1 Message Date
PaddleStroke
0a010b1300 Core: move getPlacementProperty to be more accessible (#26088)
* Core: move getPlacementProperty to be more accessible

* Update DocumentObject.h

* Update DocumentObject.cpp

* Update ViewProviderDragger.h

* Update ViewProviderDragger.cpp

* Update DocumentObject.h

* Update DocumentObject.cpp

* Update ViewProviderLink.cpp

* Update DocumentObject.h

* Update DocumentObject.cpp

* Update DocumentObject.h
2025-12-12 11:59:03 +00:00
timpieces
a06fbe27b0 Add proper tooltips for Material properties #24434 (#25509) 2025-12-11 14:56:26 +00:00
Kacper Donat
a23ccfffff Stylesheets: Fix toolbar button size change 2025-12-10 20:15:34 +01:00
Yash Suthar
0e37f240de Link: Fixed Scale property behaviour when the object is moved
Signed-off-by: Yash Suthar <yashsuthar983@gmail.com>
2025-12-10 20:13:56 +01:00
freecad-gh-actions-translation-bot
97b9193d71 Update translations from Crowdin 2025-12-08 22:31:48 -06:00
Syres916
11a0ace103 Merge pull request #25809 from Syres916/HotFix_For_Win_and_Wayland_For_First_Run
[Gui] Hotfix for correcting main window position on first run and Safe Mode on Windows and Wayland
2025-12-08 11:18:58 -06:00
tetektoza
c7d39807df Gui: Fix preferences search popup positioning on Wayland (#25675)
* Gui: Fix preferences search popup positioning on Wayland

Change window flag from `Qt::Tool` to `Qt::ToolTip` to fix popup
appearing in center of screen and closing immediately on Wayland desktop
envs. `Qt::ToolTip` uses xdg_popup protocol which provides proper
positioning relative to parent window on Wayland.

* Gui: Initialize ok check flag to default in prefs

* Gui: Use ranged for loop where possible in prefs

* Gui: Remove unused variable in preferences controller

* Gui: Use const where possible in prefs search dialog

* Gui: Use static where possible in search prefs dialog

* Gui: Use braced initializer list when returning type in search prefs

* Gui: Use auto in search prefs dialog where possible

* Gui: Do not use else if after return in search prefs dialog

* [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-12-07 11:43:09 +01:00
Frank David Martínez M
9398497a33 Gui: Fix 25974 freecad.gui alias regression (#25975) 2025-12-05 19:03:40 +00:00
Frank David Martínez M
da43de8ae0 [Core] FreeCADInit and FreeCADGuiInit refactoring (#23413) 2025-12-04 11:10:53 -06:00
PaddleStroke
a8bb43837e GUI: Fix broken build - splitbutton (#25892) 2025-12-02 20:24:57 -06:00
Chris Hennes
02faa54b94 Revert "GUI: fix "select all instances" (#25503)"
This reverts commit 6b60867368.
2025-12-01 18:24:25 +01:00
Chris Hennes
98734790de Utils: Don't save location of Python executable 2025-12-01 17:03:46 +00:00
Chris Hennes
e0d12c2f6f Merge pull request #25713 from kadet1090/split-button
Gui: Use SplitButton for config migration modal
2025-12-01 10:52:19 -06:00
Syres916
c2ac9ff284 [Gui] Fix AxisLetterColor on opening Preferences and correct LightSources parameter group
Also remove workaround as stated in the comments just before 1.1.0 Release.
2025-12-01 17:34:44 +01:00
PaddleStroke
596aaf40a7 Core: Close partially opened document when doc is closed. (#25659) 2025-11-30 23:33:43 -06:00
Chris Hennes
9cd4a2ec7d Merge pull request #24262 from mnesarco/pyi-fixes-1 2025-11-29 20:23:37 -06:00
Kacper Donat
294dadd77d Gui: Use SplitButton for config migration modal 2025-11-28 10:15:04 +01:00
Kacper Donat
061482ffb6 Gui: Add SplitButton widget
This adds SplitButton widget that has one primary action and possibly
more secondary ones accessible via menu.
2025-11-28 10:15:04 +01:00
Pieter Hijma
217dc43f64 Gui: Fix refresh on boolean property toggle 2025-11-26 14:42:38 -06:00
Chris
e26ffd782a GUI: fix "select all instances" (#25503) 2025-11-26 14:20:23 -06:00
PaddleStroke
58d12221a5 Gui: Do not lose thumbnail when saving partially loaded doc (#25458) 2025-11-26 13:53:11 -06:00
PaddleStroke
84ec0d1c77 DlgSettingsDocument : fix tooltip 2025-11-26 16:55:18 +01:00
github-actions
914b34cc1a Update translations from Crowdin 2025-11-25 21:20:42 -06:00
tetektoza
56cd161fd7 Gui: Support searching for tooltips, comboboxes and groups in Prefs
As the title says. This patch adds support for finding tooltip text,
also extends widget types to QSpinBoxes/QDoubleSpinBoxes and also adds
support for finding combobox items from QComboBox dropdown. Also adds
support for QGroupBox titles.
2025-11-25 13:49:17 +01:00
Max Wilfinger
979b9ea539 Gui: Add command to create an AnnotationLabel (#23673)
* Gui: Add command to create an AnnotationLabel

* Update src/Gui/CommandStd.cpp

Co-authored-by: Kacper Donat <kadet1090@gmail.com>

* Update src/Gui/CommandStd.cpp

Co-authored-by: Florian Foinant-Willig <FlachyJoe@users.noreply.github.com>

---------

Co-authored-by: Kacper Donat <kadet1090@gmail.com>
Co-authored-by: Florian Foinant-Willig <FlachyJoe@users.noreply.github.com>
2025-11-25 11:47:05 +01:00
Max Wilfinger
79df174b65 Gui: Add icon to Clarify Selection tool (#24844) 2025-11-25 11:35:28 +01:00
Chris Hennes
8f07f4e1b9 Merge pull request #25548 from Rexbas/fix-gesture-contextmenu-segfault
Gui: Fix Gesture style context menu segfault
2025-11-24 11:13:14 -06:00
Chris Hennes
9b2d4d0d8d Gui: Switch to defusedxml for document recovery 2025-11-24 17:07:39 +00:00
Chris Hennes
c4d7036c3b Merge pull request #25526 from Syres916/Fix_Two_StyleSheet_Issues
[Gui] increase contrast of menu separators and down arrows in comboboxes
2025-11-24 10:48:12 -06:00
xtemp09
6437e17821 [GUI] Handle ampersand in windowTitle 2025-11-24 08:18:28 -06:00
Chris Hennes
da62e85c22 Merge pull request #25479 from Syres916/Fix_DlgPropertyLink_Utf8_DocumentName
[Gui] Fix string encoding for document, object and subobject names in PropertyLink, SelectionSearch, PD Sketch Based Tasks, Part Primitives and Document handling.
2025-11-23 23:32:20 -06:00
Bas Ruigrok
2979c387ab Gui: Simplify QObject::connect in openPopupMenu
Co-authored-by: xtemp09 <9303235+xtemp09@users.noreply.github.com>
2025-11-23 14:30:51 +01:00
Bas Ruigrok
f1b09b4d37 Gui: Fix Gesture style context menu segfault 2025-11-22 15:39:32 +01:00
Syres916
3bd095922f [Gui] Reduce separator from 2px to 1px 2025-11-21 19:10:20 +00:00
Syres916
beb36c02a4 [Gui] increase contrast of menu separators and down arrows in comboboxes 2025-11-21 17:07:03 +00:00
Logstor
3d24580646 Removed sys in 'from os import sys, path' 2025-11-20 20:13:16 -06:00
Syres916
37a0065d6d [Gui] Fix string coding on selection changed 2025-11-20 21:37:05 +00:00
Syres916
48ed5b7f37 [Gui] Fix string encoding for document name 2025-11-20 20:02:21 +00:00
pre-commit-ci[bot]
1197dc5cae [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-11-20 19:55:20 +00:00
Syres916
cb9f7a2f34 [Gui] Fix string encoding for preselect, select and deselect 2025-11-20 19:52:12 +00:00
pre-commit-ci[bot]
db69367544 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-11-20 19:22:23 +00:00
Syres916
bb0ed0b90d [Gui] Fix string encoding for document, object and subojects 2025-11-20 19:19:45 +00:00
Syres916
5bcfa0e263 [Gui] Fix string encoding for document name 2025-11-20 18:37:50 +00:00
pre-commit-ci[bot]
799d7bada8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-11-20 16:31:00 +00:00
Syres916
b7fb8ed4bf [Gui] Fix string encoding document name and object name 2025-11-20 16:28:04 +00:00
Syres916
7ce0a0bf0e [Gui] Fix incorrect document name when updating PropertyLink 2025-11-19 23:43:52 +00:00
Chris Hennes
140d58ba38 Gui: Translate 'Don't show me again' 2025-11-20 00:28:17 +01:00
Kacper Donat
bb234b3b44 Gui: Fix stylesheet loading order
For some platforms due to event loop and timer triggering being not
deterministic stylesheets could be loaded before style parameters were
fully loaded. This caused warnings about style parameters to appear
potentially confusing users.

This commit changes the stylesheet loading to happen much earlier in the
process so the stylesheet is applied before theme preselection has
chance to happen.
2025-11-19 13:00:14 -06:00
Kacper Donat
908f9ff36e Gui: Save defaults layout after first launch 2025-11-19 10:27:20 -06:00
Chris Hennes
09c4863134 Gui: Update About banner for 1.2-dev 2025-11-18 19:58:03 +01:00