E5Gui/E5ToolBox.py

changeset 1399
b0f9840a6aea
parent 1131
7781e396c903
child 1422
47f1dffa398e
diff -r f5d4c309fe8a -r b0f9840a6aea E5Gui/E5ToolBox.py
--- a/E5Gui/E5ToolBox.py	Mon Oct 24 19:12:23 2011 +0200
+++ b/E5Gui/E5ToolBox.py	Tue Oct 25 18:58:00 2011 +0200
@@ -23,26 +23,6 @@
         @param parent reference to the parent widget (QWidget)
         """
         super().__init__(parent)
-    
-    def wheelEvent(self, event):
-        """
-        Protected slot to support wheel events.
-        
-        @param reference to the wheel event (QWheelEvent)
-        """
-        index = self.currentIndex()
-        if event.delta() > 0:
-            index -= 1
-        else:
-            index += 1
-        if index < 0:
-            index = self.count() - 1
-        elif index == self.count():
-            index = 0
-        
-        self.setCurrentIndex(index)
-        
-        event.accept()
 
 
 class E5HorizontalToolBox(E5TabWidget):

eric ide

mercurial