Joey de l'Arago
0738f996d0
Merge branch 'main' into CURA-9793_extend_recommended_print_settings
2022-12-05 11:39:51 +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
02572311bf
Components were clickable when hidden.
...
CURA-9793
2022-12-02 16:19:29 +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
62bae7df19
Collapse the setting section when the switch for the section is disabled.
...
Add collapse animation for setting items and setting section.
Swap out ColumnLayout for Layout. Animating the Layouts does not seem to be possible.
I had to put spacer back into the Column but it is the lesser of two evils.
CURA-9793
2022-12-01 14:03:11 +01:00
Joey de l'Arago
574b1000f6
Add tooltips
...
CURA-9793
2022-11-30 17:44:58 +01:00
Joey de l'Arago
522bf60e81
Adjust left margins
...
CURA-9793
2022-11-30 15:43:14 +01:00
Joey de l'Arago
d617566db4
Move show custom button next to setting section title.
...
CURA-9793
2022-11-30 15:36:15 +01:00
Joey de l'Arago
b356335f4f
Correct spelling mistake
...
CURA-9793
2022-11-30 15:10:19 +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
0514c62b3e
Remove bad height assignment to dynamic layout
...
CURA-9793
2022-11-30 14:51:45 +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
Joey de l'Arago
1224f076c3
Fix switch alignment
...
CURA-9793
2022-11-29 17:20:34 +01:00
Joey de l'Arago
c356b9d46f
Rename ExtruderSelectorBar -> SingleSettingExtruderSelectorBar to be inline with new single setting widgets.
...
Move common functionality into SingleSettingExtruderSelectorBar
Add adhesion settings
CURA-9793
2022-11-29 17:00:55 +01:00
Joey de l'Arago
c240833868
Add Support type settings
...
CURA-9793
2022-11-29 16:23:49 +01:00
Joey de l'Arago
b53c8aac54
Add single setting update ComboBox
...
CURA-9793
2022-11-29 16:16:50 +01:00
c.lamboo
0fc4773db3
Round possible fractional positional values
...
CURA-9793
2022-11-29 14:56:15 +01:00
c.lamboo
a470a6c333
Add indicator arrow to slider
...
CURA-9793
2022-11-29 14:37:45 +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
Joey de l'Arago
d9a2a3f5b7
cleanup
...
CURA-9793
2022-11-29 09:19:56 +01:00
Joey de l'Arago
5d5915e49e
Make support selector functional
...
CURA-9793
2022-11-29 09:19:56 +01:00
c.lamboo
84988a57e5
Update styling of infill slider
...
CURA-9793
2022-11-28 22:01:28 +01:00
Joey de l'Arago
631d6a15b0
Add extruder button bar that shows icons for each extruder in a horizontal row 💪
...
Make ExtruderButton more generic by moving functionality out.
Remove background color from ToolbarButton and add that background color to the Toolbar.qml.
Fix Toolbar border being created by overlapping rectangles instead of using border
Add scaling options for ToolBarButtons icon
CURA-9793
2022-11-28 15:55:55 +01:00
c.lamboo
8e8437eab0
Split of getStringParts
function
...
Spit into `getMainStringParts` and `getTailStringParts` so we can easily differentiate between the two in the front-end.
Cura-9773
2022-11-28 13:10:52 +01:00
Joey de l'Arago
30d886cfcd
Adjust setting first column width to match designs.
...
CURA-9793
2022-11-28 13:06:03 +01:00
Joey de l'Arago
4a59607d05
Switch to ColumnLayout
...
Update part of Support selector to new layout.
CURA-9793
2022-11-28 10:49:53 +01:00
Joey de l'Arago
ba958e1186
Changes by c.lamboo
2022-11-25 17:42:55 +01:00
Joey de l'Arago
eb13ac7f6b
Getting setting section sized properly
...
CURA-9793
2022-11-25 17:42:50 +01:00
c.lamboo
76564f7bc4
Add dash between main, and suffix part of quality display name
...
Cura-9773
2022-11-25 16:46:21 +01:00
c.lamboo
52ee149edc
Unify activeQualityDisplayNameMap
string creation
...
Generation quality display names in `CustomPrintSetup.qml` and `PrintSetupSelectorHeader.qml` were so similar that I decided to combine the logic.
Cura-9773
2022-11-25 16:09:55 +01:00
Joey de l'Arago
ac2e733ea6
Add Section Header and Section Setting item components.
...
Upgrade Adhesion to use new components
CURA-9793
2022-11-24 17:24: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
c.lamboo
e25048d88a
Add width to intent tool tips
...
CURA-9746
2022-10-12 15:29:08 +02:00
Remco Burema
e9b268bc06
Review suggestion; best practices; javascript.
...
done as part of CURA-9746
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2022-10-12 14:54:33 +02:00
Remco Burema
8db3f02a4f
Re-add tooltips for intent profile selection in recommended.
...
They where skipped over when transferring the radio bar to the current large button based setup.
CURA-9746
2022-10-12 14:43:55 +02:00
joeydelarago
fd8d6498ee
When changing to an intent with infillDensity > 100 in recommended settings the RecommendedInfillDensitySelector would set infillDensity=100.
...
This is because the onValueChanged function checks if the slider has a different value from the settings and updates the settings if it does. The slider has a max value of 100, so when setting the sliders value to 1000 the slider would update to have a value of 100. This would then update the setting to value to 100.
The fix is as follows. When updating the slider value > 100 just ignore the first onValueChanged. Following onValueChanged, which are triggered by the user sliding the slider, will still trigger.
CURA-9488
2022-08-10 16:45:16 +02:00
c.lamboo
efce84284e
Update translation strings
...
The profile name in the translation string was hard coded to be prepended before the actual string. Put this in the translation string as some languages may change the position of this part of the sentence.
2022-07-15 10:29:56 +02:00
Jaime van Kessel
656a3dc707
Remove stray print
2022-07-11 16:02:17 +02:00
j.delarago
7700d01cf3
Fix implicitWidth binding loop.
...
CURA-8849
2022-06-28 16:39:25 +02:00
j.delarago
8761a476a6
Fix height binding loops
...
CURA-8849
2022-06-28 16:33:35 +02:00
j.delarago
c118bd4e29
Adjust space between configuration warning and resolution options to closer match design.
...
CURA-8849
2022-06-22 11:13:50 +02:00
j.delarago
cde897ff1e
Instead of having a seperate tooltip for the checkbox and the text area, the two have been combined into one tooltip.
...
The reason for this is that hovering the mouse between the checkbox and text was causing some strange behaviour where sometimes the tooltip would not appear.
The effect of the changes in RecommendedSupportSelector.qml are the same as RecommendedAdhesionSelector.qml. It just required a bit of refactoring to have the checkbox and the textlabel in the same component.
CURA-8849
2022-06-21 11:59:03 +02:00
j.delarago
c6bc3a5cd7
Add tooltip to IconWithText.qml,
...
Use this to display tooltips for Infill, Support and Adhesion in recommended settings.
CURA-8849
2022-06-20 10:52:31 +02:00
j.delarago
f650579799
PrintQuality icon is slightly too right aligned due to the icon not filling the entire svg.
...
There is no additional margin on the left that can be removed, so instead I've given it a small negative margin
CURA-8849
2022-06-17 15:02:45 +02:00
j.delarago
9dff733345
Remove todos that are no longer applicable
...
Remove debug print statement
CURA-9321
2022-06-16 15:32:33 +02:00