4861 Commits

Author SHA1 Message Date
Jaime van Kessel
f55e3363d0 Remove unneeded property change
CURA-8421
2021-09-22 09:35:09 +02:00
Jaime van Kessel
dc181a3426 Simplify QML of application button
CURA-8421
2021-09-22 09:33:13 +02:00
Jaime van Kessel
e0b38f2782 Add animation to hover effect
CURA-8421
2021-09-22 09:29:47 +02:00
Konstantinos Karmas
96436fbedd Remove unnecessary anchor
Fixes review comment https://github.com/Ultimaker/Cura/pull/10491#discussion_r713124155.

CURA-8421
2021-09-21 17:36:04 +02:00
Konstantinos Karmas
c73f815b69 Use anchors instead of setting the width
Fixes review comment https://github.com/Ultimaker/Cura/pull/10491#discussion_r713119985.

CURA-8421
2021-09-21 17:32:06 +02:00
Konstantinos Karmas
2f75e299f5 Set the width in the parent item
Fixes review comment https://github.com/Ultimaker/Cura/pull/10491#discussion_r713127038.

CURA-8421
2021-09-21 17:31:37 +02:00
Konstantinos Karmas
a3d04bc752 Use the correct color for the label
CURA-8421
2021-09-21 16:16:14 +02:00
Konstantinos Karmas
ed0fc26051 Fix unthemed label
Since in dark mode it stays black and it disappears in the background.

CURA-8421
2021-09-21 15:51:01 +02:00
Jaime van Kessel
1aadb1bade
Merge pull request #10492 from Ultimaker/CURA-8422_add_platform_links
Add links to Ultimaker website applications
2021-09-21 15:45:37 +02:00
Konstantinos Karmas
c91509418e Make all the top right buttons uniform
Instead of inverting the fill and the text color in those buttons when hovering on those buttons, they will now show a light background fill when hovered.

CURA-8421
2021-09-21 15:36:31 +02:00
Konstantinos Karmas
ab77efd9c4 Move the popup so that the arrow isn't drawn exactly on the corner
CURA-8421
2021-09-21 15:07:04 +02:00
Konstantinos Karmas
e2d19668e4 Change the hover colors of the AppSwitcher button
So that they are more subtle.

CURA-8421
2021-09-21 15:00:25 +02:00
Ghostkeeper
df7ddd305c
Add tracking tags to Ultimaker website links
Contributes to issue CURA-8422.
2021-09-21 13:17:08 +02:00
Konstantinos Karmas
cd505d575d Merge branch 'CURA-8421_Introduce_app_switcher' into CURA-8422_add_platform_links 2021-09-21 11:35:02 +02:00
Konstantinos Karmas
6df9f9f72c Remove debugging code
So that all platform links have the link icon indicator in the bottom right corner.

CURA-8421
2021-09-21 11:32:38 +02:00
Konstantinos Karmas
ee564782b5 Remove comment
CURA-8421
2021-09-21 11:06:45 +02:00
Konstantinos Karmas
0d932991d4 Rename ApplicationSwitcher.svg to BlockGrid.svg
Since it is the original filename in the design.

CURA-8421
2021-09-20 17:24:06 +02:00
Konstantinos Karmas
fea8ecd55f Rename the qml elements and the theme entries used in AppSwitcher
To some more sensible names (hopefully).

CURA-8421
2021-09-20 17:19:37 +02:00
Konstantinos Karmas
d844c5f70a Fix alignment of the ApplicationSwitcher button
The sign in button has a different size when you are logged in, where the account avatar was being drawn in the middle of the Sign In button. This was causing a weird alignment of the ApplicationSwitcher next to it, as it was adding an extra margin.

This is now fixed by making sure that the width of the button that has to do with account adjusts according to whether you are logged in or not. This makes the ApplicationSwitcher icon move when you log in but looks more natural relatively to the account button.

CURA-8421
2021-09-20 16:57:16 +02:00
Konstantinos Karmas
a9968acd6d Fix misalignment of images if the displayName spans to next line
When the displayname of the app is long and it spans to the next line, it was pushing the icon up in the column, making it seem like it is misaligned. This is now fixed and the icons should be aligned regardless if the display name has one or two lines.

CURA-8421
2021-09-20 16:42:22 +02:00
Ghostkeeper
82922fd738
Merge branch 'CURA-8421_Introduce_app_switcher' into CURA-8422_add_platform_links 2021-09-20 16:36:49 +02:00
Ghostkeeper
c518f0de93
Add links to Ultimaker's platform websites
The links are not final since they will need some campaign tags. For the rest it should be more or less done.

Contributes to issue CURA-8422.
2021-09-20 16:36:26 +02:00
Konstantinos Karmas
15884a66e8 Warp and elide ApplicationButton display name
To make sure that it properly fits in the available space.

CURA-8421
2021-09-20 15:58:53 +02:00
Konstantinos Karmas
570fb3cf93 Introduce the ApplicationSwitcher widget
It includes only the hardcoded model with the Ultimaker links for now.

CURA-8421
2021-09-20 15:33:05 +02:00
Jaime van Kessel
c497e61d9d Merge branch 'feature_single_instance_clear_before_load' of https://github.com/fieldOfView/Cura 2021-09-15 16:18:54 +02:00
Ghostkeeper
daac6faaba
Also use a themeable distance for pop-ups, not just for sticky components 2021-09-10 12:15:18 +02:00
Ghostkeeper
25e2828ed0
Don't hard-code the distance between pop-up and header
By default in all of our themes this ends up being the same distance at 100% pixel scale, but it now scales according to the pixel scale of the user's screen while still being properly rounded to integer coordinates.
2021-09-10 12:12:20 +02:00
luz paz
d68f375e38 Fix various typos
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
2021-09-07 11:33:54 -04:00
Ghostkeeper
1560ae074d
Round position of printer connection icon
It does become noticeably sharper with this. And doesn't appear out of place at all.

Contributes to issue CURA-8202.
2021-09-03 13:07:01 +02:00
Ghostkeeper
f4508c709e
Fix links to account sign up page
This was a miscommunication.

Contributes to issue CURA-8440.
2021-09-02 14:32:06 +02:00
Ghostkeeper
c779135112
Rename Group icon to People, and add high detail variant
The icon is called People in the UX team's icon system, and we need to stay aligned to that.
The high detail variant has an extra person in it.

Contributes to issue CURA-8530.
2021-09-01 18:01:10 +02:00
Ghostkeeper
b7b0d25615
Add high detail versions of some icons
The group icon seems to be broken though. We'll look into it.

Contributes to issue CURA-8530.
2021-09-01 15:39:04 +02:00
Ghostkeeper
34531656d6
Merge branch 'CURA-8520_Fix_missing_icons_in_deprecated_icons_list' into 4.11 2021-08-31 13:35:33 +02:00
Ghostkeeper
9ea025885a
Update links to network troubleshooting page
The new links also have campaign identifiers. Because apparently the website doesn't read the HTTP metadata information saying that it redirected from Cura, and it adds information which button it came from.
The old links will remain working via redirects, for older Cura versions.

Contributes to issue CURA-8528.
2021-08-31 12:07:11 +02:00
Konstantinos Karmas
b3af6f3ec5
Merge pull request #10366 from Ultimaker/CURA-8214_use_new_controlstyle_for_cluster_printer_selecter
Fix greyed out cluster printers
2021-08-31 09:45:33 +02:00
jelle Spijker
f730959f78 fixed discard or keep combobox on Mac
Use the new controls ComboBox
2021-08-30 16:15:02 +02:00
jelle Spijker
5ba1e8eda8 Settings search field uses italic style
Restored italic font style for the search field.
To not break look and feel with the old TextField
behaviour
2021-08-30 14:20:09 +02:00
Jaime van Kessel
a1378f9a06 Replace the textfield with cura.Textfield
This way we don't have to use the html in the setting item and we
dont have to re-do the whole hover logic in the search text field.

