428 Commits

Author SHA1 Message Date
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
Jaime van Kessel
499e02579e Fix hiding settings that were not visible by default
CURA-6556
2019-06-05 16:36:30 +02:00
Remco Burema
7aa17da536
Merge pull request #5791 from Ultimaker/CURA-6490_fix_ppa_attempt2
CURA-6490 Fix settings attempt 2
2019-06-05 13:07:47 +02:00
Remco Burema
fc908cdf9b Revert "Settings-GUI: Max decimal places to 4 (from 3)."
This reverts commit 020bedcfeea844a3a785fc12d5a590cef4b8e0a8.
2019-05-28 11:33:17 +02:00
Remco Burema
020bedcfee Settings-GUI: Max decimal places to 4 (from 3). 2019-05-28 11:07:18 +02:00
Lipu Fei
f9af9754c8 Make reset button and revert stack levels configurable
CURA-6490
2019-05-28 10:33:26 +02:00
Lipu Fei
a14eb50fec Handle the case that resolve is undefined
CURA-6490
2019-05-28 10:33:26 +02:00
Ghostkeeper
19cc267726
Merge branch '4.1' 2019-05-20 13:42:38 +02:00
Jaime van Kessel
f5e31060a6 Fixed unknown reference in qml 2019-05-16 16:44:29 +02:00
Jaime van Kessel
ff0a18603b Remove a few more usages of deprecated functions 2019-05-16 15:20:38 +02:00
Jaime van Kessel
a0c705e900 Remove usage of some deprecated functions 2019-05-16 14:49:53 +02:00
Ghostkeeper
350dd5db3c
Correct positioning of tooltip for g-code text area 2019-05-10 11:32:40 +02:00