From 883956be099c56aeea4f3d0558768a7c30a1c6eb Mon Sep 17 00:00:00 2001 From: Pierre TILAK Date: Wed, 30 Oct 2019 15:15:02 +1300 Subject: [PATCH] Add Trash to MissionItemEditor, pimp icon --- resources/TrashDelete.svg | 122 +++++++++++++++++++++++++++-- src/PlanView/MissionItemEditor.qml | 1 + 2 files changed, 116 insertions(+), 7 deletions(-) diff --git a/resources/TrashDelete.svg b/resources/TrashDelete.svg index cb4c5a3d7..8d8af7f4e 100644 --- a/resources/TrashDelete.svg +++ b/resources/TrashDelete.svg @@ -1,8 +1,116 @@ - + - - - - + +image/svg+xml + + + \ No newline at end of file diff --git a/src/PlanView/MissionItemEditor.qml b/src/PlanView/MissionItemEditor.qml index baa9c655b..f39160ace 100644 --- a/src/PlanView/MissionItemEditor.qml +++ b/src/PlanView/MissionItemEditor.qml @@ -47,6 +47,7 @@ Rectangle { readonly property real _margin: ScreenTools.defaultFontPixelWidth / 2 readonly property real _radius: ScreenTools.defaultFontPixelWidth / 2 readonly property real _hamburgerSize: commandPicker.height * 0.75 + readonly property real _trashSize: commandPicker.height * 0.75 readonly property bool _waypointsOnlyMode: QGroundControl.corePlugin.options.missionWaypointsOnly QGCPalette { -- 2.22.0