src/eric7/WebBrowser/UrlBar/StackedUrlBar.py

branch
eric7
changeset 10436
f6881d10e995
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r c712d09cc839 -r f6881d10e995 src/eric7/WebBrowser/UrlBar/StackedUrlBar.py
--- a/src/eric7/WebBrowser/UrlBar/StackedUrlBar.py	Fri Dec 22 13:57:47 2023 +0100
+++ b/src/eric7/WebBrowser/UrlBar/StackedUrlBar.py	Fri Dec 22 17:24:07 2023 +0100
@@ -19,7 +19,8 @@
         """
         Constructor
 
-        @param parent reference to the parent widget (QWidget)
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
 
@@ -35,7 +36,8 @@
         """
         Public method to get a reference to the current URL bar.
 
-        @return reference to the current URL bar (UrlBar)
+        @return reference to the current URL bar
+        @rtype UrlBar
         """
         return self.urlBar(self.currentIndex())
 
@@ -43,8 +45,10 @@
         """
         Public method to get a reference to the URL bar for a given index.
 
-        @param index index of the url bar (integer)
-        @return reference to the URL bar for the given index (UrlBar)
+        @param index index of the url bar
+        @type int
+        @return reference to the URL bar for the given index
+        @rtype UrlBar
         """
         return self.widget(index)
 
@@ -52,8 +56,10 @@
         """
         Public slot to move an URL bar.
 
-        @param from_ index of URL bar to be moved (integer)
-        @param to_ index to move the URL bar to (integer)
+        @param from_ index of URL bar to be moved
+        @type int
+        @param to_ index to move the URL bar to
+        @type int
         """
         fromBar = self.widget(from_)
         self.removeWidget(fromBar)
@@ -63,7 +69,8 @@
         """
         Public method to get a list of references to all URL bars.
 
-        @return list of references to URL bars (list of UrlBar)
+        @return list of references to URL bars
+        @rtype list of UrlBar
         """
         urlBars = []
         for index in range(self.count()):

eric ide

mercurial