mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Create a component for selecting the output device before output the
file. Contributes to CURA-5786.
This commit is contained in:
parent
eabd7c6b5e
commit
ec0d9f09b7
6 changed files with 116 additions and 10 deletions
|
|
@ -14,6 +14,7 @@ Button
|
|||
property alias iconSource: buttonIcon.source
|
||||
property alias textFont: buttonText.font
|
||||
property alias cornerRadius: backgroundRect.radius
|
||||
property alias tooltip: tooltip.text
|
||||
property var color: UM.Theme.getColor("primary")
|
||||
property var hoverColor: UM.Theme.getColor("primary_hover")
|
||||
property var disabledColor: color
|
||||
|
|
@ -62,6 +63,14 @@ Button
|
|||
Behavior on color { ColorAnimation { duration: 50 } }
|
||||
}
|
||||
|
||||
ToolTip
|
||||
{
|
||||
id: tooltip
|
||||
text: ""
|
||||
delay: 500
|
||||
visible: text != "" && button.hovered
|
||||
}
|
||||
|
||||
MouseArea
|
||||
{
|
||||
id: mouseArea
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue