mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 21:59:37 +08:00
35 lines
671 B
QML
35 lines
671 B
QML
// Copyright (c) 2015 Ultimaker B.V.
|
|
// Uranium is released under the terms of the AGPLv3 or higher.
|
|
|
|
import QtQuick 2.1
|
|
import QtQuick.Layouts 1.1
|
|
import QtQuick.Controls 1.1
|
|
import QtQuick.Controls.Styles 1.1
|
|
|
|
import UM 1.2 as UM
|
|
|
|
UM.TooltipArea
|
|
{
|
|
x: model.depth * UM.Theme.getSize("default_margin").width;
|
|
text: model.description;
|
|
|
|
width: childrenRect.width;
|
|
height: childrenRect.height;
|
|
|
|
Button
|
|
{
|
|
id: check
|
|
|
|
text: definition.label
|
|
|
|
onClicked:
|
|
{
|
|
addedSettingsModel.setVisible(model.key, true);
|
|
settingPickDialog.visible = false
|
|
UM.ActiveTool.forceUpdate()
|
|
}
|
|
}
|
|
}
|
|
|
|
|