aboutsummaryrefslogtreecommitdiff
path: root/components/CheckBox2.qml
diff options
context:
space:
mode:
authorcryptochangements34 <bW9uZXJv@gmail.com>2018-06-07 12:23:47 -0400
committercryptochangements34 <bW9uZXJv@gmail.com>2018-06-07 12:23:47 -0400
commitf7bbdd3044a4a780259b18e649347c3f7117e72b (patch)
treee95776836a38808b4bb7e8fc90767d221aa714e2 /components/CheckBox2.qml
parent06fdf27be236bf5160112a8c69003adf6807fb5b (diff)
downloadmonzero-gui-f7bbdd3044a4a780259b18e649347c3f7117e72b.tar.gz
monzero-gui-f7bbdd3044a4a780259b18e649347c3f7117e72b.tar.xz
monzero-gui-f7bbdd3044a4a780259b18e649347c3f7117e72b.zip
add explicit mainnet button and move nettypes to advanced options
Diffstat (limited to 'components/CheckBox2.qml')
-rw-r--r--components/CheckBox2.qml11
1 files changed, 10 insertions, 1 deletions
diff --git a/components/CheckBox2.qml b/components/CheckBox2.qml
index 367037c2..cb367079 100644
--- a/components/CheckBox2.qml
+++ b/components/CheckBox2.qml
@@ -28,6 +28,7 @@
import QtQuick 2.0
import QtQuick.Layouts 1.1
+import QtGraphicalEffects 1.0
import "." 1.0
RowLayout {
@@ -40,6 +41,7 @@ RowLayout {
property int fontSize: 14 * scaleRatio
property alias fontColor: label.color
property int textMargin: 8 * scaleRatio
+ property bool darkDropIndicator: false
signal clicked()
height: 25 * scaleRatio
@@ -74,12 +76,19 @@ RowLayout {
anchors.left: label.right
anchors.leftMargin: textMargin
color: "transparent"
+ rotation: checkBox.checked ? 180 * scaleRatio : 0
Image {
id: indicatorImage
anchors.centerIn: parent
source: "../images/whiteDropIndicator.png"
- rotation: checkBox.checked ? 180 * scaleRatio : 0
+ visible: !darkDropIndicator
+ }
+ ColorOverlay {
+ anchors.fill: indicatorImage
+ source: indicatorImage
+ color: "#FF000000"
+ visible: darkDropIndicator
}
}