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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 17 Jan 2016 15:08:06 +0100
branch
6_1_x
changeset 4681
ea409a95ddfb
parent 4679
53e2e87076c1
child 4685
c749edcea558

Changed the cursor of E5ClickableLed to a pointing hand to indicate that something can be initiated by clicking.
(grafted from b4ddee75f50e8f6fac72f58bd6d7e544d12b1f92)

E5Gui/E5Led.py file | annotate | diff | comparison | revisions
--- a/E5Gui/E5Led.py	Sun Jan 17 14:20:29 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