Project/AddFoundFilesDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2995
63d874899b8b
child 3145
a9de05d4a22f
diff -r 9986ec0e559a -r 10516539f238 Project/AddFoundFilesDialog.py
--- a/Project/AddFoundFilesDialog.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Project/AddFoundFilesDialog.py	Fri Oct 18 23:00:41 2013 +0200
@@ -19,17 +19,16 @@
     """
     Class implementing a dialog to show the found files to the user.
     
-    The found files are displayed in a listview.
-    Pressing the 'Add All' button adds all files to the current project,
-    the 'Add Selected' button adds only the selected files and the 'Cancel'
-    button cancels the operation.
+    The found files are displayed in a listview. Pressing the 'Add All' button
+    adds all files to the current project, the 'Add Selected' button adds only
+    the selected files and the 'Cancel' button cancels the operation.
     """
-    
     def __init__(self, files, parent=None, name=None):
         """
         Constructor
         
-        @param files list of files, that have been found for addition (list of strings)
+        @param files list of files, that have been found for addition
+            (list of strings)
         @param parent parent widget of this dialog (QWidget)
         @param name name of this dialog (string)
         """
@@ -43,7 +42,8 @@
         self.addAllButton.setToolTip(self.trUtf8("Add all files."))
         self.addSelectedButton = self.buttonBox.addButton(
             self.trUtf8("Add Selected"), QDialogButtonBox.AcceptRole)
-        self.addSelectedButton.setToolTip(self.trUtf8("Add selected files only."))
+        self.addSelectedButton.setToolTip(
+            self.trUtf8("Add selected files only."))
         
         self.fileList.addItems(files)
         
@@ -63,7 +63,7 @@
         """
         Private slot to handle the 'Add All' button press.
         
-        @return always 1 (int)
+        Always returns the value 1 (integer).
         """
         self.done(1)
         
@@ -72,7 +72,7 @@
         """
         Private slot to handle the 'Add Selected' button press.
         
-        @return always 2 (int)
+        Always returns the value 2 (integer).
         """
         self.done(2)
         

eric ide

mercurial