WIP: Create new machine settings page

This commit is contained in:
Lipu Fei 2019-03-12 13:07:21 +01:00
parent 6c2e80d2a1
commit 3e4624774a
4 changed files with 166 additions and 24 deletions

View file

@ -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