--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesQueueManagementDialog.py Fri Dec 22 19:45:17 2023 +0100 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesQueueManagementDialog.py Sat Dec 23 15:40:23 2023 +0100 @@ -35,11 +35,16 @@ @param mode mode of the dialog (HgQueuesQueueManagementDialog.NO_INPUT HgQueuesQueueManagementDialog.NAME_INPUT, HgQueuesQueueManagementDialog.QUEUE_INPUT) - @param title title for the dialog (string) + @type int + @param title title for the dialog + @type str @param suppressActive flag indicating to not show the name of the - active queue (boolean) + active queue + @type bool @param vcs reference to the vcs object - @param parent reference to the parent widget (QWidget) + @type Hg + @param parent reference to the parent widget + @type QWidget @exception ValueError raised to indicate an invalid dialog mode """ super().__init__(parent) @@ -98,8 +103,8 @@ Private method to get a list of all queues and the name of the active queue. - @return tuple with a list of all queues and the name of the active - queue (list of strings, string) + @return tuple with a list of all queues and the name of the active queue + @rtype tuple of (list of str, str) """ queuesList = [] activeQueue = "" @@ -127,7 +132,8 @@ """ Private slot to handle changes of the entered queue name. - @param txt text of the edit (string) + @param txt text of the edit + @type str """ if self.__mode == HgQueuesQueueManagementDialog.NAME_INPUT: self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( @@ -149,7 +155,8 @@ """ Private slot called by a button of the button box clicked. - @param button button that was clicked (QAbstractButton) + @param button button that was clicked + @type QAbstractButton """ if button == self.refreshButton: self.refresh() @@ -173,7 +180,8 @@ """ Public slot to get the data. - @return queue name (string) + @return queue name + @rtype str """ name = "" if self.__mode == HgQueuesQueueManagementDialog.NAME_INPUT: