src/eric7/EricWidgets/EricToolBarDialog.py

branch
eric7
changeset 10423
299802979277
parent 10373
093dcebe5ecb
child 10439
21c28b0f9e41
--- a/src/eric7/EricWidgets/EricToolBarDialog.py	Tue Dec 19 11:04:03 2023 +0100
+++ b/src/eric7/EricWidgets/EricToolBarDialog.py	Tue Dec 19 19:57:08 2023 +0100
@@ -53,8 +53,9 @@
         Constructor
 
         @param toolBarManager reference to a toolbar manager object
-            (EricToolBarManager)
-        @param parent reference to the parent widget (QWidget)
+        @type EricToolBarManager
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -268,7 +269,8 @@
         """
         Private slot called upon a selection of the current toolbar.
 
-        @param index index of the new current toolbar (integer)
+        @param index index of the new current toolbar
+        @type int
         """
         itemID = self.toolbarComboBox.itemData(index)
         self.__currentToolBarItem = self.__toolbarItems[itemID]
@@ -300,9 +302,10 @@
         """
         Private slot called, when the currently selected action changes.
 
-        @param current reference to the current item (QTreeWidgetItem)
+        @param current reference to the current item
+        @type QTreeWidgetItem
         @param previous reference to the previous current item
-            (QTreeWidgetItem)
+        @type QTreeWidgetItem
         """
         self.__setupButtons()
 
@@ -311,9 +314,10 @@
         """
         Private slot to handle a change of the current item.
 
-        @param current reference to the current item (QListWidgetItem)
+        @param current reference to the current item
+        @type QListWidgetItem
         @param previous reference to the previous current item
-            (QListWidgetItem)
+        @type QListWidgetItem
         """
         self.__setupButtons()
 
@@ -421,7 +425,8 @@
         """
         Private slot called, when a button of the button box was clicked.
 
-        @param button reference to the button clicked (QAbstractButton)
+        @param button reference to the button clicked
+        @type QAbstractButton
         """
         if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel):
             self.reject()
@@ -486,7 +491,7 @@
         actions.
 
         @param actions list of actions to set for the current toolbar
-        (list of QAction)
+        @type list of QAction
         """
         tbItemID = id(self.__currentToolBarItem)
         for widgetActionID in self.__toolBarItemToWidgetActionID[tbItemID]:

eric ide

mercurial