aboutsummaryrefslogtreecommitdiff
path: root/MiddlePanel.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 /MiddlePanel.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 'MiddlePanel.qml')
-rw-r--r--MiddlePanel.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml
index cb1c74d6..a2cabc1c 100644
--- a/MiddlePanel.qml
+++ b/MiddlePanel.qml
@@ -27,8 +27,10 @@
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import QtQuick 2.2
+import QtGraphicalEffects 1.0
Rectangle {
+ id: root
color: "#F0EEEE"
signal paymentClicked(string address, string paymentId, double amount, int mixinCount, int priority)
signal generatePaymentIdInvoked()
@@ -116,4 +118,11 @@ Rectangle {
height: 1
color: "#DBDBDB"
}
+
+ // indicate disabled state
+ Desaturate {
+ anchors.fill: parent
+ source: parent
+ desaturation: root.enabled ? 0.0 : 1.0
+ }
}