539 Commits

Author SHA1 Message Date
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
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
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
Remco Burema
e0e77327b5
Dropdown menu wasn't closing on MacOS.
CURA-8172
2021-04-13 13:38:58 +02:00
Kostas Karmas
2027309863 Fix tab button not switching to the next print setting field
The signal `setActiveFocusToNextSetting` has an argument which wasn't being passed in the
`onSetActiveFocusToNextSetting()` function, which was causing the broken behavior.

CURA-8166
2021-04-09 15:19:38 +02:00
Konstantinos Karmas
504f6dbe70
Revert "Cura 7813 qml modules version bump" 2021-03-30 09:48:28 +02:00
Konstantinos Karmas
180732788b
Merge pull request #9472 from Ultimaker/CURA-7813_QML_warnings
Cura 7813 qml modules version bump
2021-03-30 09:42:59 +02:00
jelle Spijker
645dc181bc
Fixed not showing tooltip
CURA-7813
2021-03-30 09:26:36 +02:00
Kostas Karmas
7827b36ab7 Fix QML warnings due to depricated on<signal> calls in Connections
As of 5.12, the signals used in connections should not be declared as on<signal>, but as
function on<signal>(arguments).
2021-03-30 09:02:48 +02:00
jelle Spijker
9da321ffb9
Update Layouts, Control.Styles and Dialogs
CURA-7813
2021-03-29 18:04:47 +02:00
jelle Spijker
2986d50745
Update QtQuick and QtQuick.Controls
CURA-7813
2021-03-29 17:55:19 +02:00
Jaime van Kessel
527e5775a7
Also set clipping for string 2020-07-20 15:25:55 +02:00
Kostas Karmas
e9da3b7e9a Revert "Make all settingitems async"
This reverts commit d1afc6390258510450e6f061757025f62e257dcb.
It creates a problem in Windows where settings with dropdown menus
do no load anymore.
2020-07-16 09:34:36 +02:00
Jaime van Kessel
e010d4f945
Only enable clipping for list text fields
Because clipping is expensive!
2020-07-10 16:44:55 +02:00
Jaime van Kessel
6d120c43b6
Remove unneeded null check
The check takes ~1.5 ms. It's easily called a few hunderd times
2020-07-10 15:57:00 +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
d1afc63902
Make all settingitems async
We're quite a few qt versions ahead now. The issue seems to have been resolved in the meantime!
2020-07-10 14:28:58 +02:00
Jaime van Kessel
ce3ac604f2
Remove anchient check from the code
We removed global tabs like 4 years ago, so no need to have the check.
Speeds up the setting loading a bit more again
2020-07-10 14:05:39 +02:00
Jaime van Kessel
c5d5cd2c59
Precompute delegate height for settingview
Speed up the rendering of settingitems a bit
2020-07-10 13:54:16 +02:00
Jaime van Kessel
70254e5585
Let search field also look through the description
CURA-7122
2020-06-29 13:11:07 +02:00
Ghostkeeper
37673691fd
Clarify tooltip about resolution between per-extruder values
It was using a bit of programmer jargon there that was very hard to understand. Initially I was coming in here to remove the space at the end of the translated string but I'm now changing all of it to make it more clear to the user as well.

Done as a 5 minute fix.
2020-03-24 09:35:10 +01:00
Jaime van Kessel
1b1c7b78aa
Remove unneeded rounding 2020-01-03 16:56:13 +01:00
Jaime van Kessel
c261065d68
Merge branch 'CURA-6959_collapse_categories' of github.com:Ultimaker/Cura 2020-01-02 16:07:24 +01:00
Nino van Hooff
8dbd67f5bd Merge remote-tracking branch 'origin/master' into CURA-6959_collapse_categories
# Conflicts:
#	resources/qml/Menus/SettingVisibilityPresetsMenu.qml
#	resources/qml/Settings/SettingView.qml
2020-01-02 15:32:26 +01:00
Nino van Hooff
4097256827 Clear settings search when pressing collapse all.
CURA-6959
2020-01-02 15:28:34 +01:00
Remco Burema
261ee5b7f5
Fix SettingCheckbox.qml warning. 2020-01-02 14:11:46 +01:00
Nino van Hooff
72497f48f7 Remove redundant brackets
CURA-6959
2020-01-02 13:55:01 +01:00
Jaime van Kessel
8b393317ff
Add "all" as a setting visibility preset
CURA-7082
2020-01-02 10:51:40 +01:00
Jaime van Kessel
7cc74c97e3
Ensure setting category uses correct background size 2019-12-31 15:28:29 +01:00
Jaime van Kessel
81c4c22d63
Fix that invisible items would still add spacing 2019-12-31 14:42:10 +01:00
Jaime van Kessel
bf57a61c48
Fix settings overlapping after collapse
I can't figure out why we ever set the min size to be negative, but
it was ocasonally making the layout stumble
2019-12-31 11:35:37 +01:00
Nino van Hooff
dfba1eb102 Refactor SettingCategory checkable by using expanded
More intuitive and less chance of overriding the expanded Binding

CURA-6959
2019-12-31 11:27:39 +01:00
Nino van Hooff
d780efd76c Add a settings menu option to collapse all categories
CURA-6959
2019-12-31 11:14:26 +01:00
Nino van Hooff
5c83ba0129 Rename SettingsDefinitionModel.collapse to -Recursive for consistency
CURA-6959
2019-12-30 15:05:52 +01:00
Jaime van Kessel
007add7fc2
Prevent undefined qml warnings
CURA-6935
2019-10-29 10:57:15 +01:00
Jaime van Kessel
7204deac0c
Rename function to beter reflect what it does
CURA-6932
2019-10-28 16:07:35 +01:00
Jaime van Kessel
4cc8bf5946
Create tooltips on demand instead of on creation.
This makes the loading of setting items a *lot* more faster, as each string
takes about 2.5 ms to create (and we load all of them in memory!).
2019-10-25 15:54:45 +02:00
Jaime van Kessel
5f2984b77e
Remove unused catalog
20ms faster is 20ms faster...
2019-10-25 15:49:05 +02:00
Jaime van Kessel
7f1cc84eb4
Simplify visible check for linkedSettings Icon
It was checking for a statement that is never True
2019-10-25 15:36:49 +02:00
Jaime van Kessel
f090b5898e
Small qml speed improvements for setting item 2019-10-25 15:09:31 +02:00
Jaime van Kessel
624b8d8741
Prevent unneeded re-evaluation of ActiveMachine ID property 2019-10-25 14:28:09 +02:00
Jaime van Kessel
11bf91ae38
Prevent type coercion in qml
This should speed things up a tiny bit
2019-10-25 13:52:45 +02:00
Lipu Fei
38ee4bf208 Remove deprecated functions in MachineManager
CURA-6858
2019-10-22 14:11:40 +02:00
Lipu Fei
94e89ad4ac Fix merge conflicts with master 2019-09-24 14:26:43 +02:00
Ghostkeeper
1f7c653368
Capitalise the S
We need to seize this opportunity and capitalise on that sort of market opportunity.
2019-09-19 10:47:16 +02:00
Jaime van Kessel
ba0c16d968 Update intents model to use container tree
CURA-6598
2019-08-29 13:53:23 +02:00
Jaime van Kessel
f4dc93fc39 Prevent crash in model if no extruder is set
CURA-6598
2019-08-29 11:57:03 +02:00
Jaime van Kessel
867a881de9 Ensure bool and enum settings get control highlighted on hover 2019-08-27 13:38:55 +02:00
Lipu Fei
960a20652a Add warning state for prime blob and CheckBox
CURA-6414
2019-06-06 12:30:27 +02:00