Benjamin Nauck
34bc1d45ea
Gui: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:38 +01:00
Bas Ruigrok
ffc12e2892
Gui: Align to selection using a smaller rotation
2025-03-22 11:35:46 -05:00
Chris Hennes
64d658e38a
FreeCAD: Compiler warning fixes
2025-03-19 10:13:34 +01:00
Chris Hennes
dced463dc6
Merge pull request #19428 from tritao/base-tracy-profiler
...
Base: Add Tracy frame profiling support.
2025-03-14 04:12:05 +00:00
Joao Matos
7ae14d6bd5
Base: Add build support and instrumentation for the Tracy profiler.
2025-03-14 03:41:30 +00:00
Andrea
da66720d3a
REMOVE old QT<= 5.14 code
...
Ubuntu 22.04 use qt 1.15.3.
In the code is still used qt code <5.10.
A cleanup was done by removing qT code version used in ubuntu 18.04.
2025-03-05 09:32:06 +01:00
Chris Hennes
7f1c43a335
Merge pull request #19636 from kadet1090/color-in-base
...
Base: Move App::Color to Base
2025-03-02 16:36:40 -06:00
Joao Matos
3b05b61de2
Gui: Remove QtOpenGL.h.
2025-02-25 23:03:51 +00:00
Joao Matos
91e94ba1dd
Gui: Cleanup Qt OpenGL usings in QtOpenGL.h.
...
Previously the code defined compatiblity usings in `QtOpenGL.h` header,
which I think was added for backwards compatiblity with previous Qt
OpenGL widgets.
As far as I can tell, this is not necessary anymore, and can be cleaned
up.
2025-02-25 23:03:51 +00:00
Chris Hennes
30d5e0198f
Merge pull request #19719 from Rexbas/navicube-accumulative-animation
...
Gui: Accumulate orientation for NaviCube flat button animations
2025-02-24 17:15:45 +00:00
Kacper Donat
7f984811e8
Gui: Add 3 point lighting
2025-02-23 22:51:13 +01:00
Bas Ruigrok
0d1e41ee5c
Gui: Return animation from setCameraOrientation and translateCamera
2025-02-21 21:57:00 +01:00
Adrian Insaurralde
a862071e3e
Fix spnav not enabled by default on linux after #19226 and #19407
2025-02-17 23:58:13 -03:00
Kacper Donat
a72a63232a
Base: Move App::Color to Base
...
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
Syres916
62c5267e64
[Gui] fix the FPS text visibilty issues raised in #19371 ( #19385 )
...
* [Gui] fix the FPS text visibilty issues
* [Gui] code efficiency based on suggestions
* [Gui] update color parameter
* [Gui] Fix Lint feedback
* [Gui] check if string is empty
2025-02-11 13:16:29 -06:00
Karliss
cb8c193408
Workaround for transparency problems on wayland.
...
Reset alpha channel value to 1 at the end of 3d rendering. The way Qt handles OpenGL widgets with transparent pixels in their final output is inconsistent.
2025-02-11 07:59:28 -06:00
Chris Hennes
aa76a63abf
Merge pull request #19420 from tritao/gui-selection-refactor
...
Gui: Selection code cleanups
2025-02-10 10:56:23 -06:00
tritao
ad584fa351
Gui: Check if document exists in View3DInventorViewer::setOverrideMode.
2025-02-10 10:33:22 -06:00
Chris Hennes
b051185ae0
Merge pull request #19433 from tritao/gui-general-code-cleanups
...
Gui: General code cleanups
2025-02-06 11:33:44 -06:00
tritao
48f0f07176
Gui: Reorganize the navigation files into a top Navigation folder.
2025-02-05 20:21:00 -06:00
tritao
3b47599e43
Gui: Minor cleanups.
2025-02-05 22:13:07 +00:00
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