mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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>
This commit is contained in:
parent
d5793ea6af
commit
b1f4a2975f
4 changed files with 19 additions and 3 deletions
17
icons/button-download-dc_icon.svg
Normal file
17
icons/button-download-dc_icon.svg
Normal file
|
@ -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>
|
After Width: | Height: | Size: 1.4 KiB |
|
@ -328,7 +328,7 @@ Kirigami.ScrollablePage {
|
|||
}
|
||||
|
||||
property QtObject downloadFromDCAction: Kirigami.Action {
|
||||
iconName: "document-import"
|
||||
iconName: "downloadDC"
|
||||
onTriggered: {
|
||||
downloadFromDc.dcImportModel.clearTable()
|
||||
stackView.push(downloadFromDc)
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue