5780 Commits

Author SHA1 Message Date
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
fieldOfView
660cc12382 Use UM.StatusIcon instead of our own 2021-08-24 17:58:50 +02:00
fieldOfView
96a1019f1e Merge branch 'master' into feature_extruder_warning_icon 2021-08-24 17:39:28 +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
Konstantinos Karmas
332475562b Change account signup link
CURA-8441
2021-08-09 13:00:03 +02:00
Konstantinos Karmas
b37716de58 Add missing campaign tags
CURA-8441
2021-08-09 12:59:29 +02:00
Jaime van Kessel
57e66a5796 Add campaign links
CURA-8441
2021-08-05 15:42:23 +02:00
Konstantinos Karmas
c3f26d4daa Move layer.enabled inside the child item in ExtruderIcon
When it was in the outer item, it was causing the label to disappear when then extruder icon was getting disabled. Moving it inside the child item which has the opacity change seems to fix that issue.

CURA-8417
2021-08-05 09:52:03 +02:00
Konstantinos Karmas
b86e6ddfe6
Merge pull request #10189 from Ultimaker/CURA-7689_beta_release_notifications
Allow update checking for BETA and stable releases
2021-08-04 15:59:08 +02:00
Jaime van Kessel
8c537fc4e6 Move update related preferences to their own category
CURA-7689
2021-08-03 13:09:19 +02:00
Jaime van Kessel
be59e701f2 Add seperate preference for plugin notifications check
CURA-7689
2021-08-03 13:07:11 +02:00
Konstantinos Karmas
b006d9111f Merge branch 'master' into CURA-7689_beta_release_notifications 2021-08-02 16:04:00 +02:00
Konstantinos Karmas
83fe65b8eb Use the StatusIcon qml component for the warning icons
CURA-8349
2021-07-28 18:17:54 +02:00
Konstantinos Karmas
d41d68e6fa Replace warning icon in the unable to slice message
With the new warning icon that has a solid background, similar to the warning icon used in the messages.

CURA-8439
2021-07-28 16:57:15 +02:00
Konstantinos Karmas
01c4a0f72d Change warning icon background to the CircleSolid.svg
CURA-8439
2021-07-28 16:55:36 +02:00
Jaime van Kessel
d24b28c9b9
Fix two deprecated icons 2021-07-27 16:16:36 +02:00
Jaime van Kessel
11a32d13e7
Merge branch 'master' of github.com:Ultimaker/Cura 2021-07-27 15:29:08 +02:00
Jaime van Kessel
4470fa198e
Swap out warning icon
CURA-8439
2021-07-27 15:26:51 +02:00
Jelle Spijker
6a9760060d
Merge pull request #10190 from Ultimaker/CURA-8437_Wrap_text_in_license_window
CURA-8437: Wrap the text in the license window
2021-07-27 12:41:24 +02:00
Jaime van Kessel
45751efdd3
Fix overlap effect for extruderIcon
CURA-8417
2021-07-27 12:02:41 +02:00
Jaime van Kessel
f11079adcf
Fix width & height of setting visibility button
The widht & height were not set correctly, which made the mouse
area smaller than the icon of the button.

CURA-8438
2021-07-27 11:20:07 +02:00
fieldOfView
14cf23c65f Update to new icon names 2021-07-26 14:17:58 +02:00
fieldOfView
9c05d990ea Merge branch 'master' into feature_extruder_warning_icon
# Conflicts:
#	resources/qml/Menus/ConfigurationMenu/ConfigurationMenu.qml
2021-07-26 14:12:30 +02:00
Konstantinos Karmas
ca5d60fd3b Wrap the text in the license window
CURA-8437
2021-07-26 14:08:27 +02:00
Jaime van Kessel
d0654aa4d0
Add option to preference to switch between stable & beta for update checker
CURA-7689
2021-07-26 13:35:36 +02:00
Ghostkeeper
a4f6e94ae0
Update the sync-storage path every time you sync
Instead of updating the storage path every time you add or remove a removable drive, we now update the storage path every time you press the button to sync. That way this detail has no impact on performance of other parts of Cura if they don't use this button. It also makes the code a bit simpler.
The only downside is that this FileDialog then contains state, instead of automatically syncing with the MaterialManagement property for its folder property. I see that as a lesser of two evils.

Contributes to issue CURA-8055.
2021-07-23 15:16:38 +02:00
Ghostkeeper
82c7f19164
Merge branch 'master' into CURA-8055_export_all_materials_usb_redone 2021-07-23 15:11:07 +02:00
Vandresc
5f39de0a4c
Merge pull request #10169 from Ultimaker/CURA-8245_macos_crash_exit_translated
Fix crash on exit on MacOS if using Cura's translations
2021-07-23 11:22:02 +02:00
Ghostkeeper
e04a2b5e92
Also don't translate 'configure' keyword on MacOS
Another attempt at finalising CURA-8245.
2021-07-21 13:30:19 +02:00
Konstantinos Karmas
74a611d577 Change maximum network printers item count
So that it does not make the Local printers button overlap with the add/cancel buttons when the network printers list is full.
2021-07-21 11:49:34 +02:00
Ghostkeeper
109fce5211
Theoretical fix for MacOS not moving Preferences option any more
Perhaps this ampersand was messing with it.

Contributes to issue CURA-8245.
2021-07-20 15:22:44 +02:00
Ghostkeeper
e591f3db5b
Don't translate certain keywords in the application menu on MacOS
There's a suspicion that this is causing a crash on exit. From the traceback it seems like it's attempting to find a certain property on a deleted item. I'm thinking it might be trying to update properties on an item that was already deleted by the system here because the item got moved to a system-specific menu. Qt doesn't realise that. By not translating that property, it's not necessary to update and hopefully this prevents the need to look up data on the deleted item.
Not translating it is not an issue anyway, since the menu will also be renamed by Qt to some system-specific name, which is then also translated to the user's system-language by MacOS itself.

It's not at all sure if this will fix it. Tests are necessary.

Contributes to issue CURA-8245.
2021-07-19 17:34:44 +02:00
Jaime van Kessel
7ace875279
Also search on description when using search in visibility page 2021-07-19 15:47:38 +02:00
Ghostkeeper
cc82ff97a7
Merge branch 'CURA-8112_Inform_the_user_about_their_subscription_limits' 2021-07-16 10:04:43 +02:00
Ghostkeeper
5503c57631
Reduce margins around troubleshooting link
This makes the link space out better on some screens, where the space is limited.

Contributes to issue CURA-8392.
2021-07-15 18:24:25 +02:00
Konstantinos Karmas
26a17e0603
Code-style improvement
CURA-8112

Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2021-07-15 10:02:57 +02:00
Konstantinos Karmas
11d86b98ef Merge branch 'master' into CURA-8112_Inform_the_user_about_their_subscription_limits 2021-07-14 15:52:27 +02:00
Konstantinos Karmas
11f66b2a78 Add brackets
CURA-8112
2021-07-14 12:54:31 +02:00