26315 Commits

Author SHA1 Message Date
Ghostkeeper
f8aa6a3398
Add list of open file providers to submenu
The layout isn't quite there yet, but it mostly works and I want to have a save point to return to if I tinker too much.

Contributes to issue CURA-8008.
2021-07-09 17:02:38 +02:00
Ghostkeeper
0db1f1034b
Add header, and make popup grow to its contents
It was quite a hassle to allow the column to grow to the size of its contents. For some reason, things update the size to 0. And the size updates again once the pop-up actually gets opened for the first time, because then the column actually gets populated lazily.

Contributes to issue CURA-8008.
2021-07-09 16:47:51 +02:00
Ghostkeeper
5bc3848301
Show either openFileButton or openFileMenu, depending on provider count
If there's just 1 provider, show the button. If there are multiple, show the menu. If there are 0, also show the button but disable the button.
The behaviour is not yet implemented though. It doesn't actually look at which providers are available and what they do.

Contributes to issue CURA-8008.
2021-07-09 15:33:57 +02:00
Ghostkeeper
c100ba88d0
Move pop-up code to external item to re-use ExpandablePopup element
All of what we were about to implement is already implemented in ExpandablePopup. So let's re-use that one. That guarantees that it looks consistent too.

Contributes to issue CURA-8008.
2021-07-09 15:27:12 +02:00
Ghostkeeper
6203a5c987
Correct chevron size and colour
This is the same as what ExpandablePopup does.

Contributes to issue CURA-8008.
2021-07-09 14:27:32 +02:00
Ghostkeeper
f4f48c0fda
Move padding to only be around row
Not around the individual icons. This way the chevron can be placed next to the icon closer.

Contributes to issue CURA-8008.
2021-07-09 14:23:14 +02:00
Ghostkeeper
bcd11636d5
Catch error when release notes file could not be read
And show an error message to the user in that case.
This could happen if the user modified their installation or their resource folder.

Fixes Sentry issue CURA-2P2.
2021-07-09 13:36:53 +02:00
Lorenzo Romagnoli
5cf7cd63f4
replacing with thicker icon
made the circle one pixel thicker so that the colorer ring is more visible for dark and light colors
2021-07-09 11:45:43 +02:00
Lorenzo Romagnoli
ae649d9a9f
replacing with new icon for better visibility 2021-07-09 11:43:37 +02:00
Ghostkeeper
41642a35ff
Add chevron to select where to load models from
The chevron looks a little big now. No worries, we can fix that.

Contributes to issue CURA-8008.
2021-07-08 18:00:35 +02:00
Ghostkeeper
ffa89bb1a1
Allow open file button to resize depending on content items
This re-links the widths, heights and paddings such that we can later change the width of the button depending on its contents.
However there is a complication: Buttons automatically change the size of the contents based on the size of the button minus its padding. So making the size of the button in turn depend on its contents causes a binding loop.
To get around this binding loop, we need to manually calculate the size of the button, such that the size of the contents ends up exactly right.

Contributes to issue CURA-8008.
2021-07-08 17:49:44 +02:00
Jaime van Kessel
b4a8cb1b82
Add monitor print button for cloud print
The button redirects the user to the cloud page

CURA-8018
2021-07-08 17:01:03 +02:00
Ghostkeeper
920e220bdb
Merge branch 'master' into CURA-8247_badge_background_colour 2021-07-07 15:12:31 +02:00
Jaime van Kessel
0a487c804a
Merge branch 'CURA-8011_Replace_extruder_icons' of github.com:Ultimaker/Cura 2021-07-07 14:15:05 +02:00
Ghostkeeper
ba6e79c81f
Rework parts of camera button
The new button should be consistent with the looks of the tool buttons. I've given it the same size as the inner part of the tool buttons, reworked the background so that it matches. I'm also giving it the 'secondary button' style which is also used for one other button. But that other detail button should get the same style anyway so that's fine too.

I've also turned this icon into an actual button. That way it can get focus when using keyboard navigation and works better with tools for blind and such.

Contributes to issue CURA-8202.
2021-07-07 11:36:11 +02:00
Ghostkeeper
52018a6048
Adjust size and margin of guide book icon
The icon was rendered at a too small size, such that it would get a different line width or look-and-feel than the rest. However making it bigger doesn't properly centre it either.
To centre it we also reduced the margin.

Contributes to issue CURA-8202.
2021-07-07 11:36:11 +02:00
Ghostkeeper
1975d053b0
Split solid and 100% infill icons into two icons
Both have different margins for their different use cases.

Contributes to issue CURA-8202.
2021-07-07 11:36:10 +02:00
Ghostkeeper
8e5485330f
Align sizes of prepare and preview menus
For some reason, the prepare menu is still one pixel too small. I think it's got to do with that one being a layout rather than a normal row.

Contributes to issue CURA-8202.
2021-07-07 11:36:10 +02:00
Ghostkeeper
92293e7008
Make checkbox mark colours same as text colours
The new icon set changes the checkmark to something a lot thinner and more subtle. Making it darker compensates for that a bit.
2021-07-07 11:36:09 +02:00
Jaime van Kessel
0347bb9ce2
Merge branch 'CURA-8012_restyle_buttons' of github.com:Ultimaker/Cura 2021-07-06 16:03:38 +02:00
Konstantinos Karmas
d2c0a1f32e Change height of message buttons to be the same with all other action buttons
CURA-8012
2021-07-06 14:13:19 +02:00
Konstantinos Karmas
b850d8c18e Center the extruder icon in the tabRowButton in the custom print settings
CURA-8011 and CURA-8202
2021-07-06 14:10:19 +02:00
Konstantinos Karmas
d4c254dcab Make the Link button in the Messages similar to the Cura Tertiary button
CURA-8012
2021-07-06 13:59:05 +02:00
Konstantinos Karmas
38bec36f6b Revert Tertiary button to its previous style
The styling of the Tertiary button (to not look like a link anymore) and the introduction of the Quatertiary button (as the link button) will happen in a separate ticket in the future.

CURA-8012
2021-07-06 13:45:24 +02:00
Jaime van Kessel
b8afc9c045
Merge branch 'master' of github.com:Ultimaker/Cura 2021-07-06 11:53:59 +02:00
Jaime van Kessel
d0411a95fd
Fixed rigid3d zhop speed 2021-07-06 11:53:41 +02:00
Jaime van Kessel
401f3d0df6
Set default z-hop speed to allowed value 2021-07-06 11:47:47 +02:00
Jaime van Kessel
11b6e680b2
Remove incorrect value from makermade profile
No idea why it worked in the first place, but a max speed of 0 is impossible!
2021-07-06 11:45:51 +02:00
Jaime van Kessel
5acf2ec47d
Set Z speed for dagoma disco 2021-07-06 11:45:04 +02:00
pbr-research
6634fca887
Add PBR 3D Gen-I printer definition (#9307)
* Add new printer PBR_3D.def.json

Adding new Profile definition for PBR 3D.

* Create pbr_3d.extruder_0.def.json

Adding extruder profile for PBR 3D

* Delete pbr_3d.def.json

* Delete pbr_3d.extruder_0.def.json

* Adding PBR 3D Gen-I printer definition.

This is an printer definition for our printer.

* Adding PBR 3D Gen-I Printer Extruder definition

This is an extruder definition for our printer.

* Adding buildplate definition for PBR 3D Gen-I

This is a buildplate definition for our printer.

* Update pbr3d_g1.def.json

* Add files via upload
2021-07-06 11:42:44 +02:00
Jaime van Kessel
b7e60ca413
Set z hop speed to max for Tevo Tarantula
Fixes Ultimaker/Cura#10085
2021-07-06 11:37:30 +02:00
Jaime van Kessel
fe0f460547
Set default z hop speed to max allowed value for maylan m200
Fixes Ultimaker/Cura#10083
2021-07-06 11:33:50 +02:00
Remco Burema
acf3f2d02a
Let Tertiary button have its own hover entry.
Secondary button entries should not be re-used here.

part of CURA-8012
2021-07-06 09:37:48 +02:00
Remco Burema
a42fee4834
Put the dark-theme bg back the way it was.
Not really part of this ticket. Also no buttons are directly on the background anyway.

part of CURA-8012
2021-07-06 09:25:10 +02:00
Remco Burema
e4710dd921
ActionButton is a RoundedRectangle once more.
We want to deprecate the API, not break it (yet).

part of CURA-8012
2021-07-06 09:06:47 +02:00
NilsRo
235b9a9b4d
Merge branch 'Ultimaker:master' into master 2021-07-06 07:50:00 +02:00
NilsRo
b068cdf742 Update anycubic_i3_mega_s.def.json
Adapted Deviation to ATMega2560 of Anycubic Mega S
2021-07-06 07:48:41 +02:00
Ghostkeeper
f92c6594da
Remove stylised caps for Creasee manufacturer
We'd like to keep the list of manufacturers and printers a bit more fair, without some manufacturers/printers getting more attention than others. The printers didn't have stylised caps here either.

Contributes to issue CURA-8364.
2021-07-05 17:55:01 +02:00
Ghostkeeper
02ef22a572
Merge branch 'master' of https://github.com/ivovk9/Cura into ivovk9-master 2021-07-05 17:51:46 +02:00
Ghostkeeper
62916cb7d4
Remove outline of background around connectivity badge
After feedback from our designer, this turns out to no longer be desirable.

Contributes to issue CURA-8247.
2021-07-05 17:34:13 +02:00
Konstantinos Karmas
5ae4ad5429 Center the material label if no variant in the ConfigurationMenu header
CURA-8011
2021-07-05 17:33:03 +02:00
Jaime van Kessel
ff19d1dd63
Rename small_black to small_emphasis
Still not a great name, but it's better than the old one

CURA-8011
CURA-8202
2021-07-05 15:44:50 +02:00
Ghostkeeper
43237c91c6
Merge branch 'CURA-8011_Replace_extruder_icons' into CURA-8247_badge_background_colour 2021-07-05 15:19:38 +02:00
Ghostkeeper
f9fcbf2492
Add new colour for background of the printer connectivity badge
This should be different from the background colour in case of the dark theme. The design asks for a white background for the badge in the dark theme.

Contributes to issue CURA-8247.
2021-07-05 15:19:15 +02:00
Ghostkeeper
fa4c69cb2b
Merge CloudBlueBG and CloudGreyBG into one icon without colour
We don't use the colour of icons. The colour is determined by the theme, and recoloured by UM.RecolorImage.

Contributes to issue CURA-8247.
2021-07-05 15:09:15 +02:00
Konstantinos Karmas
e7648b654d Fix ExtruderIcon size in the printer settings tab
CURA-8011 and CURA-8202
2021-07-05 14:11:40 +02:00
Konstantinos Karmas
0319fdcc41 Get the opacity of the extruder from the theme
CURA-8011
2021-07-05 12:27:29 +02:00
Konstantinos Karmas
12b844b357 Change extruder icon color to follow the color of the text
As per the review suggestion https://github.com/Ultimaker/Cura/pull/10051#discussion_r661493104.

CURA-8011
2021-07-05 11:38:55 +02:00
Konstantinos Karmas
18377d2726 Change extruder icon in monitor tab to be same as preview tab
There are still some discrepancies (e.g. when the extruder is empty, the Preview tab just keeps it disabled and mentions "Generic PLA" while the Monitor tab shows it disabled by mentions "Empty" in the material. But we consider this acceptable for the time being, since it has been like that for a long time.

CURA-8011
2021-07-05 11:31:23 +02:00
Konstantinos Karmas
1a273714a3 Make the width of the PreviewMenu headers dynamic
CURA-8011
2021-07-05 10:37:19 +02:00