Commit Graph

5080 Commits

Author SHA1 Message Date
mac-the-bike
63424d4aee Version 4 of the Erasing Elements Code 2023-11-22 11:56:21 +00:00
wmayer
cbc3d81bca Gui: save active palette
If the QLineEdit is disabled the current color group of the cached QPalette is set to 'Inactive'. Now when enabling the QLineEdit the wrong palette is set and the text looks like it's inactive.
2023-11-17 18:52:28 +01:00
Abdullah Tahiri
6a9fa8da68 Gui: QuantitySpinBox - keep format on setValue
==============================================

Problem:
When the value set is a double, a new Quantity is created, which does not follow
the previously configured format (setDecimals).

Solution:
To copy the old format to the newly created quantity.
2023-11-16 19:29:46 +01:00
sliptonic
13792dcdb6 Merge pull request #11356 from mwganson/pythoneditor
[Python editor] match current indentation for next line when  pressin…
2023-11-13 11:06:49 -06:00
Abdullah Tahiri
686dafc108 Gui: ReportView - include notifier string
=========================================

Console error, warnings, ... allow for a notifiername. This appears separately in the notification area. However, the report view ignores it.

This commit prepends the notifier string separated by a semicolon, if not empty.

It solves the problem that, if the message did not include the notifier, this was not indicated in the Report View.

