diff -r acc61b0fb135 -r 187a2f37e1d4 E5Gui/E5ToolBox.py --- a/E5Gui/E5ToolBox.py Mon Oct 24 19:12:23 2011 +0200 +++ b/E5Gui/E5ToolBox.py Tue Oct 25 18:58:59 2011 +0200 @@ -22,26 +22,6 @@ @param parent reference to the parent widget (QWidget) """ QToolBox.__init__(self, 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): """ @@ -99,4 +79,4 @@ @param index index of the item (integer) @param enabled flag indicating the enabled state (boolean) """ - self.setTabEnabled(index, enabled) \ No newline at end of file + self.setTabEnabled(index, enabled)