Commit Graph

5762 Commits

Author SHA1 Message Date
Kacper Donat
12630551b5 Gui: Rework preferences navigation as TreeView
This recreates current ListBox + TabView navigation model into
navigation based on TreeView.
2023-11-06 19:27:36 +01:00
bgbsww
0fd7736256 Change overlay window arrow keys to use Ctrl instead of Shift 2023-11-06 11:23:59 -06:00
mos
55abfa201b removed unused variable 2023-11-06 11:19:52 -06:00
Chris Hennes
37a8e348c6 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
697f8a7b77 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
51af5b2afb 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
c0128c1401 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
590fb19f31 Merge pull request #10978 from FlachyJoe/modernize-type-check
Modernize type and derived type checking
2023-11-06 10:44:32 -06:00
MisterMaker
d40e1dff19 [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
533250bc34 Sketcher Gui: clang-tidy diagnostic errors 2023-11-05 07:11:57 +01:00
Paddle
d3235e0c3a SplashScreen : Add "ShowSplasherMessages" parameter to disable labels from the splashscreen. 2023-11-04 21:58:00 +01:00
bgbsww
3df225df3d 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
ce8f48967a Merge branch 'main' into modernize-type-check 2023-10-31 15:46:18 -05:00
DeflateAwning
1e3179e9bc 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
46b3c02647 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
54adf6fbd7 Gui: Hide rotation center when in spinning mode 2023-10-28 11:04:51 +02:00
Camille
6b9ddb5719 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
2d400a4d5f 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
c342b6d728 Gui: invalid property type used for spin box, duplicated object name used 2023-10-27 10:51:56 +02:00
Chris Hennes
583e27e8af Merge branch 'main' into modernize-type-check 2023-10-25 16:07:28 -05:00
wmayer
c81d52a5b2 Gui: replace SbBool with bool in View3DInventorViewer 2023-10-25 19:40:59 +02:00
wmayer
9a5cbcb805 Gui: fix lint warnings in View3DInventorViewer 2023-10-25 19:40:59 +02:00
wmayer
e9ba6dd7b1 Gui: fix lint warnings in SoQTQuarterAdaptor 2023-10-25 19:40:59 +02:00
Rexbas
796c2189e4 Gui: Apply Law of Demeter to starting and stopping animations 2023-10-25 11:17:55 +02:00
Rexbas
8ade932a4f Gui: maybe_unused for unused parameters 2023-10-25 11:17:55 +02:00
Rexbas
0f58c723b6 Gui: Bring back removed lookAtPoint(SbVec3f&) 2023-10-25 11:17:55 +02:00
Rexbas
56b60baeb2 Gui: Revert breaking Python interface change for viewPosition() 2023-10-25 11:17:55 +02:00
Rexbas
9967f68808 Gui: Add QObject as friend of NavigationAnimation 2023-10-25 11:17:55 +02:00
Rexbas
ea5d82a432 Gui: Fix animation translation 2023-10-25 11:17:55 +02:00
Rexbas
fd007dcfd6 Gui: Set exact orientation when animation is finished 2023-10-25 11:17:55 +02:00
Rexbas
990e4a2677 Gui: Add animation interrupted signal 2023-10-25 11:17:55 +02:00
Rexbas
886d63e069 Gui: Split stopAnimation() into onStop() and inherited stop() 2023-10-25 11:17:55 +02:00
Rexbas
caaddd8a62 Gui: Replace startAnimation() with inherited start() 2023-10-25 11:17:55 +02:00
Rexbas
6137992d79 Gui: Remove unnecessary 'started' variable member in navigation animation 2023-10-25 11:17:55 +02:00
Rexbas
0441ea10fc 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
b992ebfd07 EditableDatumLabel : prevent re-activation or re-startEdit. 2023-10-24 19:27:10 +02:00
Paddle
38d5580dfe 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
20e41aea0b 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
1a88ee16e0 Gui: With Qt6 QColor's redF(), greenF(), blueF() methods return a float 2023-10-24 13:30:40 +02:00
wmayer
e0d624bc66 Gui: rename methods setBacklight() & isBacklight() to harmonize with setHeadlightEnabled() & isHeadlightEnabled() 2023-10-24 13:30:40 +02:00
Paddle
be664a0625 Fix build fail by adding
#include <Inventor/draggers/SoDirectionalLightDragger.h> to PreCompiled.
2023-10-24 10:46:41 +02:00
wmayer
be9228838f Gui: suppress & fix some lint warnings in DlgSettingsLightSources 2023-10-23 19:34:54 +02:00
wmayer
25b836b86f Gui: fix possible crash when opening DlgSettingsLightSources 2023-10-23 19:34:54 +02:00
Florian Foinant-Willig
741296b82e Core: modernize type checking 2023-10-23 18:07:07 +02:00
Paddle
04fab47ce7 Set the default icon of View3DInventor 2023-10-23 12:06:08 -04:00
wmayer
9708f00157 Gui: fixes issue #11113: Adjust Default Main Light Position 2023-10-23 11:05:21 -05:00
Roy-043
b2a75316e2 Gui: Make "Dock window overlay" GUI texts more consistent (#11121)
* Gui: Make "Dock window overlay" GUI texts more consistent
* overlays -> overlay windows
2023-10-23 10:57:45 -05:00
Rexbas
54f2ae336d Gui: Remove CornerNaviCube from OverlayParams and use directly in OverlayManager 2023-10-23 01:42:26 -03:00
Roy-043
6b668efa5c Gui: Improve texts for unit system preferences 2023-10-20 20:13:17 +02:00
Roy-043
c069fd240e Gui: MenuText for Std_SelBack and Std_SelForward in sentence case 2023-10-20 20:11:36 +02:00