Commit graph

8 commits

Author SHA1 Message Date
Erwan MATHIEU
e69a436942 Fix sometimes wrongly displayed view
Some checks are pending
conan-package / conan-package (push) Waiting to run
unit-test / Run unit tests (push) Waiting to run
CURA-12660
This required a refactoring of the management of the active view. The previous behavior was that anyone could set the active view, depending on certain conditions. But now we also have a view that is set by a tool, so sometimes the actually set view would be incorrect. Now each Stage requests an active view, and each tool CAN also request an active view. Then the Controller decides which view should actually be active depending on the active stage and tool.
2025-08-06 16:15:05 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
a09cd0e63e Convert doxygen to rst for Prepare, Preview, RemovableOutputDevice 2020-05-08 17:37:49 +02:00
Ghostkeeper
20b3b6da79
Document PreviewStage.py
Some stuff I had to ask the original implementer to explain to me. So I wrote that down so that the next guy doesn't have to do that.

Contributes to issue CURA-5829.
2018-11-02 15:11:49 +01:00
Jaime van Kessel
f773030218 Add main stage to previewStage so that SimulationView can use it
CURA-5829
2018-10-31 09:37:21 +01:00
Jaime van Kessel
cfa962311b Fixed typing
CURA-5829
2018-10-29 13:54:20 +01:00
Jaime van Kessel
9cc7a7ca23 Moved view selection to previewStage
CURA-5829
2018-10-29 13:27:47 +01:00
Jaime van Kessel
3248a05819 Add PreviewStagePlugin stubs
Since we are going to move all the views into a seperate stage, we need to add another stage to do that.

CURA-5829
2018-10-29 11:28:08 +01:00