UI/FindFileNameDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2791
a9577f248f04
parent 3012
d177226027e2
child 3058
0a02c433f52d
diff -r 9986ec0e559a -r 10516539f238 UI/FindFileNameDialog.py
--- a/UI/FindFileNameDialog.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/UI/FindFileNameDialog.py	Fri Oct 18 23:00:41 2013 +0200
@@ -52,8 +52,8 @@
         
         self.fileList.headerItem().setText(self.fileList.columnCount(), "")
         
-        self.stopButton = \
-            self.buttonBox.addButton(self.trUtf8("Stop"), QDialogButtonBox.ActionRole)
+        self.stopButton = self.buttonBox.addButton(
+            self.trUtf8("Stop"), QDialogButtonBox.ActionRole)
         self.stopButton.setToolTip(self.trUtf8("Press to stop the search"))
         self.stopButton.setEnabled(False)
         self.buttonBox.button(QDialogButtonBox.Open).setToolTip(
@@ -131,7 +131,8 @@
         
         for path in searchPaths:
             if os.path.isdir(path):
-                files = direntries(path, True, fileNamePattern, False, self.checkStop)
+                files = direntries(path, True, fileNamePattern,
+                                   False, self.checkStop)
                 if files:
                     found = True
                     for file in files:
@@ -173,7 +174,8 @@
         
     def on_fileExtEdit_textChanged(self, text):
         """
-        Private slot to handle the textChanged signal of the file extension edit.
+        Private slot to handle the textChanged signal of the file extension
+        edit.
         
         @param text (ignored)
         """
@@ -181,7 +183,8 @@
         
     def on_searchDirEdit_textChanged(self, text):
         """
-        Private slot to handle the textChanged signal of the search directory edit.
+        Private slot to handle the textChanged signal of the search directory
+        edit.
         
         @param text text of the search dir edit (string)
         """
@@ -192,7 +195,8 @@
     @pyqtSlot()
     def on_searchDirButton_clicked(self):
         """
-        Private slot to handle the clicked signal of the search directory selection
+        Private slot to handle the clicked signal of the search directory
+        selection
         button.
         """
         searchDir = E5FileDialog.getExistingDirectory(
@@ -206,7 +210,8 @@
         
     def on_searchDirCheckBox_toggled(self, checked):
         """
-        Private slot to handle the toggled signal of the search directory checkbox.
+        Private slot to handle the toggled signal of the search directory
+        checkbox.
         
         @param checked flag indicating the state of the checkbox (boolean)
         """
@@ -249,7 +254,8 @@
         @param current current item (QTreeWidgetItem)
         @param previous prevoius current item (QTreeWidgetItem)
         """
-        self.buttonBox.button(QDialogButtonBox.Open).setEnabled(current is not None)
+        self.buttonBox.button(QDialogButtonBox.Open).setEnabled(
+            current is not None)
         
     def show(self):
         """

eric ide

mercurial