summaryrefslogtreecommitdiffstats
path: root/map-widget
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-29 14:04:52 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-29 14:05:07 -0800
commit2747056889c6e003880201998353e28591faab62 (patch)
treeec0362db822a9a5b008ec28f3e3336e3a5505348 /map-widget
parent13c6a55a96434609dd053664d3a9093f41bf9ae1 (diff)
downloadsubsurface-2747056889c6e003880201998353e28591faab62.tar.gz
Revert "Use consistent aliases for all icons."
Diffstat (limited to 'map-widget')
-rw-r--r--map-widget/qml/MapWidget.qml8
-rw-r--r--map-widget/qml/MapWidgetContextMenu.qml2
2 files changed, 5 insertions, 5 deletions
diff --git a/map-widget/qml/MapWidget.qml b/map-widget/qml/MapWidget.qml
index ac5c4676e..af9b47135 100644
--- a/map-widget/qml/MapWidget.qml
+++ b/map-widget/qml/MapWidget.qml
@@ -56,7 +56,7 @@ Item {
z: mapHelper.model.selectedUuid === model.uuid ? mapHelper.model.count - 1 : 0
sourceItem: Image {
id: mapItemImage
- source: "qrc:///dive-spot" + (mapHelper.model.selectedUuid === model.uuid ? "-selected" : (mapHelper.editMode ? "-inactive" : "")) + "-icon"
+ source: "qrc:///mapwidget-marker" + (mapHelper.model.selectedUuid === model.uuid ? "-selected" : (mapHelper.editMode ? "-gray" : ""))
SequentialAnimation {
id: mapItemImageAnimation
PropertyAnimation { target: mapItemImage; property: "scale"; from: 1.0; to: 0.7; duration: 120 }
@@ -258,7 +258,7 @@ Item {
x: 10; y: x
width: 40
height: 40
- source: "qrc:///map-style-" + (map.activeMapType === map.mapType.SATELLITE ? "roadmap" : "satellite") + "-icon"
+ source: "qrc:///mapwidget-toggle-" + (map.activeMapType === map.mapType.SATELLITE ? "street" : "satellite")
SequentialAnimation {
id: toggleImageAnimation
PropertyAnimation { target: toggleImage; property: "scale"; from: 1.0; to: 0.8; duration: 120 }
@@ -278,7 +278,7 @@ Item {
x: 10 + (toggleImage.width - imageZoomIn.width) * 0.5; y: toggleImage.y + toggleImage.height + 10
width: 20
height: 20
- source: "qrc:///zoom-in-icon"
+ source: "qrc:///mapwidget-zoom-in"
SequentialAnimation {
id: imageZoomInAnimation
PropertyAnimation { target: imageZoomIn; property: "scale"; from: 1.0; to: 0.8; duration: 120 }
@@ -301,7 +301,7 @@ Item {
Image {
id: imageZoomOut
x: imageZoomIn.x; y: imageZoomIn.y + imageZoomIn.height + 10
- source: "qrc:///zoom-out-icon"
+ source: "qrc:///mapwidget-zoom-out"
width: 20
height: 20
SequentialAnimation {
diff --git a/map-widget/qml/MapWidgetContextMenu.qml b/map-widget/qml/MapWidgetContextMenu.qml
index 854c8540d..a7cb568b3 100644
--- a/map-widget/qml/MapWidgetContextMenu.qml
+++ b/map-widget/qml/MapWidgetContextMenu.qml
@@ -31,7 +31,7 @@ Item {
Image {
id: contextMenuImage
x: -width
- source: "qrc:///map-context-icon"
+ source: "qrc:///mapwidget-context-menu"
SequentialAnimation {
id:contextMenuImageAnimation