diff options
author | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-02-13 15:34:22 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-04-13 14:54:51 +0000 |
commit | b384ac3b83ead4593b03594a5ef3d4d82fae8959 (patch) | |
tree | 8162e8629c3cb2e2307943e80a2011a01c1e9940 /examples/location | |
parent | c923caef4dcae98699c55e7bf770fa9b0e1004c6 (diff) | |
download | qtlocation-b384ac3b83ead4593b03594a5ef3d4d82fae8959.tar.gz |
Remove map's background in mapviewer example.
Change-Id: I4010e9081d5718e18a05df6933a1297421ffccd7
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'examples/location')
-rw-r--r-- | examples/location/mapviewer/content/map/MapComponent.qml | 31 | ||||
-rw-r--r-- | examples/location/mapviewer/mapviewer.qml | 10 |
2 files changed, 1 insertions, 40 deletions
diff --git a/examples/location/mapviewer/content/map/MapComponent.qml b/examples/location/mapviewer/content/map/MapComponent.qml index a2936056..afe95c0f 100644 --- a/examples/location/mapviewer/content/map/MapComponent.qml +++ b/examples/location/mapviewer/content/map/MapComponent.qml @@ -393,37 +393,6 @@ Map { scaleTimer.restart() } - Rectangle { - id: infoLabel - width: backgroundRect.width + 10 - height: infoText.height + 5 - y: 440 - anchors.left: map.left - z: map.z + 1 - color: "dimgrey" - opacity: (infoText.text !="") ? 0.8 : 0 - - Behavior on opacity { - NumberAnimation { duration: 200 } - } - Text { - id: infoText - width: parent.width - elide: Text.ElideLeft - maximumLineCount: 4 - wrapMode: Text.Wrap - font.bold: true - font.pixelSize: 14 - style: Text.Raised; - anchors.left: parent.left - anchors.right: parent.right - anchors.verticalCenter: parent.verticalCenter - anchors.leftMargin: 5 - anchors.rightMargin: 5 - color: "white" - } - } - MouseArea { id: mouseArea property variant lastCoordinate diff --git a/examples/location/mapviewer/mapviewer.qml b/examples/location/mapviewer/mapviewer.qml index 28fc8100..d5ad89e1 100644 --- a/examples/location/mapviewer/mapviewer.qml +++ b/examples/location/mapviewer/mapviewer.qml @@ -271,7 +271,6 @@ ApplicationWindow { map = Qt.createQmlObject ('import QtLocation 5.3;\ import "content/map";\ MapComponent{\ - z : backgroundRect.z + 1;\ width: page.width;\ height: page.height;\ onFollowmeChanged: {mainMenu.isFollowMe = map.followme}\ @@ -492,14 +491,7 @@ ApplicationWindow { anchors.fill: parent focus: true initialItem: Item { - id: page - - Rectangle { - id: backgroundRect - anchors.fill: parent - color: "lightgrey" - z:2 + id: page } } - } } |