src/eric7/Project/TranslationPropertiesDialog.py

branch
eric7
changeset 10430
e440aaf179ce
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/Project/TranslationPropertiesDialog.py	Wed Dec 20 15:42:44 2023 +0100
+++ b/src/eric7/Project/TranslationPropertiesDialog.py	Wed Dec 20 19:28:22 2023 +0100
@@ -30,8 +30,11 @@
         Constructor
 
         @param project reference to the project object
+        @type Project
         @param new flag indicating the generation of a new project
-        @param parent parent widget of this dialog (QWidget)
+        @type bool
+        @param parent parent widget of this dialog
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -113,7 +116,8 @@
         """
         Private slot to check the translation pattern for correctness.
 
-        @param txt text of the transPatternPicker line edit (string)
+        @param txt text of the transPatternPicker line edit
+        @type str
         """
         self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(
             "%language%" in txt
@@ -192,7 +196,8 @@
         Private slot to handle the currentRowChanged signal of the exceptions
         list.
 
-        @param row the current row (integer)
+        @param row the current row
+        @type int
         """
         if row == -1:
             self.deleteExceptionButton.setEnabled(False)
@@ -203,7 +208,8 @@
         """
         Private slot to handle the textChanged signal of the exception edit.
 
-        @param txt the text of the exception edit (string)
+        @param txt the text of the exception edit
+        @type str
         """
         self.addExceptionButton.setEnabled(txt != "")
 

eric ide

mercurial