From 5028491ab3791673fbb21abdeec978da83f222ee Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Thu, 7 Dec 2017 16:22:30 +0100 Subject: [PATCH] Added new checkbox checked icon --- components/CheckBox.qml | 6 +++--- images/checkedIcon-black.png | Bin 0 -> 17932 bytes pages/Transfer.qml | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) create mode 100755 images/checkedIcon-black.png diff --git a/components/CheckBox.qml b/components/CheckBox.qml index 5e7066b1..4ca687b4 100644 --- a/components/CheckBox.qml +++ b/components/CheckBox.qml @@ -55,7 +55,7 @@ RowLayout { radius: 3 y: 0 color: "transparent" - border.color: Qt.rgba(1, 1, 1, 0.25) + border.color: checkBox.checked ? Qt.rgba(1, 1, 1, 0.35) : Qt.rgba(1, 1, 1, 0.25) } Rectangle { @@ -69,8 +69,8 @@ RowLayout { Image { anchors.centerIn: parent - source: checkBox.checked ? checkBox.checkedIcon : - checkBox.uncheckedIcon + source: checkBox.checkedIcon + visible: checkBox.checked } MouseArea { diff --git a/images/checkedIcon-black.png b/images/checkedIcon-black.png new file mode 100755 index 0000000000000000000000000000000000000000..a1c5a1f4f73d34214d919eac7854bf099e0a4974 GIT binary patch literal 17932 zcmeI4do)z*|Hro|cd2xh&bSoGTp5~ajLW!&+(t(CF|%h(m>Fg?=p@Rm%ONS(IJzOE zqLfgmsDyMcN`<5j{Yo8`@ZBi1t68n}`~Lp-jvN*)wbH+2OLn zR#{=50ssKY_I6fo(5u?;Lv9lEJn8k$RnUt(-_A<_0E#n)A5uWtfjI!6;LM>=TwHv3 zLY}~f$4A&xC;2C*ANIXh-uI$@ z@XUR3XF+d9aieUdoKljVp({RI>6qn$X-~J;Uaoo8jxvu>(BT8Ba>Yzd!GN|D@G*=; zTB21cdjXINzO5(+R638g8U|2f zIb0?H50C)H-jihqoIDFuHmE8V0dh(J#x*u-F(9)U*l<-_I~a&e1=MWbd6M2PDOBy$ zhe)LskxF$4))A}akO8uuo~Q+S4feB_s2S5I(bLRP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