Diego Prado Gesto
47ff95b1f3
Set contentType to the different expandable components.
...
Also add a color for the active state when the contentType is 'Fixed'.
Contributes to CURA-5941.
2018-12-04 13:53:11 +01:00
Diego Prado Gesto
e159cbdb1a
Rename all the references from 'popup' to 'content'
...
Contributes to CURA-5941.
2018-12-04 13:14:12 +01:00
Jaime van Kessel
5ddb3ff909
Factor out superfluous use of small_tool_button style
...
The style was overly complicated for what it should do
2018-11-26 17:40:34 +01:00
Jaime van Kessel
bf8a04fa40
Fix some minor display issues for simulation view
...
CURA-5785
2018-11-22 11:08:46 +01:00
Jaime van Kessel
bd636e61a0
Minor changes suggested in review
...
CURA-5785
2018-11-21 13:17:36 +01:00
Jaime van Kessel
3b4d728d6a
Fix Simulation view popup not sizing down
...
I have no idea why implictHeight does work and childrenRect.height doesn't (eg;
childrenRect.height only scales up for some reason, never down)
CURA-5785
2018-11-20 14:35:13 +01:00
Jaime van Kessel
6fe89e3d54
Fix width of simulationView component not being set correctly
...
CURA-5785
2018-11-19 10:33:19 +01:00
Jaime van Kessel
6b55490af8
Fix final QML warnings
...
CURA-5785
2018-11-16 16:30:47 +01:00
Jaime van Kessel
fb72f9a059
Fixed size of expandableItem not being the correct width
...
CURA-5785
2018-11-14 09:59:56 +01:00
Jaime van Kessel
785c2661a2
Make SimulationViewMenuComponent also use the ExpandableComponent
...
CURA-5785
2018-11-13 15:57:00 +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
Diego Prado Gesto
7a12cc53cc
Merge branch 'master' into ui_rework_4_0
2018-11-09 08:53:31 +01:00
Diego Prado Gesto
9f663cfd18
Change the gradient for the LinearGradient that works in the new versions of Qt.
...
I also changed it because we had a TODO here and I thought it was the right moment to do it.
Contributes to CURA-5829.
2018-11-07 17:25:43 +01:00
Jaime van Kessel
f15d03d48c
Fix foldout of the layerview panel being too short or too long
...
CURA-5829
2018-11-07 16:30:52 +01:00
Diego Prado Gesto
ce7d2c36d0
Fix the width of the slider label when the number of layers was exactly
...
10, 100, 1000 and so on.
The calculation was using the maximumValue that is 9 in case we have 10
layers, since we start counting from 0 but showing from 1. Now it uses
maximumValue + 1.
2018-11-06 16:15:32 +01:00
Jaime van Kessel
319d52a2f9
Make collapsible simulation view collapse to right height
...
CURA-5829
2018-11-05 16:59:06 +01:00
Jaime van Kessel
8106df1ae2
Bit of QML cleanup
2018-11-05 16:45:12 +01:00
Jaime van Kessel
406dd68aa4
Made path slider widht themable.
...
CURA-5829
2018-11-05 11:54:55 +01:00
Jaime van Kessel
9f13de9f0d
No longer create two instances of the setting view.
...
This caused a bunch of issues with the getPluginId, as one of the instances
didn't got added to the registry (and as such, never got an ID)
CURA-5829
2018-11-05 11:48:19 +01:00
Jaime van Kessel
f0e205423f
Pause simulation view when preferences have been changed.
...
I accidentally removed this feature when working on CURA-5829, but
it was spotted in the review.
2018-11-05 11:47:22 +01:00
Jaime van Kessel
4659b0d387
Fix codestyle
2018-11-05 11:36:58 +01:00
Jaime van Kessel
61442545cb
Fix codestyle
...
CURA-5829
2018-10-31 13:56:55 +01:00
Jaime van Kessel
1e9aff44f6
Fix QML warnings & errors
...
CURA-5829
2018-10-31 10:55:05 +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
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
0a3803d665
Add CuraView, which does something similar to CuraStage
...
So instead of relying on strange activeViewProxy, it's up to the CuraView to provide a set of components.
These can subsequently be used by the active stage again.
CURA-5829
2018-10-29 16:21:16 +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
Lipu Fei
d91d0fab10
Fix SimulationView: missing import
2018-10-03 17:27:21 +02:00
Jaime van Kessel
dabe747ec0
Merge branch 'CURA-5744-move-oauth-login' of github.com:Ultimaker/Cura
2018-10-03 13:25:09 +02:00
Lipu Fei
b97f4ea30c
Merge remote-tracking branch 'origin/3.5'
2018-10-03 11:49:38 +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
Jaime van Kessel
3b70e5eb6b
Fix typing
...
For some reason, my MyPy started acting up once I started using the PythonPath while calling it.
2018-09-27 20:01:55 +02:00
Ghostkeeper
a8493ee35d
Give black materials at least some albedo
...
Otherwise you can't see the diffuse reflections and the entire thing just becomes a black silhouette.
2018-09-25 11:24:48 +02:00
Jaime van Kessel
dbe0d6d82a
Add typing
2018-09-21 11:33:06 +02:00
Diego Prado Gesto
ed9b0dd41b
Add a missing bracket back.
...
Contributes to CURA-5725.
2018-09-18 17:25:35 +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
Remco Burema
5c73921943
[CURA-5725] Revert "Set simulation path to 0 after updating layer"
...
This reverts commit 3da6e3c4535db85a921bf5770903bd1a729946e1.
2018-09-14 14:35:10 +02:00
Aleksei S
3da6e3c453
Set simulation path to 0 after updating layer
...
CURA-5677
2018-09-12 16:56:54 +02:00
Remco Burema
109b3fc1d2
[CURA-5677] Removed some superfluous and/or dead lines.
2018-09-11 09:08:50 +02:00
Remco Burema
c8eeb737bb
Automatically stop simulation when the user manually changes the layer (as opposed to the sim. itself). [CURA-5677]
2018-09-07 15:45:31 +02:00
Mark
cfcf52d7c3
Center in parent and increase width. Fits good on Mac
2018-09-05 22:05:08 +02:00
Diego Prado Gesto
a8cb1e25b4
Merge branch 'master' into fix_layer_number_width
2018-08-31 10:56:23 +02:00
Aleksei S
fe9cada459
Increase plugin API version to 5
...
CURA-5627
2018-08-27 13:59:00 +02:00