eric7/HelpViewer/HelpViewerImpl.py

branch
eric7
changeset 8681
6285e8374d99
parent 8680
85503ff2fce9
child 8683
e8a907801549
--- a/eric7/HelpViewer/HelpViewerImpl.py	Mon Oct 11 19:59:45 2021 +0200
+++ b/eric7/HelpViewer/HelpViewerImpl.py	Tue Oct 12 19:54:03 2021 +0200
@@ -35,6 +35,7 @@
     """
     titleChanged = pyqtSignal()
     loadFinished = pyqtSignal(bool)
+    zoomChanged = pyqtSignal()
     
     def __init__(self, engine):
         """
@@ -110,3 +111,60 @@
         @exception RuntimeError raised when not implemented
         """
         raise RuntimeError("Not implemented")
+    
+    def scaleUp(self):
+        """
+        Public method to zoom in.
+        
+        @exception RuntimeError raised when not implemented
+        """
+        raise RuntimeError("Not implemented")
+    
+    def scaleDown(self):
+        """
+        Public method to zoom out.
+        
+        @exception RuntimeError raised when not implemented
+        """
+        raise RuntimeError("Not implemented")
+    
+    def resetScale(self):
+        """
+        Public method to reset the zoom level.
+        
+        @exception RuntimeError raised when not implemented
+        """
+        raise RuntimeError("Not implemented")
+    
+    def scale(self):
+        """
+        Public method to get the zoom level.
+        
+        @return current zoom level
+        @rtype int
+        @exception RuntimeError raised when not implemented
+        """
+        raise RuntimeError("Not implemented")
+        return 0
+    
+    def isScaleUpAvailable(self):
+        """
+        Public method to check, if the max. zoom level is reached.
+        
+        @return flag indicating scale up is available
+        @rtype bool
+        @exception RuntimeError raised when not implemented
+        """
+        raise RuntimeError("Not implemented")
+        return False
+    
+    def isScaleDownAvailable(self):
+        """
+        Public method to check, if the min. zoom level is reached.
+        
+        @return flag indicating scale down is available
+        @rtype bool
+        @exception RuntimeError raised when not implemented
+        """
+        raise RuntimeError("Not implemented")
+        return False

eric ide

mercurial