Revision: 8566
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8566&view=rev
Author:   dsdale
Date:     2010-07-20 14:00:55 +0000 (Tue, 20 Jul 2010)

Log Message:
-----------
Return Qt4's default cursor when leaving the canvas

Modified Paths:
--------------
    branches/v1_0_maint/CHANGELOG
    branches/v1_0_maint/lib/matplotlib/backends/backend_qt4.py

Modified: branches/v1_0_maint/CHANGELOG
===================================================================
--- branches/v1_0_maint/CHANGELOG       2010-07-17 07:08:43 UTC (rev 8565)
+++ branches/v1_0_maint/CHANGELOG       2010-07-20 14:00:55 UTC (rev 8566)
@@ -1,3 +1,5 @@
+2010-07-20 Return Qt4's default cursor when leaving the canvas - DSD
+
 2010-07-06 Tagging for mpl 1.0 at r8502
 
 

Modified: branches/v1_0_maint/lib/matplotlib/backends/backend_qt4.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/backends/backend_qt4.py  2010-07-17 
07:08:43 UTC (rev 8565)
+++ branches/v1_0_maint/lib/matplotlib/backends/backend_qt4.py  2010-07-20 
14:00:55 UTC (rev 8566)
@@ -150,6 +150,7 @@
         FigureCanvasBase.enter_notify_event(self, event)
 
     def leaveEvent(self, event):
+        QtGui.QApplication.restoreOverrideCursor()
         FigureCanvasBase.leave_notify_event(self, event)
 
     def mousePressEvent( self, event ):


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to