8 Commits

Author SHA1 Message Date
Nino van Hooff
664ed4a6a6 Take a more generic approach to safe areas for the SimulationView
Re-implements layer slider positioning

CURA-6853
2019-10-17 12:52:30 +02:00
Nino van Hooff
4148f56d2b Remove external dependency from SimulationViewMainComponent
Previously, panelTop had to be defined externally whenever
SimulationViewMainComponent was used. I renamed it and set a default
so the binding by a parent is optional.

CURA-6853
2019-10-09 16:51:28 +02:00
Nino van Hooff
5bb23e4c6f Make the height of the layer slider dynamic
Prevents the action panel from overlapping the layer slider

CURA-6853
2019-10-07 15:40:42 +02:00
Remco Burema
3a94745667 Make sliders reappear in simulation-view. [CURA-6183] 2019-02-06 16:01:01 +01:00
Ghostkeeper
a831cfa558
Configure whether preview shortcut is visible from ActionPanelWidget property
This way it's more dynamic: You don't need to hardcode the plug-in name in the widget to see whether or not it's visible.

Contributes to issue CURA-6086.
2019-02-04 15:19:09 +01:00
Ghostkeeper
5992e66ed6
Move action panel into each stage
They can then decide if it needs to be there. For instance, the monitor stage doesn't want to have this panel. Also each stage can position it where they like, and in the near future I'll make a feature to let it decide whether or not to show the preview button.

Contributes to issue CURA-6086.
2019-02-04 15:08:59 +01:00
Jaime van Kessel
1e9aff44f6 Fix QML warnings & errors
CURA-5829
2018-10-31 10:55:05 +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