If the message included the notifier, then it was duplicated in the notification area.
2023-11-13 12:04:53 -05:00
tmksw
39f76dde67 Gui: Do not add non-existing files to open recent menu 2023-11-13 14:03:36 -03:00
wmayer
33f08ef2fe Gui: restore old behaviour to set up main window 2023-11-13 13:55:44 -03:00
wmayer
a20a053b60 Gui: only use primary screen to restore main windows settings 2023-11-13 13:55:44 -03:00
wmayer
dce0deca9b Gui: getter Gui::MainWindow::isRestoringWindowState possibly mismarked as a slot [-Wclazy-const-signal-or-slot] 2023-11-13 14:36:56 +01:00
wmayer
9bb996e2f3 Gui: Fixes #11341: Adjusting Light Sources in Preferences 2023-11-12 13:41:13 +01:00
mwganson
b778bc723c [Python editor] match current indentation for next line when pressing enter key, addresses issue 5551 2023-11-11 10:25:50 -06:00
Chris Hennes
954c2fa03f Update translations 2023-11-09 12:23:56 -06:00
Abdullah Tahiri
0d221c0969 Sketcher: Fix lints 2023-11-08 17:46:34 +01:00
Abdullah Tahiri
5873403254 Fix Compiler warnings of previous merged PRs 2023-11-08 15:20:13 +01:00
Abdullah Tahiri
4a7f71449d EditableDatumLabel: Extend with function to differentiate positioning from dimensioning OVPs 2023-11-08 15:20:13 +01:00
Paddle
fc472601e4 EditableDatumLabel : Fix issue where the spinbox would get in the way of the cursor for angle. For example line angle. 2023-11-07 15:36:21 +01:00
Paddle
f8be4d5f45 EditableDatumLabel : make sure the spinbox that has the focus is on top. 2023-11-07 15:36:21 +01:00
Paddle
e614b69866 EditableDatumLabel : prevent spinbox from going out of the view. 2023-11-07 15:36:21 +01:00
PaddleStroke
4eb8fc590c Std_Transparency : Toggle transparency of objects. (#10805)
* Std_Transparency : Toggle transparency of objects.
* Remove "Std_ToggleTransparency" from toolbar

---------

Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com>
2023-11-06 12:41:27 -06:00
bgbsww
4c5d6ce303 Change overlay window arrow keys to use Ctrl instead of Shift 2023-11-06 11:23:59 -06:00
mos
8f933f509f removed unused variable 2023-11-06 11:19:52 -06:00
Chris Hennes
aaa0db3867 Merge pull request #11231 from DeflateAwning/http-cleanup
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
Kuzemko Alexsandr
2d89e6131e Change [code] to ``` as code tag don't recognize and user need manually correct tag. (#11226) 2023-11-06 14:11:42 -03:00
sliptonic
6aba810070 Merge pull request #11218 from Rexbas/hide-spinning-rotation-center
Gui: Hide rotation center when in spinning mode
2023-11-06 11:04:45 -06:00
wmayer
89c8e7a76c Gui: issue #9205: Default settings make it hard to select objects in the 3D window 2023-11-06 10:58:20 -06:00
Chris Hennes
cf84c171e6 Merge pull request #10978 from FlachyJoe/modernize-type-check
Modernize type and derived type checking
2023-11-06 10:44:32 -06:00
MisterMaker
29fbab3a58 [GUI] Stylesheet fixes for overlay icons, pop-up notifcation and QMDI window (#11244)
* Fix for the overlay icons and pop-up notifcation

* Added a fix for the QMDI window
2023-11-05 04:34:09 -03:00
Abdullah Tahiri
882262bfa8 Sketcher Gui: clang-tidy diagnostic errors 2023-11-05 07:11:57 +01:00
Paddle
889c8c49f1 SplashScreen : Add "ShowSplasherMessages" parameter to disable labels from the splashscreen. 2023-11-04 21:58:00 +01:00
bgbsww
8baf75af84 Fix #11032 flickering when switching to Part Design
* Remove unneeded timer on taskview updates to fix #11032

* Remove obsoleted class member
2023-11-02 16:32:32 +01:00
Chris Hennes
b2f069f8b0 Merge branch 'main' into modernize-type-check 2023-10-31 15:46:18 -05:00
DeflateAwning
8de6db3e97 Find and replace http://freecad.org to https://freecad.org
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
DeflateAwning
c847a3d516 Change http to https in SVGs
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Include: *.svg
2023-10-29 22:32:59 -06:00
Rexbas
870ca64654 Gui: Hide rotation center when in spinning mode 2023-10-28 11:04:51 +02:00
Camille
6cf8e7611e with this solution, we have traded a crash for a memory leak. so it is only activated for MAC OS where we have the crash, until we find a better solution. 2023-10-27 18:07:20 +02:00
Camille
27a6f78e9a Fix issue #9465 [Problem] Coin version on Mac Conda builds causes transform crash - see issue for detailed explanation. 2023-10-27 18:07:20 +02:00
wmayer
c6c3b90b0d Gui: invalid property type used for spin box, duplicated object name used 2023-10-27 10:51:56 +02:00
Chris Hennes
cbd0ef5975 Merge branch 'main' into modernize-type-check 2023-10-25 16:07:28 -05:00
wmayer
41503d63eb Gui: replace SbBool with bool in View3DInventorViewer 2023-10-25 19:40:59 +02:00
wmayer
387a2984b6 Gui: fix lint warnings in View3DInventorViewer 2023-10-25 19:40:59 +02:00
wmayer
8e60e1c1a6 Gui: fix lint warnings in SoQTQuarterAdaptor 2023-10-25 19:40:59 +02:00
Rexbas
61c1b2bfc2 Gui: Apply Law of Demeter to starting and stopping animations 2023-10-25 11:17:55 +02:00
Rexbas
9eee332bb3 Gui: maybe_unused for unused parameters 2023-10-25 11:17:55 +02:00
Rexbas
7bb97c1882 Gui: Bring back removed lookAtPoint(SbVec3f&) 2023-10-25 11:17:55 +02:00
Rexbas
a2c2bf5a4b Gui: Revert breaking Python interface change for viewPosition() 2023-10-25 11:17:55 +02:00
Rexbas
3a4fdbb3fd Gui: Add QObject as friend of NavigationAnimation 2023-10-25 11:17:55 +02:00
Rexbas
a10fa294b6 Gui: Fix animation translation 2023-10-25 11:17:55 +02:00
Rexbas
65a4a65553 Gui: Set exact orientation when animation is finished 2023-10-25 11:17:55 +02:00
Rexbas
bb1815b80a Gui: Add animation interrupted signal 2023-10-25 11:17:55 +02:00
Rexbas
fdc07dba67 Gui: Split stopAnimation() into onStop() and inherited stop() 2023-10-25 11:17:55 +02:00