Commit graph

1062 commits

Author SHA1 Message Date
fieldOfView
04bfd6b820 Use UM.Theme instead of Theme
This prevents hundreds of QML warning messages logged in some user reports of Cura being slow.

```
2021-04-30 11:42:01,492 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [411]: file:///.../cura/../resources/themes/cura-light/styles.qml:335: TypeError: Cannot read property 'getSize' of null
2021-04-30 11:42:01,492 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [411]: file:///.../cura/../resources/themes/cura-light/styles.qml:338: TypeError: Cannot read property 'getColor' of null
2021-04-30 11:42:01,500 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [411]: file:///.../cura/../resources/themes/cura-light/styles.qml:327: TypeError: Cannot read property 'getSize' of null
2021-04-30 11:42:01,500 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [411]: file:///.../cura/../resources/themes/cura-light/styles.qml:329: TypeError: Cannot read property 'getColor' of null
2021-04-30 11:42:01,500 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [411]: file:///.../cura/../resources/themes/cura-light/styles.qml:335: TypeError: Cannot read property 'getSize' of null
2021-04-30 11:42:01,500 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [411]: file:///.../cura/../resources/themes/cura-light/styles.qml:338: TypeError: Cannot read property 'getColor' of null
2021-04-30 11:42:01,500 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [411]: file:///.../cura/../resources/themes/cura-light/styles.qml:327: TypeError: Cannot read property 'getSize' of null
2021-04-30 11:42:01,500 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [411]: file:///.../cura/../resources/themes/cura-light/styles.qml:329: TypeError: Cannot read property 'getColor' of null
```
2021-04-30 12:22:40 +02:00
Kostas Karmas
f887db23f6 Use detail_level to describe the icons (instead of size)
Previously the icons were organized according to "size" which could prove to be confusing.
This commit fixes that by organizing them according to "detail_level".

CURA-8010
2021-04-28 18:53:32 +02:00
jelle Spijker
247412b16a
Implemeted new icons in on-boarding dialog
CURA-8010_new_icons
2021-04-28 16:54:26 +02:00
jelle Spijker
9ea97f7561
SVG are not correlated to pixel size.
Although this deviates from the UX practices. It tended to confuse the
programmers ;-) The variances in level of detail for the icons are now
placed in the sub-directories. small, default and big.

CURA-8010_new_icons
2021-04-28 15:45:20 +02:00
jelle Spijker
845289f708
Removed old theme specific Icons for cloud connect
This is already taken care of in QML

CURA-8010_new_icons
2021-04-28 11:17:29 +02:00
jelle Spijker
913369ee41
Removed auto generated text
CURA-8010_new_icons
2021-04-28 11:08:27 +02:00
jelle Spijker
886f41603a
Updated Connectivity icons so they can follow theming
CURA-8010_new_icons
2021-04-28 11:02:18 +02:00
jelle Spijker
13cd2d677c
Added new icon for Top/Bottom
CURA-8010_new_icons
2021-04-28 11:00:52 +02:00
jelle Spijker
2bd6f28f3a
Update Icons
Subdivided the new icons in 3 size categories. As requested by UX
Used the company naming scheme for uniformity and easy recognition.

Known issues:
- Top/Bottom category wasn't taken into account by UX at the time. Since
 this is a recent addition. Both the Walls and Top/Bottom will be updated.
- Cloud/Network connection icons 12px don't render correctly. Due to the
 theme-ing.
- Extruder Icons do not render correctly.

CURA-8010_new_icons
2021-04-26 19:42:17 +02:00
Ghostkeeper
7f353d72a7
Remove now unused image of printers
Contributes to issue CURA-8107.
2021-04-01 19:36:00 +02:00
Ghostkeeper
3e4098cffa
Clean up unreadable mess of SVG code
It's now documented and written down in human terms. Since it doesn't involve encoding contours as 0-width paths any more, the rendering should also be a bit faster.

Contributes to issue CURA-8107.
2021-04-01 19:09:55 +02:00
Ghostkeeper
6b41f3a5cd
Make the welcome screen a re-usable image
It's not good to name a resource after where it's used if it could be necessary in multiple places.

Contributes to issue CURA-8107.
2021-04-01 18:19:18 +02:00
Kostas Karmas
0488887780 Add image sizes for welcome dialog
CURA-8094
2021-03-25 08:57:15 +01:00
Kostas Karmas
c38b6f0522 Change SVG icon names
CURA-8094
2021-03-25 08:56:15 +01:00
Kostas Karmas
b21a21c0f2 Add missing style
Without it the svgs are rendered as completely black.

CURA-8094
2021-03-24 16:47:40 +01:00
Jelle Spijker
91c71e1c8a
Added missing 48px icons
These are the new icons. Specifically for 48px.

CURA-8094 Cura onboarding flow
2021-03-23 11:22:20 +01:00
Jelle Spijker
c727fe5e0c
Updated Sign in screen first run
CURA-8094 Cura onboarding flow
2021-03-23 11:20:38 +01:00
Jelle Spijker
ccf18a7443
Updated Welcome screen first run
CURA-8094 Cura onboarding flow
2021-03-23 11:18:25 +01:00
Ghostkeeper
79ec71ca4c
Move top/bottom settings to separate category
Implements CURA-8006.
2021-02-05 14:59:38 +01:00
Jaime van Kessel
b219f57b22
Merge branch 'dev' of https://github.com/BasF0/Cura 2021-01-27 10:56:35 +01:00
bas
1033133355 undo irrelevant change 2021-01-20 21:56:33 +01:00
Kostas Karmas
606ec587fe Change the row height in the table view
CURA-7868
2021-01-06 11:51:29 +01:00
BasF0
d8440edd4d
Merge branch 'master' into dev 2020-11-11 13:57:13 +01:00
bas
f6badcaeca Added starts color to theme, and support in shader / simulationpass 2020-11-11 13:44:21 +01:00
Ghostkeeper
81217880fd
Merge branch 'CURA-7745-fix-montior-page-hacks' 2020-10-15 09:57:34 +02:00
Jaime van Kessel
3e67d20890
Remove monitor_text_primary
It's so close to the text one that it really doesn't make sense to keep it.
Boyscouting the code a bit here

CURA-7745
2020-10-08 17:31:19 +02:00
Remco Burema
24f95a9cab
Fix confusing nozzle-node 'ghost' in simulation-view.
part of a 30-min fix
2020-10-07 16:22:22 +02:00
Remco Burema
b394be3583
Remove superfluous theme entry.
It was messing with the dark side. Theme. I mean theme.
part of CURA-7627
2020-08-05 08:16:10 +02:00
Jaime van Kessel
b2ca6a9224
Add removed theme entries again
Some plugins were using them.
2020-08-03 10:38:33 +02:00
Jaime van Kessel
8b7b8b0118
Simplify the SettingCategory 2020-07-10 14:50:44 +02:00
Jaime van Kessel
e633b6408e
Use pre-calculated control height
It's way faster to not re-compute every single time
2020-07-10 14:34:02 +02:00
Jaime van Kessel
5055b53063
Lower the saturation of colors in the layerview
Fixes #7992
2020-06-30 10:38:01 +02:00
Kostas Karmas
78bd5520bd Add theme color for sync state icon
CURA-7418
2020-06-16 14:41:23 +02:00
Konstantinos Karmas
56e8827d00
Merge pull request #7831 from Ultimaker/CURA-7437_no_internet_cloud_status
CURA-7437_no_internet_cloud_status
2020-05-28 10:02:15 +02:00
Nino van Hooff
eef347ed6c Add an cloud unavailable icon to the active printer icon
CURA-7437
2020-05-20 17:20:40 +02:00
Nino van Hooff
72657f15be Add padding to checked icon
CURA-7290
2020-05-13 16:38:42 +02:00
Nino van Hooff
b40b8e8489 Merge remote-tracking branch 'origin/master' into CURA-7290_manual_account_sync
# Conflicts:
#	cura/API/Account.py
2020-05-12 14:59:01 +02:00
Nino van Hooff
4fd5c6e337 Add account sync assets
CURA-7290
2020-04-30 17:18:20 +02:00
Kostas Karmas
05e92b953a Size the Welcome Wizard using the theme
CURA-7022
2020-04-28 17:44:35 +02:00
Ghostkeeper
0150f37937
Merge branch 'master' into xray_in_solid_view 2020-03-24 21:45:48 +01:00
Ghostkeeper
c44f82c44f
Add placeholder header pattern
This removes a warning from our log that this image couldn't be found. Instead it now draws a completely transparent image there.
The warning that is no longer in the log now looked like this:
2020-03-20 13:52:27,980 - WARNING - [MainThread] UM.Qt.Bindings.Theme.getImage [133]: No image header_pattern defined in Theme

Done during Turbo Testing and Tooling.
2020-03-20 14:05:42 +01:00
Jaime van Kessel
d01286a340
Remove all duplicate entries from dark theme 2020-03-10 11:57:30 +01:00
Jaime van Kessel
1a24e9a04a
Remove unneeded overrides from dark theme 2020-03-10 11:35:07 +01:00
Ghostkeeper
d2cab162ed
Make support render transparently
This way you can still sort of see what is being supported under there. Handy!

However because the layer view is rendered on top of everything else, the Z buffering is a bit messed up. This makes the support always exactly the transparency value in the theme regardless of how many layers of support are drawn. That's nice, because it makes it so that you can always see through the support.

This doesn't work when the colour scheme of layer view is not set to Line Type. There is no differentiation between support and other things then. Support infill seems to not be used at all by layer view, but I've also made the support interface transparent just like the normal support.
2020-03-10 01:06:11 +01:00
Tim Kuipers
82b2f23689 make xray solid color depending on what it occludes 2020-02-27 16:41:20 +01:00
Lipu Fei
632cfeb18b Update fonts using Google Noto Sans Fonts
CURA-6964

Fonts are downloaded from https://www.google.com/get/noto/#sans-lgc
with the "Condensed" fonts removed.
2020-02-05 11:25:27 +01:00
Nino van Hooff
8ea3004c73 Fix some dark theme styling (MoreInfoWindow, ToolboxLicenseDialog
CURA-7152
2020-01-30 12:51:13 +01:00
Nino van Hooff
9dd50c8804 Replace buttons by PrimaryButtons for cloud sync dialogs
CURA-6984
2020-01-17 13:54:39 +01:00
Jaime van Kessel
c6f42766c7
Remove hardcoded sizes from dialogs & popups
Contributes to #6670
2019-11-19 13:00:39 +01:00
Ghostkeeper
60d59148e8
Fix typo in the R
Contributes to issue CURA-6934.
2019-10-30 14:05:35 +01:00