Add documentation to PrintSetupHeaderButton

CURA-8684
This commit is contained in:
casper 2022-01-28 10:33:01 +01:00
parent 2290b46bf3
commit 29fc98fea4
2 changed files with 7 additions and 8 deletions

View file

@ -7,6 +7,9 @@ import QtQuick.Controls 2.0
import Cura 1.0 as Cura
import UM 1.5 as UM
// Simple button for displaying text and changes appearance for various states: enabled, valueError, valueWarning
// - and hovered. Mainly used in CustomConfiguration.qml
Item
{
UM.I18nCatalog
@ -283,10 +286,7 @@ Item
extruderIndex: Cura.ExtruderManager.activeExtruderIndex
updateModels: materialSelection.visible
}
onClicked:
{
materialsMenu.popup();
}
onClicked: materialsMenu.popup()
}
Item
{
@ -338,10 +338,7 @@ Item
id: nozzlesMenu
extruderIndex: Cura.ExtruderManager.activeExtruderIndex
}
onClicked:
{
nozzlesMenu.popup();
}
onClicked: nozzlesMenu.popup()
}
}

View file

@ -1,6 +1,8 @@
// Copyright (c) 2022 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
// Button component to be used within the
import QtQuick 2.1
import QtQuick.Controls 2.1