mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
Add documentation to PrintSetupHeaderButton
CURA-8684
This commit is contained in:
parent
2290b46bf3
commit
29fc98fea4
2 changed files with 7 additions and 8 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue