Joey de l'Arago
e05c70ae38
Refactor ComponentWithIcon to use contents instead of loader.
...
CURA-9793
2022-12-12 14:22:38 +01:00
Joey de l'Arago
1e6184448c
Apply suggestions from code review
...
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
Co-authored-by: Jelle Spijker <j.spijker@ultimaker.com>
2022-12-12 11:44:21 +01:00
c.lamboo
e03b4e07f9
Simplify rounding
...
Use sliders stepSize and snapMode properties
CURA-9793
2022-12-08 17:11:04 +01:00
Joey de l'Arago
f601229390
Move Validators to UM, so they can be used in UM components.
...
Update all TextFieldWithUnit to use our FloatValidator. This component now has proper styling when the input is invalid. The DoubleValidator was flagging numbers with a "." in them as an incorrect input (I assume this is because the region was set to europe on the OS where "," is common). The workaround is to use our FloatValidator which validates both "." and ","
CURA-9793
2022-12-07 16:27:42 +01:00
Joey de l'Arago
362877dee1
Add new recommended mode tooltips and remove extra margin at the bottom of tooltips.
...
CURA-9793
2022-12-06 10:50:04 +01:00
Joey de l'Arago
3ddebe7a84
The extrudersCHanged signal was incorrectly being emitted before the global stack had updated. This was causing the extruderIds to always return the old extruderIds to connected qml components.
...
The setting slider was incorrectly setting the slider value when updating the model.
CURA-9793
2022-12-06 10:37:06 +01:00
Joey de l'Arago
ce5691c12d
Apply suggestions from code review
...
Co-authored-by: Jelle Spijker <j.spijker@ultimaker.com>
2022-12-05 14:42:35 +01:00
Joey de l'Arago
d7e1aa08ac
Update the single setting components to optionally update all extruders when a setting is settable per extruder or limited to extruder.
...
This forces all extruders to have their settings updated but only displays the value from a single extruder.
CURA-9793
2022-12-05 11:32:24 +01:00
Joey de l'Arago
540d810293
The slider was not forcing its setting value to stay the same when changes were made in the "Advanced" menu. This is because the slider updating and setting updating functions were intertwined. I've seperated them so that the slider no longer interferes with changes to the setting.
...
The Shell thickness settings were not being read or set correctly. I fixed this by setting the value to all extruders and reading from extruder 1. This setting is not set per machine but for all extruders. Not sure why.
CURA-9793
2022-12-05 10:23:40 +01:00
Joey de l'Arago
5b76e3dd7c
Add component with icon generic component.
...
Add print walls and print top/bottom settings to recommended menu
CURA-9793
2022-12-02 12:41:04 +01:00
Joey de l'Arago
dfb6c04d00
Add SingleSettingTextField.qml
...
Added a workaround for states of inheriting components. See comments for details.
CURA-9793
2022-12-02 11:48:50 +01:00
Joey de l'Arago
574b1000f6
Add tooltips
...
CURA-9793
2022-11-30 17:44:58 +01:00
Joey de l'Arago
dbf2ae4f60
Fix spacing vertical between Recommended sections and setting items.
...
CURA-9793
2022-11-30 15:09:05 +01:00
Joey de l'Arago
dbf27a432f
Change confusing naming of section enable switch.
...
CURA-9793
2022-11-30 12:12:41 +01:00
Joey de l'Arago
69af593d8c
Make Slider generic component in UM. Make Infill slider into generic SingleSettinSlider which will work for any setting now.
...
Change slider theme slighly.
CURA-9793
2022-11-30 11:45:27 +01:00
Joey de l'Arago
7ba0281136
Move required settingPropertyProvider into InfillSlider.
...
Use new RecommendedSetting components for Strength section of recommended.
CURA-9793
2022-11-29 17:50:40 +01:00
c.lamboo
f4e7829e0b
Remove infill icon changing density on change slider
...
Suggestion from @lorenzoromagnoli
CURA-9793
2022-11-29 13:12:11 +01:00
c.lamboo
261adf06e7
Place InfillSlider
in sperate file
...
CURA-9793
2022-11-29 10:32:47 +01:00
c.lamboo
84988a57e5
Update styling of infill slider
...
CURA-9793
2022-11-28 22:01:28 +01:00
Joey de l'Arago
a7dc1b24bc
Rename RecommendedInfillDensitySelector.qml since it will now be a more generic Strength selector
...
CURA-9793
2022-11-24 16:42:46 +01:00