Jaime van Kessel
8dbebaa23c
Ensure that the machine selector list scales properly
...
The old implementation directly listend to the height (instead of childrenRect).
This caused issues, since other things apart from adding / removing machines could
influence the height.
CURA-6060
2018-12-31 13:14:08 +01:00
Jaime van Kessel
fd9b29fee2
Rename printersModel to GlobalStacksModel
...
This is a better description for the model anyway.
CURA-6011
2018-12-31 11:09:39 +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
Jaime van Kessel
c08339e191
Merge branch 'CURA-6033_unknown_material' of github.com:Ultimaker/Cura into 4.0
2018-12-31 10:33:01 +01:00
Jaime van Kessel
f9e76aa6c9
Merge branch 'feature_resize_settings_panel' of github.com:Ultimaker/Cura into 4.0
2018-12-31 10:09:33 +01:00
Jaime van Kessel
52d97dfbd2
Change back the behavior of the output device selector to the old way
...
Although the new way was discussed with our UXers, we got a number of reports that it was confusing.
I also accidentally started a print while using it
2018-12-31 09:32:16 +01:00
Ghostkeeper
abe684c1bd
Use Item instead of rectangle without defined colour
...
Item should be faster to render.
Contributes to issue CURA-6056.
2018-12-27 13:36:17 +01:00
Ghostkeeper
f2a32e62fc
Rename 'Protected profiles' to 'Default profiles'
...
We agreed that it looks better, especially when listed right above 'Custom profiles'.
2018-12-27 11:06:09 +01:00
Ghostkeeper
c6c09a8327
Limit height of settings drop-down to window size
...
It seems to be very hard to limit it to not overlap with the action panel. Well, going out of the window is a bigger problem so at least we can fix that.
Contributes to issue CURA-6054.
2018-12-24 16:16:23 +01:00
Ghostkeeper
b7a23399f5
Move action panel in front of settings panel
...
The settings panel can now be so long that they overlap (if the user so chooses). This causes the action panel to be hidden behind the settings. We'd prefer to show the action panel in front, always.
Contributes to issue CURA-6054.
2018-12-24 15:37:48 +01:00
Ghostkeeper
c6f4cb4927
Make the settings panel resizable
...
You can now drag the bottom side of the panel to make it bigger or smaller.
Contributes to issue CURA-6054.
2018-12-24 15:31:47 +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
alekseisasin
facf1428d6
Merge pull request #5020 from Ultimaker/CURA-6004_missing_tooltips
...
Cura 6004 missing tooltips
2018-12-21 14:57:06 +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
Jaime van Kessel
81e356ea1b
Switch out the containersModel for the more specific printersModel
2018-12-21 11:20:09 +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
Jaime van Kessel
0965d909c0
Remove the show property from the tooltip
...
This was a bit of a weird setup, so i removed it. This way the tooltip can be used
in the same way as the regular tooltip (by simply setting the visibility)
CURA-6004
2018-12-20 16:41:26 +01:00
Jaime van Kessel
3f599bd06f
Ensure that the tooltip text is translated
...
CURA-6004
2018-12-20 16:31:57 +01:00
Ghostkeeper
5bf260f524
Don't break binding of is_favorite upon clicking star
...
We shouldn't override it here because doing that causes the binding to break. Just remove the favourite and let the model update itself, thus removing the star.
Contributes to issue CURA-6032.
2018-12-20 14:40:37 +01:00
Ghostkeeper
f3a0b44d5e
Simplify is_favorite condition
...
No stupid ternary operators necessary.
Contributes to issue CURA-6032.
2018-12-20 14:40:29 +01:00
Jaime van Kessel
9ffc039254
Fix logo aliasing
...
CURA-6044
2018-12-20 14:01:12 +01:00
Jaime van Kessel
dc473dc78d
Add missing typing for setting visibility preset model
2018-12-20 11:09:02 +01:00
Jaime van Kessel
8bff0d17e8
Prevent the backend attempting to reslice everytime a preference changed
2018-12-20 09:43:01 +01:00
Aleksei S
d891d30ab8
The Cura logo in left top corner is not displayed properly.
...
CURA-6044
2018-12-19 15:51:32 +01:00
Aleksei S
3953c7bb3a
Added Tooltip alignment
...
CURA-6004
2018-12-19 14:24:02 +01:00
Ghostkeeper
c0835f3a2f
Code style
...
Just something I boyscouted while working on something else.
2018-12-19 14:02:17 +01:00
Diego Prado Gesto
6987d5ff78
Add a radius to the printer type label
2018-12-19 09:33:46 +01:00
Diego Prado Gesto
17cddac024
Merge branch '4.0' into CURA-6004_missing_tooltips
2018-12-19 09:03:31 +01:00
Ghostkeeper
c0c45519a0
Change another useless rectangle into an item
...
It's more efficient to render. Also changed some code style.
Contributes to issue CURA-6032.
2018-12-18 16:49:41 +01:00
Ghostkeeper
c66257bf4d
Use item instead of transparent rectangle
...
This is faster to render.
Contributes to issue CURA-6032.
2018-12-18 16:18:01 +01:00
Ghostkeeper
279812e4ff
Round width of buttons
...
They were getting rendered a bit weird if your pixel scale was not an integer (for me it's 1.25).
2018-12-18 13:58:21 +01:00
Jaime van Kessel
a181ffe79d
Merge branch 'fix_print_monitor_dark_theme' of https://github.com/fieldOfView/Cura into 4.0
2018-12-18 13:54:45 +01:00
Lipu Fei
71e71e0a4f
Merge pull request #4975 from Ultimaker/CURA-6011_connection_types
...
[4.0] Every output device should define its connection type
2018-12-18 13:23:02 +01:00
Diego Prado Gesto
cc462ef3a6
Add a placeholder for a pattern in the header, if the theme wants to add one.
2018-12-18 10:29:44 +01:00
Jaime van Kessel
be9d35d45f
Fix some minor layout issues
...
CURA-6011
2018-12-18 09:47:51 +01:00
Lipu Fei
6017c2b4d2
Replace isProfileUserCreated with hasCustomQuality
...
CURA-6028
2018-12-18 08:56:56 +01:00
Jaime van Kessel
d395c38436
Removed collapse / expand all
...
I don't think it ever worked.
2018-12-17 17:47:33 +01:00
fieldOfView
7d6e698f43
Fix (USB) print monitor in dark theme
2018-12-17 17:37:21 +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
aad7540366
Fix situation where multiple connect configurations would cause issues
...
CURA-6011
2018-12-17 13:31:38 +01:00
Diego Prado Gesto
ed4d339dee
Change the margin in the view orientation buttons to aling the pixels correctly
2018-12-17 11:00:49 +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
Diego Prado Gesto
cbd8e72bd5
Add fixed width to the preview button
...
Doing that, the elide will work. Also increase the size of the panel a bit so it will fit better in other languages. Adding also the tooltip in case the text is too long in other languages.
2018-12-17 10:42:52 +01:00
Lipu Fei
4ab123eb87
Merge remote-tracking branch 'origin/CURA-6028_stage_button_fixes' into 4.0
2018-12-17 08:48:31 +01:00
Jaime van Kessel
226d052468
Move the machines from machinelist into their own model
...
CURA-6011
2018-12-14 17:10:58 +01:00