THis also makes the search magnifier themed, so it looks a lot better
in the dark theme

CURA-8498
2021-08-30 13:28:00 +02:00
Konstantinos Karmas
cf93f66135 Add missing Group.svg icon
CURA-8520
2021-08-30 11:42:57 +02:00
Konstantinos Karmas
3e0b395c72 Add the Buildplate.svg to the Cura icons
The icon existed only in the UM3NetworkPrinting plugin but it was also used in the ConfigurationItem.qml in Cura, so it had to be moved to the Cura icons.

CURA-8520
2021-08-30 10:45:45 +02:00
Konstantinos Karmas
8de5e1e5b9 Account for the width of the arrow in the Extruders row
Although the ExpandablePopup already sets the anchors of the `headerItem` to account for the arrow icon on the right side, the ConfigurationMenu's extruder row was ignoring it, thus making the elided text of the last extruder to overlap with the arrow icon a bit.

This commit fixes that by explicitly accounting for the width of the arrow in the extruders row.

**Note:** if the Cura window gets resized way too much, the extruder icons will still overlap with the arrow, since there is no space to fit everything.

CURA-8496
2021-08-26 13:31:27 +02:00
Jelle Spijker
392cca431f
Merge pull request #10331 from Ultimaker/CURA-8380_Align_link_style_among_OS_in_whats_new
CURA-8380: Align link style among os in whats new
2021-08-25 13:16:50 +02:00
Konstantinos Karmas
01b0d78f7b Use custom style for the links in the what's new textArea
A style had to be prepended in the text to make sure that it adheres to the style we want instead of using the OS-based link style.

Note: For some reason QML ignores all other link-style tags (such as `a:hover`, `a:focus` etc) apart from `a:link`, so we can only change the style for the normal link and NOT for when it is clicked or hovered.

CURA-8380
2021-08-24 13:31:39 +02:00
Konstantinos Karmas
2718d6a69a Change the ColumnLayout to Column in the ConfigurationMenu
When the labels were getting truncated and invisible after reducing the width of Cura's window, their visibility wasn't being restored back and, as a result, the `materialTypeLabel` was the only one that was remaining visible, even if there was enough space for the full `materialBrandColorTypeLabel`.

Changing the ColumnLayout to a Column, where the width is inherited from the parent, fixes that issue.

CURA-8496
2021-08-24 10:35:33 +02:00
Jaime van Kessel
b887398da6 Remove unneeded width from labels
CURA-8496
2021-08-23 10:56:43 +02:00
Konstantinos Karmas
0bcea3f4cd Fix long material names overlapping with extruder icons
Both the `preferredWidth` AND the `width` need to be set for the labels to be properly elided if there is no more room  in the ColumnLayout. In addition, the ColumnLayout that contains the variants and material names needs to be visible only if width>0, otherwise when the width is negative, for some reason the `materialTypeLabel` appears again.

CURA-8496
2021-08-20 09:49:21 +02:00
Ghostkeeper
33edc4a8c9
Fix display of unlinking button
It was not being displayed with Qt 5.15 due to the following error:
MaterialsView.qml:34:5: Unable to assign QStringList to QString
This is correct. And it should not just concatenate all of these material names; it should add a comma between them for human-readable display in the text label above the button.

Fixes #10235.
2021-08-17 13:34:43 +02:00
Konstantinos Karmas
e0e4a3f2c0 Add shadow behind the what's new pages
As discussed during the eCCB.
2021-08-16 17:00:30 +02:00
Jaime van Kessel
3dec4e228b Use leftpadding instead of binding anchors outside of siblings 2021-08-12 15:48:58 +02:00
Jaime van Kessel
79ccccb1a1 Fix qml warning spam 2021-08-12 15:27:39 +02:00