Added the capability to go through the history of the web browser via Shift+Mouse Wheel.

Sat, 24 Dec 2011 15:15:36 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 24 Dec 2011 15:15:36 +0100
changeset 1506
f28af766e539
parent 1505
15d14a84de5e
child 1507
9225700cbff5

Added the capability to go through the history of the web browser via Shift+Mouse Wheel.

Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Helpviewer/HelpBrowserWV.py file | annotate | diff | comparison | revisions
changelog file | annotate | diff | comparison | revisions
Binary file Documentation/Help/source.qch has changed
--- a/Helpviewer/HelpBrowserWV.py	Sat Dec 24 14:52:09 2011 +0100
+++ b/Helpviewer/HelpBrowserWV.py	Sat Dec 24 15:15:36 2011 +0100
@@ -754,6 +754,14 @@
             evt.accept()
             return
         
+        if evt.modifiers() & Qt.ShiftModifier:
+            if evt.delta() < 0:
+                self.backward()
+            else:
+                self.forward()
+            evt.accept()
+            return
+        
         super().wheelEvent(evt)
     
     def hasSelection(self):
--- a/changelog	Sat Dec 24 14:52:09 2011 +0100
+++ b/changelog	Sat Dec 24 15:15:36 2011 +0100
@@ -58,6 +58,7 @@
      info dialog
   -- added a dialog to show RSS feeds
   -- added a dialog to show some information about the current site
+  -- added the capability to go through the history via Shift+Mouse Wheel
 - other enhancements
   -- added an action to launch another instantiation of eric5
 

eric ide

mercurial