Commit Graph

5071 Commits

Author SHA1 Message Date
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
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
Rexbas
b147e78cda Gui: Replace startAnimation() with inherited start() 2023-10-25 11:17:55 +02:00
Rexbas
e2579b7685 Gui: Remove unnecessary 'started' variable member in navigation animation 2023-10-25 11:17:55 +02:00
Rexbas
37e600e766 Gui: Refactor navigation animations
- Animations are played through an Animator
- Standard animations have a fixed duration and inherit from QVariantAnimation
- The animation duration can be changed in the preferences
- Fix animations when using the two arrows above the NaviCube
- Start an animation or start and wait for an animation
- Replaces standard camera animations (e.g. by selecting standard views or NaviCube) with FixedTimeAnimation
- Replace View3DInventorViewer's CameraAnimation with FixedTimeAnimation
- Replace OpenInventor navigation style infinite spin animation with SpinningAnimation
- Stops an active animation when a new animation is started
- Stops an active animation when the user starts dragging, panning or zooming
- Refactor reorientCamera so it can be used in animations
- Enable animations by default
2023-10-25 11:17:55 +02:00
Paddle
0b7e8c80e1 EditableDatumLabel : prevent re-activation or re-startEdit. 2023-10-24 19:27:10 +02:00
Paddle
eff45035a7 Add a 'value' double to EditableDatumLabel such that we can store the raw value of the spinbox. For the case where editStopped but we still need to access value.
Also write the value in the SoDatumLabel in case we stopEdit.
2023-10-24 19:27:10 +02:00
Paddle
7f1fe0a3f7 EditableDatumLabel : Change the 'invisibleToMouse' to 'visibleToMouse' to avoid double negation.
Also add parameter to startEdit to set this setting. Defaulting to false. So that we don't have to set manually again and again in tool settings.
2023-10-24 19:27:10 +02:00
wmayer
aaa962944b Gui: With Qt6 QColor's redF(), greenF(), blueF() methods return a float 2023-10-24 13:30:40 +02:00
wmayer
a8c65ec621 Gui: rename methods setBacklight() & isBacklight() to harmonize with setHeadlightEnabled() & isHeadlightEnabled() 2023-10-24 13:30:40 +02:00
Paddle
2c3b467567 Fix build fail by adding
#include <Inventor/draggers/SoDirectionalLightDragger.h> to PreCompiled.
2023-10-24 10:46:41 +02:00