tchange mouse cursor over qr code - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 9bb44e4db3872fbc8b9739df1c21277af0896040
DIR parent a0e9046c2cc6fae0e6f1189f1873a87cf24c7477
HTML Author: ThomasV <thomasv@gitorious>
Date: Sun, 17 May 2015 09:55:41 +0200
change mouse cursor over qr code
Diffstat:
M gui/qt/main_window.py | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
t@@ -619,6 +619,8 @@ class ElectrumWindow(QMainWindow):
self.receive_qr = QRCodeWidget(fixedSize=200)
self.receive_qr.mouseReleaseEvent = lambda x: self.toggle_qr_window()
+ self.receive_qr.enterEvent = lambda x: self.app.setOverrideCursor(QCursor(Qt.PointingHandCursor))
+ self.receive_qr.leaveEvent = lambda x: self.app.setOverrideCursor(QCursor(Qt.ArrowCursor))
self.receive_buttons = buttons = QHBoxLayout()
buttons.addStretch(1)