Sync refactoring for multiple platforms
[mardrone] / mardrone / gauges / AltGauge.qml
index 1fb08f6..3a713a3 100644 (file)
@@ -4,6 +4,7 @@ import QtQuick 1.0
 Item {
     id: root
     property real value : 0
+    property url bezel:""
 
 //    width: 200; height: 200
 
@@ -24,11 +25,6 @@ Item {
         source: "needle1.png"
 
     }
-    Rectangle {
-        color: "blue"
-        x:0;y:0; width:10;height:10
-    }
-
     Image {
         id: needle1
         x: (root.width/2)-(width/2); y:(root.width/2)
@@ -40,5 +36,9 @@ Item {
         source: "needle2.png"
 
     }
-  //  Image { x: 21; y: 18; source: "overlay.png" }
+    Image {
+        id:bezelImg
+        anchors.fill:parent
+        source: bezel
+    }
 }