mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 12:17:50 -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 Cura 1.0 as Cura
|
||||||
import UM 1.5 as UM
|
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
|
Item
|
||||||
{
|
{
|
||||||
UM.I18nCatalog
|
UM.I18nCatalog
|
||||||
|
@ -283,10 +286,7 @@ Item
|
||||||
extruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
extruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
||||||
updateModels: materialSelection.visible
|
updateModels: materialSelection.visible
|
||||||
}
|
}
|
||||||
onClicked:
|
onClicked: materialsMenu.popup()
|
||||||
{
|
|
||||||
materialsMenu.popup();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
|
@ -338,10 +338,7 @@ Item
|
||||||
id: nozzlesMenu
|
id: nozzlesMenu
|
||||||
extruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
extruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
||||||
}
|
}
|
||||||
onClicked:
|
onClicked: nozzlesMenu.popup()
|
||||||
{
|
|
||||||
nozzlesMenu.popup();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
// Copyright (c) 2022 Ultimaker B.V.
|
// Copyright (c) 2022 Ultimaker B.V.
|
||||||
// Cura is released under the terms of the LGPLv3 or higher.
|
// Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
|
// Button component to be used within the
|
||||||
|
|
||||||
import QtQuick 2.1
|
import QtQuick 2.1
|
||||||
import QtQuick.Controls 2.1
|
import QtQuick.Controls 2.1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue