qmlFrontend/qml/qmlFrontend/HWButton.qml
branchqmlfrontend
changeset 10402 3313336c1ee0
child 10422 4cf23d4c7624
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qmlFrontend/qml/qmlFrontend/HWButton.qml	Fri Sep 12 00:51:14 2014 +0400
@@ -0,0 +1,23 @@
+import QtQuick 2.0
+
+Rectangle {
+    id: hwbutton
+    width: 360
+    height: 360
+    color: "#15193a"
+    radius: 8
+    border.width: 4
+    border.color: "#ea761d"
+    opacity: 1
+
+    signal clicked()
+
+    MouseArea {
+        id: mousearea
+        anchors.fill: parent
+        hoverEnabled: true
+        onEntered: parent.border.color = "#eaea00"
+        onExited: parent.border.color = "#ea761d"
+        onClicked: hwbutton.clicked()
+    }
+}