diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2018-11-07 17:06:56 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2018-11-08 09:53:38 +0000 |
commit | 0e9e0a51d4a364271f74ec02607039083c0a03fb (patch) | |
tree | ee07f0b93b3e3caa8086387545fabe96a6900635 | |
parent | 3d267cabf544bca4cbe6d02d66e81272526cd071 (diff) |
Add icon for checkmark
Change-Id: Ifb65c974dbc0d9f664a3ef39d8a0a5257f76cece
Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io>
-rw-r--r-- | icons.qrc | 1 | ||||
-rw-r--r-- | qml/LayoutSettings.qml | 2 | ||||
-rw-r--r-- | qml/icons/checkmark.svg | 10 |
3 files changed, 12 insertions, 1 deletions
@@ -19,5 +19,6 @@ <file>qml/icons/touch_icon_disabled.svg</file> <file>qml/icons/grid_icon_disabled.svg</file> <file>qml/icons/display_icon.svg</file> + <file>qml/icons/checkmark.svg</file> </qresource> </RCC> diff --git a/qml/LayoutSettings.qml b/qml/LayoutSettings.qml index a337a38..8518030 100644 --- a/qml/LayoutSettings.qml +++ b/qml/LayoutSettings.qml @@ -150,7 +150,7 @@ Item { sourceSize.height: parent.height width: parent.width * 0.9 height: width - source: "../newIcons/checkmark.svg" + source: "icons/checkmark.svg" visible: checkBox.checked antialiasing: true smooth: true diff --git a/qml/icons/checkmark.svg b/qml/icons/checkmark.svg new file mode 100644 index 0000000..830ecd0 --- /dev/null +++ b/qml/icons/checkmark.svg @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 22.0.1, 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 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve"> +<style type="text/css"> + .st0{fill:#5ABA53;} +</style> +<path class="st0" d="M5.6,14c-0.2,0-0.3-0.1-0.4-0.2l-4-4.2C1,9.3,1,9,1.2,8.7c0.2-0.2,0.6-0.2,0.9,0l3.5,3.7l8.3-10.2 + C14.1,2,14.5,2,14.8,2.2C15,2.4,15.1,2.8,14.8,3L6.1,13.7C6,13.9,5.8,13.9,5.6,14C5.6,14,5.6,14,5.6,14"/> +</svg> |