Changed the cursor of E5ClickableLed to a pointing hand to indicate that something can be initiated by clicking.

Sun, 17 Jan 2016 15:08:06 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 17 Jan 2016 15:08:06 +0100
changeset 4680
b4ddee75f50e
parent 4678
2a8b44424952
child 4682
a2f30c80f66c

Changed the cursor of E5ClickableLed to a pointing hand to indicate that something can be initiated by clicking.

E5Gui/E5Led.py file | annotate | diff | comparison | revisions
--- a/E5Gui/E5Led.py	Sun Jan 17 14:18:21 2016 +0100
+++ b/E5Gui/E5Led.py	Sun Jan 17 15:08:06 2016 +0100
@@ -296,6 +296,8 @@
         @param rectRatio ratio width to height, if shape is rectangular (float)
         """
         super(E5ClickableLed, self).__init__(parent, color, shape, rectRatio)
+        
+        self.setCursor(Qt.PointingHandCursor)
     
     def mouseReleaseEvent(self, evt):
         """

eric ide

mercurial