Commit Graph

5762 Commits

Author SHA1 Message Date
Bas Ruigrok
3427e60fe4 Gui: Fix orthographic camera standard views in an empty scene 2024-09-09 17:59:50 +02:00
Bas Ruigrok
db7ee95347 Gui: Use Coin 4.0.3 fix for orthographic camera clipping 2024-09-09 17:58:32 +02:00
MisterMakerNL
1eee14810f changed selection colors 2024-09-09 17:44:21 +02:00
wmayer
9213635c9d Core: Placement dialog
+ replace separate buttons with QDialogButtonBox
+ add convenience method setPlacementAndBindObject
+ use const DocumentObject
2024-09-09 12:28:22 +02:00
Jiří Pinkava
ea6a0943cc OverlayManager: fix unititialized hideTab variable
The hideTab is of type bool, which is primitive type and is thus unitialized if new
instance of the class is created. The exception would be to for static
instance of the class, but that is not the case (only the pointer to the instance is static).

It was originaly initialized, but the initialization was removed in
8cf94c1aba1.
2024-09-08 20:13:21 -05:00
PaddleStroke
fb509154ab App::Link: fix crash with Draft Array (#16240)
* App::Link: fix crash with Draft Array
2024-09-08 17:12:55 -05:00
Chris Hennes
4b77c189eb Merge pull request #16281 from benj5378/aboutStylesheet
[Gui] Add style, theme and qtstyle info to clipboard about info
2024-09-08 17:07:55 -05:00
Bas Ruigrok
2123e53d42 Gui: Fix alignment direction for transformed objects 2024-09-07 13:27:59 +02:00
David Carter
d33c995019 Materials: UI updates for transparency
Add missing UI elements to support per face transparencies:
- Setting per face transparencies
- show transparency information in the appearance inspector
- expose alpha channel in material properties dialog
2024-09-06 14:17:20 -05:00
Benjamin Bræstrup Sayoc
f366227933 [Gui] Add style, theme and QtStyle to clipboard about info
Fixes #16272
2024-09-06 10:34:12 +02:00
Benjamin Bræstrup Sayoc
33ab8fa2e8 [Gui] QtStyle preference consistency
Previously, the some of the code searched for the QtStyle in the wrong location
2024-09-06 10:34:04 +02:00
wmayer
e3fc2f9582 Core: Add option to ignore transactions in placement dialog 2024-09-05 19:18:20 +02:00
wmayer
df67720eac Core: Expose Placement dialog to Python 2024-09-05 18:17:08 +02:00
wmayer
6f245c0103 Core: Change placement dialog to operate on passed selection objects 2024-09-05 17:43:09 +02:00
wmayer
f8648b475a Core: Refactor placement dialog 2024-09-05 17:08:43 +02:00
qewer33
f54600dfdf fixup! Gui: Add new splash images 2024-09-02 12:44:36 -04:00
qewer33
0f510e5790 fixup! Gui: Add new splash images 2024-09-02 12:44:36 -04:00
qewer33
d98b803300 fixup! Gui: Add new splash images 2024-09-02 12:44:36 -04:00
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