Documentation/Source/eric5.UI.FindFileDialog.html

changeset 847
cc18fbcde9fc
parent 767
27554f80d08f
child 855
d8c4113a9274
equal deleted inserted replaced
846:869c200be26e 847:cc18fbcde9fc
43 <a NAME="FindFileDialog" ID="FindFileDialog"></a> 43 <a NAME="FindFileDialog" ID="FindFileDialog"></a>
44 <h2>FindFileDialog</h2> 44 <h2>FindFileDialog</h2>
45 <p> 45 <p>
46 Class implementing a dialog to search for text in files. 46 Class implementing a dialog to search for text in files.
47 </p><p> 47 </p><p>
48 The occurrences found are displayed in a QTreeWidget showing the filename, the 48 The occurrences found are displayed in a QTreeWidget showing the filename,
49 linenumber and the found text. The file will be opened upon a double click onto 49 the linenumber and the found text. The file will be opened upon a double
50 the respective entry of the list. 50 click onto the respective entry of the list.
51 </p><h4>Signals</h4> 51 </p><h4>Signals</h4>
52 <dl> 52 <dl>
53 <dt>designerFile(str)</dt> 53 <dt>designerFile(str)</dt>
54 <dd> 54 <dd>
55 emitted to open a Qt-Designer file 55 emitted to open a Qt-Designer file
56 </dd><dt>sourceFile(str, int, str, int, int)</dt> 56 </dd><dt>sourceFile(str, int, str, int, int)</dt>
57 <dd> 57 <dd>
58 emitted to open a source file at a line 58 emitted to open a source file
59 at a line
59 </dd> 60 </dd>
60 </dl> 61 </dl>
61 <h3>Derived from</h3> 62 <h3>Derived from</h3>
62 QDialog, Ui_FindFileDialog 63 QDialog, Ui_FindFileDialog
63 <h3>Class Attributes</h3> 64 <h3>Class Attributes</h3>
162 <b>__copyToClipboard</b>(<i></i>) 163 <b>__copyToClipboard</b>(<i></i>)
163 <p> 164 <p>
164 Private method to copy the path of an entry to the clipboard. 165 Private method to copy the path of an entry to the clipboard.
165 </p><a NAME="FindFileDialog.__createItem" ID="FindFileDialog.__createItem"></a> 166 </p><a NAME="FindFileDialog.__createItem" ID="FindFileDialog.__createItem"></a>
166 <h4>FindFileDialog.__createItem</h4> 167 <h4>FindFileDialog.__createItem</h4>
167 <b>__createItem</b>(<i>file, line, text, start, end, replTxt = "", md5 = ""</i>) 168 <b>__createItem</b>(<i>file, line, text, start, end, replTxt="", md5=""</i>)
168 <p> 169 <p>
169 Private method to create an entry in the file list. 170 Private method to create an entry in the file list.
170 </p><dl> 171 </p><dl>
171 <dt><i>file</i></dt> 172 <dt><i>file</i></dt>
172 <dd> 173 <dd>
209 <dt><i>path</i></dt> 210 <dt><i>path</i></dt>
210 <dd> 211 <dd>
211 the root directory to search in (string) 212 the root directory to search in (string)
212 </dd><dt><i>filterRe</i></dt> 213 </dd><dt><i>filterRe</i></dt>
213 <dd> 214 <dd>
214 regular expression defining the filter criteria (regexp object) 215 regular expression defining the filter
216 criteria (regexp object)
215 </dd> 217 </dd>
216 </dl><dl> 218 </dl><dl>
217 <dt>Returns:</dt> 219 <dt>Returns:</dt>
218 <dd> 220 <dd>
219 list of files to be processed (list of strings) 221 list of files to be processed (list of strings)
245 Private slot to handle the selection of the project radio button. 247 Private slot to handle the selection of the project radio button.
246 </p><a NAME="FindFileDialog.on_dirCombo_editTextChanged" ID="FindFileDialog.on_dirCombo_editTextChanged"></a> 248 </p><a NAME="FindFileDialog.on_dirCombo_editTextChanged" ID="FindFileDialog.on_dirCombo_editTextChanged"></a>
247 <h4>FindFileDialog.on_dirCombo_editTextChanged</h4> 249 <h4>FindFileDialog.on_dirCombo_editTextChanged</h4>
248 <b>on_dirCombo_editTextChanged</b>(<i>text</i>) 250 <b>on_dirCombo_editTextChanged</b>(<i>text</i>)
249 <p> 251 <p>
250 Private slot to handle the textChanged signal of the directory combo box. 252 Private slot to handle the textChanged signal of the directory
253 combo box.
251 </p><dl> 254 </p><dl>
252 <dt><i>text</i></dt> 255 <dt><i>text</i></dt>
253 <dd> 256 <dd>
254 (ignored) 257 (ignored)
255 </dd> 258 </dd>
291 </dd> 294 </dd>
292 </dl><a NAME="FindFileDialog.on_findtextCombo_editTextChanged" ID="FindFileDialog.on_findtextCombo_editTextChanged"></a> 295 </dl><a NAME="FindFileDialog.on_findtextCombo_editTextChanged" ID="FindFileDialog.on_findtextCombo_editTextChanged"></a>
293 <h4>FindFileDialog.on_findtextCombo_editTextChanged</h4> 296 <h4>FindFileDialog.on_findtextCombo_editTextChanged</h4>
294 <b>on_findtextCombo_editTextChanged</b>(<i>text</i>) 297 <b>on_findtextCombo_editTextChanged</b>(<i>text</i>)
295 <p> 298 <p>
296 Private slot to handle the editTextChanged signal of the find text combo. 299 Private slot to handle the editTextChanged signal of the find
300 text combo.
297 </p><dl> 301 </p><dl>
298 <dt><i>text</i></dt> 302 <dt><i>text</i></dt>
299 <dd> 303 <dd>
300 (ignored) 304 (ignored)
301 </dd> 305 </dd>
311 Private slot to perform the requested replace actions. 315 Private slot to perform the requested replace actions.
312 </p><a NAME="FindFileDialog.on_replacetextCombo_editTextChanged" ID="FindFileDialog.on_replacetextCombo_editTextChanged"></a> 316 </p><a NAME="FindFileDialog.on_replacetextCombo_editTextChanged" ID="FindFileDialog.on_replacetextCombo_editTextChanged"></a>
313 <h4>FindFileDialog.on_replacetextCombo_editTextChanged</h4> 317 <h4>FindFileDialog.on_replacetextCombo_editTextChanged</h4>
314 <b>on_replacetextCombo_editTextChanged</b>(<i>text</i>) 318 <b>on_replacetextCombo_editTextChanged</b>(<i>text</i>)
315 <p> 319 <p>
316 Private slot to handle the editTextChanged signal of the replace text combo. 320 Private slot to handle the editTextChanged signal of the replace
321 text combo.
317 </p><dl> 322 </p><dl>
318 <dt><i>text</i></dt> 323 <dt><i>text</i></dt>
319 <dd> 324 <dd>
320 (ignored) 325 (ignored)
321 </dd> 326 </dd>

eric ide

mercurial