eric7/HelpViewer/HelpViewerImpl_qtb.py

branch
eric7
changeset 8683
e8a907801549
parent 8681
6285e8374d99
child 8689
da40117c42d6
diff -r 04e80d1aaebf -r e8a907801549 eric7/HelpViewer/HelpViewerImpl_qtb.py
--- a/eric7/HelpViewer/HelpViewerImpl_qtb.py	Tue Oct 12 21:55:56 2021 +0200
+++ b/eric7/HelpViewer/HelpViewerImpl_qtb.py	Wed Oct 13 18:15:30 2021 +0200
@@ -43,6 +43,15 @@
         """
         self.setSource(url)
     
+    def url(self):
+        """
+        Public method to get the URL of the shown document.
+        
+        @return url URL of the document
+        @rtype QUrl
+        """
+        return self.source()
+    
     def doSetSource(self, url, type):
         """
         Public method to load the data and show it.

eric ide

mercurial