5932 Commits

Author SHA1 Message Date
Remco Burema
9fe261ff58
Apply suggestions from code review.
part of CURA-9347

Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>
2022-12-02 19:07:41 +01:00
Joey de l'Arago
df8d0e9b46 Make it easier to override how the settingComboBox updates a setting.
CURA-9793
2022-12-02 18:01:12 +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
f24e6b1961 Fix NumericTextFieldWithUnit not validating text
CURA-9793
2022-12-01 17:09:41 +01:00
Joey de l'Arago
73137a140a Inherit UM.TextField in Cura.TextField and remove redundant properties
CURA-9793
2022-12-01 17:09:19 +01:00
Joey de l'Arago
df6ea1ea74 Rename TextFieldWithUnit.qml -> TextField and put all base textfield styling in it.
CURA-9793
2022-12-01 17:08:46 +01:00
Joey de l'Arago
9c4716416e Add validators that match validators for SettingTextField.
CURA-9793
2022-12-01 16:58:29 +01:00
Joey de l'Arago
01ebee4aea Cleanup
CURA-9793
2022-12-01 15:27:54 +01:00
Remco Burema
3bc955fe8f Fix review comments.
- Text was cutoff instead of wrapped in Save Custom Profile (Rename Dialog).
- Make the placeholder into a proper placeholder text.
- Fix spelling (save -> safe).
- Link didn't work as a link.
- Slightly better tooltips.

part of CURA-9347
2022-12-01 14:57:05 +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
Remco Burema
6f651b922a Profile compare-and-save: Add (more) explanatory text(s).
part of CURA-9347
2022-11-30 19:54:41 +01:00
Remco Burema
8f65af61e5 Connect compare-and-safe profile dialog buttons to actions.
Some rework was needed as to not get the entire Preferences window to show up, which previously came along with the add profile action.

part of CURA-9347
2022-11-30 18:48:07 +01:00
Joey de l'Arago
574b1000f6 Add tooltips
CURA-9793
2022-11-30 17:44:58 +01:00
Joey de l'Arago
487bf41a7b Add validators to project.
CURA-9793
2022-11-30 16:55:04 +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
c.lamboo
8ce2af290c Conditionally add ctrl+, hotkey to open settings
Only do this for mac, as it is not customary on other OSes

CURA-9939
2022-11-30 15:10:15 +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
680a86c896 Add default height to combobox, not sure why this was never set before.
CURA-9793
2022-11-30 15:08:06 +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
75721f467b Remove margins and padding and scale icon better.
CURA-9793
2022-11-30 14:41:19 +01:00
Remco Burema
c13deba1ea Build correct states for safe profiles flow (except actual safe).
Re-use Discard Or Keep dialogue, but have different buttons. (Safe to New/Override instead of Keep/Discard.) The actual safa action is still the old one though (for either new button, it still goes to the old 'make a new profile' action). Besides that, some cosmetics have to be done to the texts as well still.

part of CURA-9347
2022-11-30 12:40:07 +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
4f8943412f Remove unused anchors
CURA-9793
2022-11-30 12:10:50 +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
Remco Burema
79629e477d Small stuff: Swap Icons. Tooltips. Remove reduntant entries.
part of CURA-9347
2022-11-29 23:39:24 +01:00
Remco Burema
40b7233125 Also add save/reset buttons to custom profile.
part of CURA-9347
2022-11-29 23:18:15 +01:00
Remco Burema
0ea2830108 Add the 'safe to profile' button itself.
Currently only works for creating a new profile from current changes (when on top of a built-in profile). Only does the compare (not the safe yet) in the other circumstance. Also already anticipate the next commits by being able to hide the text and icon (because this will be added to the custom mode view as well).

part of CURA-9347
2022-11-29 22:54:30 +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
f99f1a4528 Stop logging spam by checking before setting property.
CURA-9793
2022-11-29 17:49:26 +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
Casper Lamboo
1672cd639f
Merge pull request #13914 from Ultimaker/CURA-9808_UltiMaker
CURA 9808 UltiMaker
2022-11-29 16:36:07 +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
788ab7da1b Fix broken combobox
CURA-9793
2022-11-29 16:16:50 +01:00
Joey de l'Arago
b53c8aac54 Add single setting update ComboBox
CURA-9793
2022-11-29 16:16:50 +01:00
Casper Lamboo
f4edc3a5d6
Update translation string
Cura-9808
2022-11-29 15:28:13 +01:00
c.lamboo
b22fafadbe Don't capitalise "M" in "Ultimaker Digital Library" and "Ultimaker Digital Factory"
because these are brand names.

CURA-9793
2022-11-29 15:26:51 +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
Joey de l'Arago
87ff294990 Remove redundant parameters. These will now be overriden by the parent.
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