aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authormarcin <z.krzysztoff7@gmail.com>2014-08-21 12:09:52 +0200
committermarcin <z.krzysztoff7@gmail.com>2014-08-21 12:09:52 +0200
commit48add34d574f55e3b8053ba3ae18211999dc786c (patch)
tree69f81f04420692d97f64729e5f4985eb90e794d9 /components
parent86e03f9eb03fe996862e1553308ce21993b8fc22 (diff)
downloadmonzero-gui-48add34d574f55e3b8053ba3ae18211999dc786c.tar.gz
monzero-gui-48add34d574f55e3b8053ba3ae18211999dc786c.tar.xz
monzero-gui-48add34d574f55e3b8053ba3ae18211999dc786c.zip
wizard v1.0
Diffstat (limited to 'components')
-rw-r--r--components/CheckBox.qml6
-rw-r--r--components/PrivacyLevelSmall.qml3
2 files changed, 8 insertions, 1 deletions
diff --git a/components/CheckBox.qml b/components/CheckBox.qml
index adc9a232..7486e900 100644
--- a/components/CheckBox.qml
+++ b/components/CheckBox.qml
@@ -6,6 +6,9 @@ Item {
property string checkedIcon
property string uncheckedIcon
property bool checked: false
+ property alias background: backgroundRect.color
+ property int fontSize: 14
+ property alias fontColor: label.color
signal clicked()
height: 25
width: label.x + label.width
@@ -21,6 +24,7 @@ Item {
}
Rectangle {
+ id: backgroundRect
anchors.left: parent.left
height: parent.height - 1
width: 25
@@ -41,7 +45,7 @@ Item {
anchors.left: parent.left
anchors.leftMargin: 25 + 12
font.family: "Arial"
- font.pixelSize: 14
+ font.pixelSize: checkBox.fontSize
font.letterSpacing: -1
color: "#525252"
}
diff --git a/components/PrivacyLevelSmall.qml b/components/PrivacyLevelSmall.qml
index 26ff8ed4..063ce333 100644
--- a/components/PrivacyLevelSmall.qml
+++ b/components/PrivacyLevelSmall.qml
@@ -2,6 +2,8 @@ import QtQuick 2.0
Item {
id: item
+ property alias interactive: mouseArea.enabled
+ property alias background: bar.color
property int fillLevel: 0
height: 40
clip: true
@@ -88,6 +90,7 @@ Item {
}
MouseArea {
+ id: mouseArea
anchors.fill: parent
function positionBar() {
var xDiff = 999999