diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-07-08 10:05:21 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-08 10:29:10 -0700 |
commit | b1f4a2975f7b073927cda4e44af2ee74f9aba0f2 (patch) | |
tree | 1103e86752c4ea9cbee3a23567ac01d988d3c7cc | |
parent | d5793ea6af5190420844ea06352f53e251352d99 (diff) | |
download | subsurface-b1f4a2975f7b073927cda4e44af2ee74f9aba0f2.tar.gz |
QML UI: better icon for download from dive computer
Thanks to Davide for paying for professional icon design.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | icons/button-download-dc_icon.svg | 17 | ||||
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 2 | ||||
-rw-r--r-- | mobile-widgets/qml/mobile-resources.qrc | 2 | ||||
-rwxr-xr-x | scripts/mobilecomponents.sh | 1 |
4 files changed, 19 insertions, 3 deletions
diff --git a/icons/button-download-dc_icon.svg b/icons/button-download-dc_icon.svg new file mode 100644 index 000000000..497fe06a2 --- /dev/null +++ b/icons/button-download-dc_icon.svg @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" + viewBox="0 0 132 132" style="enable-background:new 0 0 132 132;" xml:space="preserve"> +<style type="text/css"> + .st0{fill:#FFFFFF;} +</style> +<path class="st0" d="M42.4,96.2c-9.6,0-17.4-7.8-17.4-17.4V53c0-9.6,7.8-17.4,17.4-17.4h13.4l-3.9-3.9l3.8-3.8l11.6,11.6L55.6,51.3 + l-3.8-3.8l3.9-3.9H42.4c-5.2,0-9.4,4.2-9.4,9.4v25.7c0,5.2,4.2,9.4,9.4,9.4h18.3v8H42.4z M89.4,35.6H71v8h18.3 + c5.2,0,9.4,4.2,9.4,9.4v25.7c0,5.2-4.2,9.4-9.4,9.4H76.1l3.9-3.9l-3.8-3.8L64.4,92.2l11.6,11.6l3.8-3.8L76,96.2h13.4 + c9.6,0,17.4-7.8,17.4-17.4V53C106.8,43.4,99,35.6,89.4,35.6z M49.1,28.9l3.8-3.8l2.8-2.8l2.8,2.8l3.8,3.8h5.9h25.8 + c3.2,0,6.2,0.6,9,1.8c-4.3-3.7-7.1-9.1-7.2-15.2l0,0v-8l0,0c-0.2-3.3-2.9-5.8-6.2-5.8c-0.1,0-0.2,0-0.3,0l0,0H68.2H47.2l0,0 + c-0.1,0-0.2,0-0.3,0c-3.3,0-6,2.6-6.2,5.8l0,0v8l0,0c-0.1,6.1-2.9,11.5-7.2,15.2c2.8-1.1,5.8-1.8,9-1.8H49.1z M82.7,103.1l-3.8,3.8 + l-2.8,2.8l-2.8-2.8l-3.8-3.8h-5.9H42.4c-3.2,0-6.2-0.6-9-1.8c4.3,3.7,7.1,9.1,7.2,15.2l0,0v8l0,0c0.2,3.3,2.9,5.8,6.2,5.8 + c0.1,0,0.2,0,0.3,0l0,0h21.1h21.1l0,0c0.1,0,0.2,0,0.3,0c3.3,0,6-2.6,6.2-5.8l0,0v-8l0,0c0.1-6.1,2.9-11.5,7.2-15.2 + c-2.8,1.1-5.8,1.8-9,1.8H82.7z"/> +</svg> diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 75c9587dc..138eaf7c4 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -328,7 +328,7 @@ Kirigami.ScrollablePage { } property QtObject downloadFromDCAction: Kirigami.Action { - iconName: "document-import" + iconName: "downloadDC" onTriggered: { downloadFromDc.dcImportModel.clearTable() stackView.push(downloadFromDc) diff --git a/mobile-widgets/qml/mobile-resources.qrc b/mobile-widgets/qml/mobile-resources.qrc index 838464683..6fd506219 100644 --- a/mobile-widgets/qml/mobile-resources.qrc +++ b/mobile-widgets/qml/mobile-resources.qrc @@ -31,7 +31,6 @@ <file alias="icons/handle-left.svg">kirigami/icons/handle-left.svg</file> <file alias="icons/distribute-horizontal-x.svg">kirigami/icons/distribute-horizontal-x.svg</file> <file alias="icons/document-edit.svg">kirigami/icons/document-edit.svg</file> - <file alias="icons/document-import.svg">kirigami/icons/document-import.svg</file> <file alias="icons/document-save.svg">kirigami/icons/document-save.svg</file> <file alias="icons/view-readermode.svg">kirigami/icons/view-readermode.svg</file> <file alias="icons/dialog-cancel.svg">kirigami/icons/dialog-cancel.svg</file> @@ -39,5 +38,6 @@ <file alias="icons/gps.svg">kirigami/icons/gps.svg</file> <file alias="icons/trash-empty.svg">kirigami/icons/trash-empty.svg</file> <file alias="icons/list-add.svg">kirigami/icons/list-add.svg</file> + <file alias="icons/downloadDC.svg">../../icons/button-download-dc_icon.svg</file> </qresource> </RCC> diff --git a/scripts/mobilecomponents.sh b/scripts/mobilecomponents.sh index 4bc5293f1..267b44515 100755 --- a/scripts/mobilecomponents.sh +++ b/scripts/mobilecomponents.sh @@ -57,7 +57,6 @@ cp -R $PMMC/* $MC/ cp $BREEZE/icons/actions/24/dialog-cancel.svg $MC/icons cp $BREEZE/icons/actions/24/distribute-horizontal-x.svg $MC/icons cp $BREEZE/icons/actions/24/document-edit.svg $MC/icons -cp $BREEZE/icons/actions/24/document-import.svg $MC/icons cp $BREEZE/icons/actions/24/document-save.svg $MC/icons cp $BREEZE/icons/actions/24/go-next.svg $MC/icons cp $BREEZE/icons/actions/24/go-previous.svg $MC/icons |