mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-23 22:29:41 +08:00
20 lines
668 B
QML
20 lines
668 B
QML
// Copyright (c) 2018 Ultimaker B.V.
|
|
// Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
import QtQuick 2.2
|
|
|
|
import UM 1.4 as UM
|
|
import Cura 1.1 as Cura
|
|
|
|
|
|
Cura.ActionButton
|
|
{
|
|
shadowEnabled: true
|
|
shadowColor: enabled ? UM.Theme.getColor("secondary_button_shadow"): UM.Theme.getColor("action_button_disabled_shadow")
|
|
color: UM.Theme.getColor("secondary_button")
|
|
textColor: UM.Theme.getColor("secondary_button_text")
|
|
outlineColor: "transparent"
|
|
disabledColor: UM.Theme.getColor("action_button_disabled")
|
|
textDisabledColor: UM.Theme.getColor("action_button_disabled_text")
|
|
hoverColor: UM.Theme.getColor("secondary_button_hover")
|
|
} |