Jaime van Kessel
0ce0228f76
Merge branch 'feature_configuration_menu_variant' of https://github.com/fieldOfView/Cura into 4.0
2019-01-17 14:03:43 +01:00
fieldOfView
f8bfca6079
Don't show auto configuration selection when there are no configurations
2019-01-11 18:27:44 +01:00
Diego Prado Gesto
e706020639
Improve the text when there is no configuration available
...
It can happen that the list is empty because the data is still coming or because the connection has been lost.
There are also some improvements in the link to the compatibility chart. Now the two external links in Cura have the same behaviour.
Contributes to CURA-6011.
2019-01-11 14:44:49 +01:00
Jaime van Kessel
614b1000fd
Added missing material compatibility chart link
...
CURA-6090
2019-01-10 15:36:36 +01:00
fieldOfView
f1d01e733d
Add variant to the configuration menu headerItem
2019-01-03 16:34:05 +01:00
Lipu Fei
d97b812ccd
Merge branch '4.0' into unify_font_types
2019-01-03 10:46:49 +01:00
Ghostkeeper
9e0a423f28
Disable visibility of glass buildplate configuration in sync menu
...
Because the build plate swapping is not implemented yet.
2019-01-02 13:30:29 +01:00
Jaime van Kessel
df23097a99
Changed the label for when no remote configurations are loaded yet
2019-01-02 11:36:07 +01:00
Ghostkeeper
60a5438db6
Make expandable component header fonts larger
...
As per the design.
Contributes to issue CURA-6025.
2018-12-31 13:43:31 +01:00
Ghostkeeper
8d8133d521
Make synced material name larger than the rest
...
In accordance with the designs.
Contributes to issue CURA-6025.
2018-12-31 13:34:57 +01:00
Ghostkeeper
c6fb0d70af
Use medium font size for everything in stage menu
...
Except the material manufacturer, which should remain default.
Contributes to issue CURA-6025.
2018-12-31 13:22:53 +01:00
Jaime van Kessel
a16e406507
Properly display the full type + brand of unknown material
...
CURA-6033
2018-12-31 11:01:30 +01:00
Ghostkeeper
2277a3d316
Prevent syncing with invalid configurations
...
Contributes to issue CURA-6033.
2018-12-21 16:43:45 +01:00
Ghostkeeper
a720cca5b6
Fix background colour for dark theme
...
The default colour for Rectangle is white. So this Rectangle, not defining a colour, became white. Instead we should use an Item, which cannot have a background colour and thus becomes transparent, making the background colour the same as the button below, which was intended. It's also slightly faster to render.
Contributes to issue CURA-6033.
2018-12-21 16:40:24 +01:00
Ghostkeeper
5e98544541
Don't change the model depending on isValidMaterial
...
That would cause a circular dependency in a way.
Contributes to issue CURA-6033.
2018-12-21 16:33:16 +01:00
Ghostkeeper
e8ea742cf6
Retain binding with isValidMaterial on hover
...
So that if a material becomes valid, it updates this property.
Contributes to issue CURA-6033.
2018-12-21 16:27:38 +01:00
Aleksei S
c8994102da
Use short for each javascript function
...
CURA-6033
2018-12-21 14:44:25 +01:00
Aleksei S
01783e7f68
Check material name instead of material brand
...
CURA-6033
2018-12-21 13:54:01 +01:00
Aleksei S
9430c421eb
Code refactor
...
CURA-6033
2018-12-20 18:19:59 +01:00
Aleksei S
7cfb29e337
If a connected printer has a selected material which is unknown
...
for Cura then show a message for downloading it from Marketplace
CURA-6033
2018-12-20 18:12:40 +01:00
Diego Prado Gesto
ef2fb53790
Merge branch '4.0' into unify_font_types
2018-12-19 11:56:22 +01:00
Diego Prado Gesto
382286509f
Change the buildplate information to use a reusable component
...
Boy scouting.
Contributes to CURA-6025.
2018-12-19 09:49:12 +01:00
Diego Prado Gesto
b5d8db6a77
Merge branch '4.0' into CURA-6011_connection_types
2018-12-17 15:44:02 +01:00
Jaime van Kessel
938287095f
Use connection type instead of um_network_key to see if a printer has a network connection
...
CURA-6011
2018-12-17 10:47:14 +01:00
Ghostkeeper
78a5f95c43
Merge branch 'CURA-5876_fixes' into 4.0
2018-12-14 16:28:04 +01:00
Jaime van Kessel
8091b2810c
Apply suggestions from code review
...
Change some margins for the corresponding absolute values instead of adding formulas.
Contributes to CURA-5876.
Co-Authored-By: diegopradogesto <d.pradogesto@ultimaker.com>
2018-12-13 14:36:58 +01:00
Lipu Fei
620790ae3d
Reduce the creations of ExtrudersModels
...
CURA-6015
2018-12-13 14:12:23 +01:00
Diego Prado Gesto
77ede1ae6b
Unify the fonts to only have 8 instead of 13.
...
Contributes to CURA-6025.
2018-12-12 17:50:21 +01:00
Diego Prado Gesto
17173aba06
Add a component to show when no configurations are available because lack of connection.
...
Contributes to CURA-5876.
2018-12-12 17:04:17 +01:00
Diego Prado Gesto
1d3da3244f
Remember the previous selected method in the configuration
...
The current behavior now is to open the configuration panel in the previous state, in case it was manually selected. That means that after selecting a printer, the manual state is reset so it will open the auto configuration if it is a connected printer. It will open the custom state in case it's not connected or the printer has no connection.
Contributes to CURA-5876.
2018-12-12 14:09:15 +01:00
Diego Prado Gesto
4ba448077e
Add an empty state, when there are no configurations, showing a label indicating that the list is empty
...
Contributes to CURA-5876.
2018-12-12 13:33:46 +01:00
Diego Prado Gesto
a6a16a682d
Fix some alignments
...
Also modify a bit the code in the ConfigurationItem, trying to get rid of a binding loop, but I couldn't (so weird)
Contributes to CURA-5876.
2018-12-12 11:17:44 +01:00
Diego Prado Gesto
ed8292c472
Adjust size and margins of the icon in the action button
...
Contributes to CURA-5876.
2018-12-11 17:00:02 +01:00
Diego Prado Gesto
f99c788eb6
Change some colors for the arrows in some setting selectors
...
Contributes to CURA-5876.
2018-12-11 16:35:59 +01:00
Diego Prado Gesto
b993a7b0d9
Change the header color and font in the configuration popup
...
Also fix some alignments with the printer type selector.
Contributes to CURA-5876.
2018-12-11 16:05:24 +01:00
Diego Prado Gesto
1cd0d26db4
Change margins
...
Instead of using multiplications and divisions, just use the corresponding margins.
Contributes to CURA-5876.
2018-12-10 15:34:48 +01:00
Ghostkeeper
6a7bbe5bdb
Fix hiding materials if material is empty
...
Because the loaded material profile has the name 'Empty' then.
Contributes to issue CURA-5876.
2018-12-07 15:31:12 +01:00
Ghostkeeper
ffcac04f9e
Add printer type selector if connected to cluster
...
If there are 2 or more printer types in your connected cluster, you can switch the printer type here.
Contributes to issue CURA-5876.
2018-12-07 15:21:53 +01:00
Ghostkeeper
8e2c130416
Use default lining style as separator for buildplate
...
Normal colour, normal thickness.
Contributes to issue CURA-5876.
2018-12-07 14:31:06 +01:00
Ghostkeeper
43a06fdc3d
Add more margin above printer type labels
...
A bit of Gestalt.
Contributes to issue CURA-5876.
2018-12-07 13:49:32 +01:00
Ghostkeeper
e74258c26b
Don't show materials if printer has no materials
...
But if the printer does have other configurations to change, do show a placeholder text to indicate that the configuration can be selected here.
This also simplifies a bit of code where it would need to call an updateEnabled() function, since it turns out that these properties in Cura.MachineManager have proper signals (contrary to what was previously used, the metadata entry stuff).
Contributes to issue UCRA-5876.
2018-12-07 13:40:10 +01:00
Ghostkeeper
2593849798
Merge branch 'ui_rework_4_0' of ssh://github.com/Ultimaker/Cura into ui_rework_4_0
2018-12-07 13:04:13 +01:00
Ghostkeeper
dfe55b8f23
Fix height of expandable component adapting to contents
...
Since the children don't adjust their height based on if they are visible (which would cause a binding loop) we just need to adjust the height of the total menu based on which children are visible. Easy enough.
Contributes to issue CURA-5876.
2018-12-07 12:59:51 +01:00
Diego Prado Gesto
1d33fe081f
Clean up the code
...
Remove all the references to the sidebar and use the term print_setup instead.
Contributes to CURA-5941.
2018-12-07 12:07:41 +01:00
Lipu Fei
677edd51ee
Remove unnecessary visibles
...
CURA-5941
Because the parent Rows already have it set.
2018-12-07 10:55:22 +01:00
Diego Prado Gesto
3b8b70bddf
Merge branch 'ui_rework_4_0' into CURA-5941_restyle_setting_dropdown
2018-12-06 16:35:07 +01:00
Ghostkeeper
c39674cd0c
Use upper camel case for enum options
...
Contributes to issue CURA-5876.
2018-12-06 16:23:24 +01:00
Diego Prado Gesto
05075c44ee
Add renderType to some labels in the Configuration panel
...
Contributes to CURA-5876.
2018-12-06 14:19:34 +01:00
Lipu Fei
85f2a7e8f6
Move visible to Rows for extruder configs
...
CURA-5941
So the whole row, such as "material", will be shown/hiden based on
whether the machine has materials.
2018-12-06 14:06:18 +01:00
Ghostkeeper
298c68c93b
Disable configuration menu if there are no configurations
...
This then prevents you from dropping down into an empty menu.
Contributes to issue CURA-5876.
2018-12-06 13:56:06 +01:00