add testqt source
[apps/navigation.git] / app / BtnEnlarge.qml
diff --git a/app/BtnEnlarge.qml b/app/BtnEnlarge.qml
new file mode 100755 (executable)
index 0000000..664c3aa
--- /dev/null
@@ -0,0 +1,25 @@
+import QtQuick 2.0\r
+import QtQuick.Controls 1.5\r
+\r
+Item {\r
+       Button {\r
+               id: btn_enlarge\r
+               width: 100\r
+               height: 100\r
+\r
+               function doSomething() {\r
+                       // ...\r
+               }\r
+\r
+               onClicked: { doSomething() }\r
+\r
+               Image {\r
+                       id: image\r
+                       width: 92\r
+                       height: 92\r
+                       anchors.verticalCenter: parent.verticalCenter\r
+                       anchors.horizontalCenter: parent.horizontalCenter\r
+                       source: "images/Enlarge_button.bmp"\r
+               }\r
+       }\r
+}\r