Commit graph

26270 commits

Author SHA1 Message Date
fieldOfView
82912ef20c Add alias for previously existing "star" icon 2021-08-24 16:34:28 +02:00
Jaime van Kessel
2bef85c6c2 Remove weird whitespace
CURA-6096
2021-08-24 14:45:52 +02:00
Konstantinos Karmas
99f8c85065 Style the "no plugin/material installed" texts in the installed tab
The default black text color was invisible in the dark theme.
2021-08-24 13:33:05 +02:00
Konstantinos Karmas
d24d520db0 Change background of Premium plugins and materials
Or else the link "Search materials" in the materials tab was very hard to see.

CURA-8380
2021-08-24 13:32:25 +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
Konstantinos Karmas
a754b49299 Merge branch '4.11' into CURA-8496_Fix_long_material_names_overlappint_with_icon 2021-08-24 09:38:25 +02:00
Konstantinos Karmas
6ad358a55d Set the job name whenever the workspaceLoaded is called
CURA-8358
2021-08-23 17:07:36 +02:00
Ghostkeeper
6b5ea9086f
Fix spelling in documentation
Saw this and wanted to take it along blindly with whatever next modification I made to Cura. However I need to switch branches now so it's just going to be a rather useless commit I guess.
2021-08-23 14:40:57 +02:00
Jaime van Kessel
78b6bf2ed4 Merge branch '4.11' of github.com:Ultimaker/Cura 2021-08-23 11:01:01 +02:00
Jaime van Kessel
52525038e3 Merge branch 'CURA-8496_Fix_long_material_names_overlappint_with_icon' of github.com:Ultimaker/Cura into 4.11 2021-08-23 11:00:29 +02:00
Jaime van Kessel
b887398da6 Remove unneeded width from labels
CURA-8496
2021-08-23 10:56:43 +02:00
Jaime van Kessel
2350712633 Remove incorrect reference to icons in some machine definitions 2021-08-22 19:57:09 +02:00
Ghostkeeper
44913c0d87
Merge branch '4.11' 2021-08-20 17:37:49 +02:00
Ghostkeeper
e27ec57b04
Fix spelling 2021-08-20 17:37:38 +02:00
Cyril
53263cf054
Improve FLSUN Super Racer profile (#10192)
* Improve FLSUN Super Racer profile

- Added quality profiles based on profiles provided by FLSUN
- Improved machine settings based on FLSUN's Marlin sources
- Replaced Super Racer STL with correct one

* Update flsun_SuperRacer.stl

* Update definitions

* Update flsun_sr.stl

* Update flsun_sr.stl

* Update flsun_sr.def.json

* Improve platform

* Normal quality by default

* Improvements

* Fix double settings

CURA-8510
2021-08-20 17:18:37 +02:00
Jaime van Kessel
e0e8223c5d Move DB handling into specialised classes
This keeps CuraContainerRegistry a lot cleaner, especially when more container types are
added

Cura-6096
2021-08-20 15:40:50 +02:00
Ghostkeeper
3eba7cd454
Slightly shorten AnyCubic i3 Mega S/Pro name
This was causing some files to be just over the limit of file length when given the default printer name on some operating systems. Some file systems, especially encrypted ones, have strict limitations for the maximum length of a file name. With percent-encoding and the extension and postfix we add to these file names, this could go over the limit in file name length for some operating systems.
Easy fix is to slightly shorten the name, at least to remove those brackets.

Done as a 5 minute fix.
2021-08-20 14:48:40 +02:00
Jaime van Kessel
27f0fe8bb9 Ensure that all metadata of profiles is stored
CURA-6096
2021-08-20 14:40:55 +02:00
Jaime van Kessel
6f32809a3a Prepare the inserts before actually doing them
CURA-6096
2021-08-20 13:09:40 +02:00
Jaime van Kessel
5311c949f0 Add variants to the database
CURA-6096
2021-08-20 11:05:37 +02:00
Jaime van Kessel
48ab21ac68 Add functions to get & add variants & qualities from DB
CURA-6096
2021-08-20 10:17:57 +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
Cláudio 'Patola' Sampaio
9affc9ac1d Updated pt_BR strings for 4.11 2021-08-20 03:38:21 +02:00
Ghostkeeper
b23b7119d2
Remove superfluous profile duplicates of all GreenTecPro colours for Weedo
We match these profiles by material type. Since they are all the same, we only need to retain one.

All other profiles than the black one weren't being loaded because all of these quality profiles had their 'material' metadata field set to be the black one.

Contributes to issue CURA-8469.
2021-08-19 16:56:15 +02:00
Ghostkeeper
a3b8b95ade
Remove stylised caps
We don't condone stylized caps as they give an unfair advantage to some printers. We don't show logos here, just textual names.

Contributes to issue CURA-8469.
2021-08-19 16:32:17 +02:00
Ghostkeeper
41a259228f
Merge branch 'master' of https://github.com/x40-Community/Cura into x40-Community-master 2021-08-19 16:23:03 +02:00
Jaime van Kessel
3f80fcb5e5 Add first stub for profile database
CURA-6096
2021-08-19 15:20:20 +02:00
Konstantinos Karmas
ae3362f716 Fix "Manage printer" button pointing to the print job link
Both the "Manage printer" and the "Manage in browser" button were using the `openPrintJobControlPanel()` function, which was wrong. This is now fixed so that the "Manage printer" will use the `openPrinterControlPanel()` function as it should've in the first place.
2021-08-19 12:33:46 +02:00
Jaime van Kessel
0348293f87 Merge branch '4.11' of github.com:Ultimaker/Cura 2021-08-19 10:01:20 +02:00
Jaime van Kessel
668624e13d Set lifetimes correctly 2021-08-19 10:01:01 +02:00
Ghostkeeper
1c9b3a0784
Merge branch 'CURA-8490_Make_sure_no_keyring_backend_is_available_on_Linux' into 4.11 2021-08-19 09:33:33 +02:00
Ghostkeeper
fcadba944a
Merge branch '4.11' into CURA-8491_sdk_upgrade_770 2021-08-19 09:17:17 +02:00
X40-Community
d199d2f297 USB connection and gerneric_pc removed 2021-08-18 20:13:04 +02:00
fvrmr
090a793e8a Merge branch '4.11' of https://github.com/Ultimaker/Cura into 4.11 2021-08-18 17:28:03 +02:00
Konstantinos Karmas
ed32f24f45 Merge branch '4.11' into CURA-8490_Make_sure_no_keyring_backend_is_available_on_Linux 2021-08-18 17:27:32 +02:00
fvrmr
7493233e3f Update 4.html
Fixed a typo's
2021-08-18 17:27:16 +02:00
Konstantinos Karmas
0972f1b721 Merge branch '4.11' of https://github.com/Ultimaker/Cura into 4.11 2021-08-18 17:18:51 +02:00
Konstantinos Karmas
9f31e1421b Make lifetime optional in the getBackwardsCompatibleMessage
This should fix the failing tests
2021-08-18 17:18:21 +02:00
fvrmr
1d00f959c4 Update whats new pages
Updated the links in the whats new pages
2021-08-18 17:18:07 +02:00
Konstantinos Karmas
617c4a0a5d Merge branch '4.11' into CURA-8490_Make_sure_no_keyring_backend_is_available_on_Linux 2021-08-18 17:12:53 +02:00
Remco Burema
898abc92a8
Update SDK 7.6 -> 7.7 because of API changes in 4.11
CURA-8491
2021-08-18 16:56:29 +02:00
Konstantinos Karmas
d218b0bff9 Remove check for "frozen" when setting the keyring backend
There is no need to have a different behavior from source compared to frozen builds when it comes to the keyring.

CURA-8490
2021-08-18 16:54:28 +02:00
Ghostkeeper
8650dd9b0f
Merge branch '4.11' 2021-08-18 16:18:43 +02:00
Ghostkeeper
a40c7e7410
Default lifetime for successful upload messages
There is no real reason to keep this visible indefinitely.
2021-08-18 15:36:41 +02:00
fvrmr
57c6efd427 Merge branch '4.11' of https://github.com/Ultimaker/Cura into 4.11 2021-08-18 12:08:14 +02:00
fvrmr
da92033666 Update change log + whats new pages
Update change log 4.11 beta
Update whats new pages + img

Links in whats new pages still needs to be updated
2021-08-18 12:08:09 +02:00
Konstantinos Karmas
c5a956068f Fix mypy complaint
The `Keyring` is already imported from MacOS, so it's best to rename the fail on for Linux.

CURA-8490
2021-08-18 12:02:13 +02:00
Konstantinos Karmas
b1dc38f126 Don't load a keyring backend on Linux
We do not support it on Linux and it can cause problems if there is a system keyring configured.

CURA-8490
2021-08-18 11:57:09 +02:00
Konstantinos Karmas
e5374ada3b Merge branch '4.11' 2021-08-17 15:59:53 +02:00