Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/TertiaryButton.qml')
-rw-r--r--resources/qml/TertiaryButton.qml21
1 files changed, 21 insertions, 0 deletions
diff --git a/resources/qml/TertiaryButton.qml b/resources/qml/TertiaryButton.qml
new file mode 100644
index 0000000000..eb714c22f6
--- /dev/null
+++ b/resources/qml/TertiaryButton.qml
@@ -0,0 +1,21 @@
+// Copyright (c) 2020 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: "transparent"
+ textColor: UM.Theme.getColor("text_link")
+ outlineColor: "transparent"
+ disabledColor: UM.Theme.getColor("action_button_disabled")
+ textDisabledColor: UM.Theme.getColor("action_button_disabled_text")
+ hoverColor: "transparent"
+ underlineTextOnHover: true
+}