Commit Graph

318 Commits

Author SHA1 Message Date
tritao
8d6775e837 Gui: Rename SoFCHighlightAction to preselect terminology. 2025-02-05 13:14:00 +00:00
tritao
763fc0159b Gui: Rename SoFCUnifiedSelection::selectionRole for clarity. 2025-02-05 00:25:56 +00:00
Chris Hennes
e10d34ada5 Merge pull request #16995 from benj5378/axisColors
[Gui] Axis colors changeable
2025-02-03 18:11:46 +01:00
Chris Hennes
7c32d9780b GUI: Disable legacy spnav code when legacy is false
We don't ever want to connect to both libspnav and NavLib
2025-02-03 12:03:34 -05:00
Benjamin Bræstrup Sayoc
15157ad48c [Gui] Make axis colors of corner axis changeable 2025-01-24 15:45:43 +01:00
Kacper Donat
83807826cf Gui: Fix render order of datum planes 2025-01-20 11:38:57 -05:00
João Matos
6222b935f0 Gui: Scene inspector improvements (#18781)
* Improve naming for root scene graph switch/separator nodes.

* Improve scene graph inspector.

This commit improves the scene graph inspector by improving the UI
layout and displaying information in a more human-readable way.

Instead of having a main generic string column for all node-specific
data, introduce specific columns for node name, memory address and data.

Better visualization was also added for `SoDrawStyle`, `SoPickStyle`
and `SoCoordinate3` node types.
2025-01-13 21:38:41 -06:00
Ladislav Michl
4d6ed9d531 Base: UnitsSchema: return std::string 2024-12-23 17:48:42 +01:00
PaddleStroke
8b6b66040c SoShapeScale: Fix SoShapeScale does not take DPI scaling into account 2024-12-10 17:15:13 +01:00
Florian Foinant-Willig
5969df37f4 Sketcher infinite axes 2024-11-25 18:27:10 +01:00
Chris Hennes
64f63ae97e Merge pull request #15528 from ppphp/move_some_inventor
refactor: move some nodes to Inventor folder
2024-11-22 12:20:50 -05:00
wmayer
72728ece52 Core: In View3DInventorViewer::getPointOnXYPlaneOfPlacement throw exception
If no intersection point can be found throw a Base::RuntimeError
2024-11-11 01:10:44 +01:00
3x380V
1207715849 TechDraw: Buggy Wayland custom cursors workaround (#16740)
* Gui: Minor polishing of cursor regression fix

* TD: Buggy Wayland custom cursors workaround

Until Qt v6.6 displaying custom cursors on Wayland is broken,
so add a workaround. See also QTBUG-95434.

Fix is the same as d3bb2068 ("Gui: Buggy Wayland custom cursors workaround")
plus subsequent fixes.
2024-09-23 17:43:10 +02:00
Bas Ruigrok
2043da62f2 Gui: Fix segfault in align to selection tool 2024-09-20 08:06:31 -05:00
Chris Hennes
5fb2361d63 Merge pull request #15262 from Rexbas/fix-alignment-direction
Move getGlobalPlacement() and fix alignment direction for transformed objects
2024-09-13 13:09:23 -06:00
Bas Ruigrok
6f0c3d2fea Gui: Use Coin 4.0.3 fix for orthographic camera clipping 2024-09-09 17:58:32 +02:00
Bas Ruigrok
beddb57ae8 Gui: Fix alignment direction for transformed objects 2024-09-07 13:27:59 +02:00
wmayer
58826317fc Linux: Fix regression with mask of cursors if platform name is 'xcb' 2024-08-26 10:35:53 -05:00
Ladislav Michl
d3bb2068d9 Gui: Buggy Wayland custom cursors workaround
Until Qt v6.6 displaying custom cursors on Wayland is broken,
so add a workaround. See also QTBUG-95434.
2024-07-29 10:51:46 -05:00
luzpaz
a71f49f4f6 Fix trailing newlines and minor typo fixes 2024-07-23 16:16:30 +02:00
liukaiwen
229d2902bd add SoFCBackgroundGradient to inventor folder 2024-07-22 02:48:53 +08:00
bgbsww
0bddc51805 Refactor all element name pairs into clearer struct names - renames 2024-07-20 16:32:12 -04:00
liukaiwen
4c6b7dadeb refactor: move some nodes to Inventor folder 2024-07-20 01:07:04 +08:00
wmayer
6c02b8f10f Gui: Use of Multisample class 2024-07-11 17:39:23 +02:00
wmayer
12f5f70757 Quarter: Update Quarter code
* Removes unused default constructors of the device classes
* Changes several doc strings
2024-07-08 10:54:41 -05:00
0penBrain
b9db90ea20 Gui: offer possibility to editing view provider to handle "Select All" command 2024-05-27 10:52:00 -05:00
Bas Ruigrok
3fae3fac63 Gui: Add alignToSelection() method and command 2024-05-13 19:04:06 +02:00
PaddleStroke
a858e8ad44 Assembly: Fixes slider special move mode.Fixes #13370 2024-05-06 18:32:00 +02:00
PaddleStroke
afa4a696ab Assembly: Fix Object disappears when dragging with slider #12449 2024-05-06 18:32:00 +02:00
wmayer
1e9d6698b7 Gui: fixes #5609: Add MSAA 6x option 2024-03-14 11:41:33 +01:00
Rexbas
7e2f8c3056 Gui: Add easing to navigation animations 2024-02-29 13:29:37 -06:00
Rexbas
5e3425f753 Gui: Set default navigation animation duration to 500 ms 2024-02-29 13:29:37 -06:00
mos
a025af2d26 removed deprecaded functions
.

.
2024-02-26 17:38:01 +01:00
Chris Hennes
3aa70320c7 Merge pull request #12306 from Rexbas/fix-disappearing-handles
Gui: Fix disappearing element handles in sketcher
2024-02-19 11:18:10 -06:00
Paddle
cdb1af6543 Assembly : Add support for perspective camera.
Remove exportASMT from toolbar.
Fix Fixedjoint name and tooltip
Fix various bugs
Introduce solver drag functions.
2024-02-13 08:25:46 +01:00
Paddle
48173f2b9d Assembly: Implement special drag mode for revolute. 2024-02-13 08:25:46 +01:00
Kacper Donat
e40131d4b8 Gui: Add ability to set coordinate system axis letter color
Fixes: #12172
2024-02-12 18:07:02 +01:00
Rexbas
bc713e2d6b Gui: Fix disappearing element handles in sketcher
Finds the bounding sphere when the editing view provider is set. This ensures the right bounding sphere is used for finding the near and far clipping plane
2024-02-08 21:09:08 +01:00
Bas Ruigrok
9e2577bce7 Gui: Add a separate checkbox for enabling spinning animations (#11534)
* Gui: Create group box for animation preferences

* Gui: Add spinning animation checkbox

* Gui: Implement isAnimating() for NavigationAnimator

* Gui: No need to enable animations in DemoMode

The spin animation is played regardless of the user preference and does not need to be enabled before starting the spin animation

* Gui: Change comment
2023-12-04 10:50:29 -06:00
Rexbas
72c69ce2f0 Gui: Update rotation center indicator after zoom 2023-11-24 22:43:48 +01:00
Rexbas
a740632616 Gui: Find bounding sphere before drag or animation 2023-11-10 22:33:41 +01: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
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
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
Rexbas
61c1b2bfc2 Gui: Apply Law of Demeter to starting and stopping animations 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
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
wmayer
a8c65ec621 Gui: rename methods setBacklight() & isBacklight() to harmonize with setHeadlightEnabled() & isHeadlightEnabled() 2023-10-24 13:30:40 +02:00