merge github
[apps/navigation.git] / app / BtnEnlarge.qml
1 import QtQuick 2.0\r
2 import QtQuick.Controls 1.5\r
3 \r
4 Item {\r
5         Button {\r
6                 width: 100\r
7                 height: 100\r
8 \r
9         function zoomUp() {\r
10             map.zoomLevel += 1\r
11                 }\r
12 \r
13         onClicked: { zoomUp() }\r
14 \r
15                 Image {\r
16                         id: image\r
17                         width: 92\r
18                         height: 92\r
19                         anchors.verticalCenter: parent.verticalCenter\r
20                         anchors.horizontalCenter: parent.horizontalCenter\r
21             source: "images/240px-Antu_kdenlive-zoom-large.svg.png"\r
22                 }\r
23         }\r
24 }\r