aboutsummaryrefslogtreecommitdiff
path: root/RightPanel.qml
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-08-17 15:14:43 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-08-17 15:14:43 +0300
commitc1269301f7c19a849b0fae7ddbe9afd38aaf71d3 (patch)
tree808bf213becf267eed4fbec5db87f823faee103d /RightPanel.qml
parent6f1343aaa04bf2e4f959b5d3201239fe7fc85398 (diff)
downloadmonzero-gui-c1269301f7c19a849b0fae7ddbe9afd38aaf71d3.tar.gz
monzero-gui-c1269301f7c19a849b0fae7ddbe9afd38aaf71d3.tar.xz
monzero-gui-c1269301f7c19a849b0fae7ddbe9afd38aaf71d3.zip
Ask for password in wallet is password protected. closes #26
Diffstat (limited to 'RightPanel.qml')
-rw-r--r--RightPanel.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/RightPanel.qml b/RightPanel.qml
index 932b3916..d27b8b73 100644
--- a/RightPanel.qml
+++ b/RightPanel.qml
@@ -29,10 +29,13 @@
import QtQuick 2.2
import QtQuick.Controls 1.2
import QtQuick.Controls.Styles 1.2
+import QtGraphicalEffects 1.0
+
import "tabs"
import "components"
Rectangle {
+ id: root
width: 330
color: "#FFFFFF"
@@ -145,4 +148,11 @@ Rectangle {
width: 1
color: "#DBDBDB"
}
+
+ // indicate disabled state
+ Desaturate {
+ anchors.fill: parent
+ source: parent
+ desaturation: root.enabled ? 0.0 : 1.0
+ }
}