UI/FindFileNameDialog.py

changeset 3012
d177226027e2
parent 2754
2b3a46d8905b
child 3019
7912530a33e2
child 3057
10516539f238
--- a/UI/FindFileNameDialog.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/FindFileNameDialog.py	Sun Oct 13 14:56:56 2013 +0200
@@ -50,8 +50,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(
@@ -129,7 +129,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:
@@ -171,7 +172,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)
         """
@@ -179,7 +181,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)
         """
@@ -190,7 +193,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(
@@ -204,7 +208,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)
         """
@@ -247,7 +252,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