Commit Graph

5694 Commits

Author SHA1 Message Date
Ladislav Michl
3668194185 Gui: splashscreen: Use std::string as Log parameter 2024-09-02 12:44:36 -04:00
Ladislav Michl
8042f3af12 Gui: Drop showLic AboutDialog parameter
Since a688e766b836 ("Extended About dialog with credits and license tabs")
(8 years ago) the showLic parameter is unused. Drop it.
2024-09-02 12:44:36 -04:00
qewer33
546499a6ba Gui: Make splashscreen use multiple splash images 2024-09-02 12:44:36 -04:00
qewer33
c33ea199a4 Gui: Disable splashscreen messages by default 2024-09-02 12:44:36 -04:00
qewer33
8479764558 Gui: Add new splash images 2024-09-02 12:44:36 -04:00
MisterMaker
6ef51daec1 set QTstyle to fusion for light and dark theme (#16042) 2024-09-02 18:34:09 +02:00
bgbsww
5a1275ad60 Toponaming: Fix ctrl selection issues by looking up element names and setting up detail path 2024-09-02 18:28:11 +02:00
PaddleStroke
844482e45b App::Link Fix subname when selected in 3d. Fix https://github.com/FreeCAD/FreeCAD/issues/15822 2024-09-02 18:20:18 +02:00
Max Wilfinger
248b05e379 removed version "v0.21" from the old backup format warning message 2024-09-02 18:01:51 +02:00
hlorus
979ca3bbd1 [MeasureGui] Use temporary measure object creation (#15122)
* MeasureGui: Store measure type in TaskMeasure

* MeasureGui: Avoid adding measurement to document during command interaction

* [Gui] Add check for document in VPDocumentObject::getActiveView

* MeasureGui: Track the document when adding objects

* MeasureGui: Cleanup python measurement creation

* [Gui] Add isAnnotationViewProvider method

* [Gui] Check if viewprovider is added as an annotation in getActiveView

* [Gui] Add takeAnnotationViewprovider method to Gui::Document

* [Gui] Make addViewProvider public

* [MeasureGui] Add existing view provider to document when storing measurement

* [MeasureGui] Fix invocation of initial label placement

* [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-09-02 11:54:05 -04:00
wwmayer
7b0a23337c Gui: Prepare for clang-format (#16051)
* Gui: Prepare for clang-format

* [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-09-02 17:48:55 +02:00
bgbsww
608c80b5a3 Toponaming: Remove remaining FC_USE_TNP_FIX defines 2024-08-31 13:21:10 -05:00
Kacper Donat
c3b92154b2 Gui: Add maximum width for font picker in navigation settings 2024-08-31 13:17:06 -05:00
Chris Hennes
05a62ff59f Merge pull request #16122 from yorikvanhavre/translations
Translations
2024-08-31 00:46:40 -05:00
obelisk79
a334379802 Update post.FCMacro to allow proper application of Classic theme
This removes unnecessary code to allow proper setting of "No Stylesheet" when applying classic theme.
2024-08-31 00:45:28 -05:00
Yorik van Havre
2c17bf7200 Merged crowdin translations 2024-08-28 17:51:34 +02:00
Yorik van Havre
0f30e525f5 Updated ts files 2024-08-28 17:50:59 +02:00
Kacper Donat
082b5edf29 Gui: Do not show overlay panels in Start 2024-08-26 11:24:19 -05:00
Chris Hennes
0d293e0655 Merge pull request #15987 from obelisk79/classicfix
Fix FreeCAD Classic cfg file to explicitly reassign theme defaults.
2024-08-26 11:18:21 -05:00
wmayer
c30d42c441 Core: Rename ViewProviderPythonFeature to ViewProviderFeaturePython
Fixes #15888
2024-08-26 18:14:22 +02:00
Kacper Donat
e2b9c82c11 Gui: Ensure minimum size of preferences dialog (#16019)
* Gui: Ensure minimum size of preferences dialog

This will ensure that the width of preferences dialog is resized to fit
all pages properly but not take more than 80% of screen.

* Gui: Use consts for resizing preferences dialog
2024-08-26 10:48:49 -05:00
MisterMaker
64c2dbc804 Overlay blur fix + slightly less white background (#15886)
* remove bluw changed the white background to 2 steps below white

* Delete CMakeSettings.json

* Revert "remove bluw changed the white background to 2 steps below white"

This reverts commit a8cab51f0eb6fc5eb6cb3644d1d13f9421a9b05d.
2024-08-26 10:48:00 -05:00
wmayer
18cd67c64f Linux: Fix regression with mask of cursors if platform name is 'xcb' 2024-08-26 10:35:53 -05:00
Hannu Koivisto
f155d2e272 Fix crash when using box selection with Arch Survey
doSelect() loops over document's object vector.  It can happen that, within
the loop, Gui::Selection().addSelection() gets called and that ends up
calling App::Document::addObject() which pushes an object to the vector that
the loop is traversing.  If the vector is full, its storage is reallocated
and this means that later iterations of the loop are using invalid iterators.
Thus, one ends up with a bogus obj pointer and there will be a crash within
getGroupOfObject().  The problem was observed when using Arch Survey.
2024-08-26 17:33:55 +02:00
obelisk79
fba9a9a0a3 add missing start WB values 2024-08-25 23:11:29 -04:00
obelisk79
dffa1bb350 Resolving discrepancies. 2024-08-25 23:08:28 -04:00
Kacper Donat
953bed50d2 Gui: Fix issue with missing icons in sketcher
This boiled down to conflict of using `data` attribute of the QAction in
ActionGroup and ToolBarManager. I reworked ActionGroup here to not use
the data attribute but this is not a proper solution - but it should be
working well enough.

Proper solution would be to leave the data for the specific usecases (like index)
and store the command name in some other place. It would however require
us to subclass the QAction which is not something that should be done so
late in the release cycle.
2024-08-25 19:40:25 -05:00
Chris Hennes
c536d613b0 Gui: Workaround for #14350 2024-08-24 20:40:33 -05:00
xtemp09
3ec31ef59b Reimplementation of Light source dialog (#15877)
* Reimplementation of Light source dialog

Closes #15793.

* Gui: Remove redundant void arguments

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-08-22 18:58:14 -05:00
obelisk79
e34b8c80e4 Fix FreeCAD Classic cfg file to explicitly reassign theme defaults. 2024-08-21 07:31:00 -04:00
Chris Hennes
fe27127662 Gui: Correct repeated extension
Fixes #15908
2024-08-19 12:30:52 -04:00
Nino Annighoefer
aa40f00f2f Use portable text to set shortcut
At least on macOS, it seems that setting nontrivial shortcuts only works
when the shortcut is converted to `PortableText`, rather than
`NativeText`.

Before, it was impossible to map, eg, the backspace key or CMD-T to an
action. Now this appears to work.
2024-08-18 14:14:35 -05:00
Chris Hennes
5addf9d91b MacOS: Modify OS detection macro (#15924)
* Fixes #15904
* MacOS: Always use Q_OS_MACOS to detect MacOS because the Conda builds do not define Q_OS_APPLE
2024-08-18 08:29:40 -05:00
MisterMaker
7b20b9f3a1 Stylesheet fixes-part VI: The return of the comma (#15806)
This should fix a bunch of issues, like the white arrows the blue select background. @maxwxyz
2024-08-12 11:58:19 -04:00
Pieter Hijma
da75676ce8 Gui: Fix #15203 filename extension export 2024-08-12 11:52:48 -04:00
Pieter Hijma
065d43f71b Core: Fix adding VarSet props with existing prefix 2024-08-12 11:44:24 -04:00
Syres916
0c9c015182 [Gui] Remove the disabling of CornerCoordinateSystem 2024-08-12 11:42:51 -04:00
Syres916
991258559a [Gui] Ensure FreeCAD Classic theme is properly reset...
... but doesn't click Done and so when Preferences>General is opened the Theme displayed in the combobox is always FreeCAD Classic
2024-08-12 11:42:51 -04:00
Max
b256c457e9 Change default to not include the icon file to the file thumbnail on save.
Windows renders the application image on top so it appears twice.
Update example file thumbnails on start page to have a consistent background (classic theme) and remove the old FreeCAD logos.
2024-08-12 11:37:38 -04:00
Syres916
2bd630d362 [Gui] Overlay hide mode improve contrast in both themes... 2024-08-12 11:37:06 -04:00
Chris Hennes
ea9f0c7a67 GUI: Update MacOS detection macros
For GUI-specific things use Q_OS_MACOS, and for other things use
Q_OS_APPLE.
2024-08-12 11:34:39 -04:00
luzpaz
0a9a7bd24e Fix various typos 2024-08-11 12:09:27 -04:00
Chris Hennes
b4abe0b3d3 Gui: Fix crash in DlgSettingsLightSources
Fixes #13357
2024-08-08 21:34:28 -04:00
MisterMaker
401642b355 Stylesheet-fixes V: The final frontier (#15742) 2024-08-05 11:07:49 -05:00
bgbsww
2cd760ac40 Add a command line option to keep application open after running tests 2024-08-05 10:47:59 -05:00
xtemp09
a721dae67a Fix the crash involving context menu
Closes #13637.
2024-08-05 11:43:56 -04:00
Yorik van Havre
23a9f47780 Translations (#15689)
* 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-08-05 10:42:18 -05:00
Chris Hennes
30863382de Merge pull request #15588 from cjmayo/ThemeSearchPaths
Remove icon ThemeSearchPaths option on Linux
2024-08-05 10:41:41 -05:00
MisterMaker
e6863d0d15 Stylesheet fixes part IV - A new hope (to be done for 1.0) (#15586)
* Qcolor dialog fixes

* Fix for white hoover on tabbar

* Changes active color and selected feature color

* update same colors in cfg

* fix for tab pan in material editor

* some fixes

mostly theme accent colors fixes.

* fixed text edit being cut off

https://github.com/FreeCAD/FreeCAD/issues/15603

* extend arrow fix

https://github.com/FreeCAD/FreeCAD/issues/15616

* checkboxes links qpushbuttons etc.

Fixed https://github.com/FreeCAD/FreeCAD/issues/15610#event-13642470770
and hopefully also
https://github.com/FreeCAD/FreeCAD/issues/15136#issuecomment-2254156398

* fixed selection-text color in the preference menu also White is white.

* forgot checkbox spacing for light

* colors update

fix for https://github.com/FreeCAD/FreeCAD/issues/15660#event-13670498420
and
https://github.com/FreeCAD/FreeCAD/issues/15620#issuecomment-2251144435

* Delete CMakeSettings.json

* get out of here

* title a tat higher

* change rubberband from white to blue to make it work with white background.

* setting the colors.

* tree colors
2024-07-29 17:31:17 -05:00
Chris Hennes
369a2f7654 Merge pull request #15652 from kadet1090/ui-fixes
Gui: Cosmetic Fixes
2024-07-29 11:26:58 -05:00