aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authormarcin <z.krzysztoff7@gmail.com>2014-07-22 16:55:25 +0200
committermarcin <z.krzysztoff7@gmail.com>2014-07-22 16:55:25 +0200
commit84c251398ca6efa41bade55fded249d2d937ba88 (patch)
tree1c4fa47d9b9adb511955dac94f47e91eee9f52ef /components
parent2f54bb12eb7f0965ff4861cb0faee5021c355d20 (diff)
downloadmonzero-gui-84c251398ca6efa41bade55fded249d2d937ba88.tar.gz
monzero-gui-84c251398ca6efa41bade55fded249d2d937ba88.tar.xz
monzero-gui-84c251398ca6efa41bade55fded249d2d937ba88.zip
https://trello.com/c/l0lGL8QQ/52-advanced-filtering-in-history-needs-to-be-more-obviously-toggled-than-the-hyperlink-an-icon-maybe
Diffstat (limited to 'components')
-rw-r--r--components/CheckBox.qml6
-rw-r--r--components/Scroll.qml2
-rw-r--r--components/TitleBar.qml3
3 files changed, 7 insertions, 4 deletions
diff --git a/components/CheckBox.qml b/components/CheckBox.qml
index 9cfe38b3..adc9a232 100644
--- a/components/CheckBox.qml
+++ b/components/CheckBox.qml
@@ -3,6 +3,8 @@ import QtQuick 2.0
Item {
id: checkBox
property alias text: label.text
+ property string checkedIcon
+ property string uncheckedIcon
property bool checked: false
signal clicked()
height: 25
@@ -28,8 +30,8 @@ Item {
Image {
anchors.centerIn: parent
- source: checkBox.checked ? "../images/checkedIcon.png" :
- "../images/uncheckedIcon.png"
+ source: checkBox.checked ? checkBox.checkedIcon :
+ checkBox.uncheckedIcon
}
}
diff --git a/components/Scroll.qml b/components/Scroll.qml
index 4ab037ad..f0a3027e 100644
--- a/components/Scroll.qml
+++ b/components/Scroll.qml
@@ -12,7 +12,7 @@ Rectangle {
y = (flickable.contentY / (flickable.contentHeight - flickable.height)) * t + yPos
}
- width: 12
+ width: 15
height: {
var t = (flickable.height * flickable.height) / flickable.contentHeight
return t < 20 ? 20 : t
diff --git a/components/TitleBar.qml b/components/TitleBar.qml
index 28c6d89c..8e545e11 100644
--- a/components/TitleBar.qml
+++ b/components/TitleBar.qml
@@ -7,6 +7,7 @@ Rectangle {
color: "#000000"
y: -height
property int mouseX: 0
+ property string walletName: "Donations"
property bool containsMouse: false
property alias maximizeButtonVisible: maximizeButton.visible
signal goToBasicVersion(bool yes)
@@ -17,7 +18,7 @@ Rectangle {
font.pixelSize: 15
font.letterSpacing: -1
color: "#FFFFFF"
- text: qsTr("Monero")
+ text: qsTr("Monero - %1").arg(titleBar.walletName)
}
Behavior on y {