26 Commits

Author SHA1 Message Date
Nino van Hooff
ae245ed0e5 Cleanup: remove warnings for non-existing margins 2019-11-12 14:51:48 +01:00
Nino van Hooff
ba6cf8eae5 Fix window resize bug in LayerSlider concerning handle position
Upper handle position would not be updated on resize

CURA-6854
2019-11-07 12:46:45 +01:00
Nino van Hooff
96bd641d93 Fix: upper/lower handle not losing focus when range handle pressed 2019-11-01 11:06:16 +01:00
Nino van Hooff
888c3f51a5 Show both handle labels instead of the range label
Now that the labels are horizontally centered with the handles,
the range label would overlap the bottom handle. So instead, delete the
range handle and show both other handles instead.

CURA-6854
2019-10-29 14:11:09 +01:00
Nino van Hooff
3db5abbd3a Move layer slider range handle label to below the vertical center
CURA-6854
2019-10-29 13:39:52 +01:00
Nino van Hooff
ba766c3a19 Move lower layer slider handle label to the bottom
CURA-6854
2019-10-29 13:23:43 +01:00
Nino van Hooff
5ebdae9f1a Move upper layer slider handle label to the top
CURA-6854
2019-10-29 11:47:39 +01: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
f090450bba Fix pixel-position of layer slider after the window was resized.
CURA-6853
2019-10-07 16:27:25 +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
Aleksei S
81a6531f47 Fix range slider label position in LayerSlider.qml. 2018-12-20 20:37:48 +01:00
Diego Prado Gesto
38a80ecae5 Make some tweaks in the UI for the preview stage.
Clean up the default theme a bit by removing unused entries.

Contributes to CURA-5829.
2018-11-11 14:06:52 +01:00
Jaime van Kessel
15f586ffae Fix the location of the simulation slider label
CURA-5829
2018-10-31 10:30:11 +01:00
Jaime van Kessel
3fc399a644 Moved default values into components
CURA-5829
2018-10-31 09:46:41 +01:00
Diego Prado Gesto
a8531a335d Fix the alignments for the sliders in the simulation view.
Contributes to CURA-5772.
2018-10-26 09:52:02 +02:00
Diego Prado Gesto
6db1342255 Fix the layer view when there is a print job with only one layer.
Contributes to CURA-5789.
2018-10-03 10:44:20 +02:00
Diego Prado Gesto
13cab3653e Remove unworking code that I forgot to remove after explaining a
possible solution to myself.

Contributes to CURA-5725
2018-09-18 17:09:57 +02:00
Diego Prado Gesto
c31f584e5b Fix my own mistake. The keys act throught the labels and the function in
the labels is called setValue that then points to the setValueManually.

Contributes to CURA-5725.
2018-09-18 17:04:24 +02:00
Diego Prado Gesto
0ef46feeae Fix code style.
Contributes to CURA-5725.
2018-09-18 16:53:25 +02:00
Diego Prado Gesto
f965b66c87 Stop the simulation also when the range slider is used. Reuse some code.
Contributes to CURA-5725.
2018-09-18 16:30:15 +02:00
Aleksei S
1b1ca8a53b Fix, simulation did not play after second layer
CURA-5725
2018-09-18 14:39:43 +02:00
Aleksei S
f33576cc81 Stop simulation after pressing Up or Down in simulation layer textfield
CURA-5725
2018-09-18 13:56:20 +02:00
Diego Prado Gesto
dfae4a9a86 Add a property that indicates when the layer slider or the path slider
has changed manually.

With this we can differentiate when the layer changed automatically
(during simulation) or manually (by user interaction). In case it was
changed manually, the simulation will stop.

Contributes to CURA-5725.
2018-09-17 14:02:04 +02:00
Diego Prado Gesto
1a189ba4f5 Simplify normalization formula. 2018-08-03 09:13:19 +02:00
Diego Prado Gesto
c14539d63a Fix the sliders that went out of range when using the arrow keys. 2018-08-02 13:12:01 +02:00
Diego Prado Gesto
98d48978a8 CURA-4526 Add the SimulationView plugin to Cura and deleting LayerView
plugin
2017-11-17 14:27:46 +01:00