mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
WIP: Create new machine settings page
This commit is contained in:
parent
6c2e80d2a1
commit
3e4624774a
4 changed files with 166 additions and 24 deletions
|
@ -20,7 +20,8 @@ UM.TooltipArea
|
|||
|
||||
height: childrenRect.height
|
||||
width: childrenRect.width
|
||||
text: tooltip
|
||||
|
||||
text: tooltipText
|
||||
|
||||
property alias containerStackId: propertyProvider.containerStackId
|
||||
property alias settingKey: propertyProvider.key
|
||||
|
@ -30,7 +31,7 @@ UM.TooltipArea
|
|||
property alias labelWidth: fieldLabel.width
|
||||
property alias unitText: unitLabel.text
|
||||
|
||||
property string tooltip: propertyProvider.properties.description
|
||||
property string tooltipText: propertyProvider.properties.description
|
||||
|
||||
// whether negative value is allowed. This affects the validation of the input field.
|
||||
property bool allowNegativeValue: false
|
||||
|
@ -43,6 +44,7 @@ UM.TooltipArea
|
|||
// a dummy function for default property values
|
||||
function dummy_func() {}
|
||||
|
||||
|
||||
UM.SettingPropertyProvider
|
||||
{
|
||||
id: propertyProvider
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue