eric6/Documentation/Source/eric6.UI.FindFileDialog.html

changeset 7273
391d6b7b1eff
parent 7145
ceb3e8b242c1
child 7900
72b88fb20261
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.UI.FindFileDialog</h1> 23 <h1>eric6.UI.FindFileDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to search for text in files. 26 Module implementing a dialog to search for text in files.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#FindFileDialog">FindFileDialog</a></td> 38 <td><a href="#FindFileDialog">FindFileDialog</a></td>
34 <td>Class implementing a dialog to search for text in files.</td> 39 <td>Class implementing a dialog to search for text in files.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
39 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
40 </table> 46 </table>
41 <hr /><hr /> 47 <hr />
48 <hr />
42 <a NAME="FindFileDialog" ID="FindFileDialog"></a> 49 <a NAME="FindFileDialog" ID="FindFileDialog"></a>
43 <h2>FindFileDialog</h2> 50 <h2>FindFileDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to search for text in files. 53 Class implementing a dialog to search for text in files.
46 </p><p> 54 </p>
55 <p>
47 The occurrences found are displayed in a QTreeWidget showing the filename, 56 The occurrences found are displayed in a QTreeWidget showing the filename,
48 the linenumber and the found text. The file will be opened upon a double 57 the linenumber and the found text. The file will be opened upon a double
49 click onto the respective entry of the list. 58 click onto the respective entry of the list.
50 </p><h3>Signals</h3> 59 </p>
51 <dl> 60 <h3>Signals</h3>
61 <dl>
62
52 <dt>designerFile(str)</dt> 63 <dt>designerFile(str)</dt>
53 <dd> 64 <dd>
54 emitted to open a Qt-Designer file 65 emitted to open a Qt-Designer file
55 </dd><dt>sourceFile(str, int, str, int, int)</dt> 66 </dd>
67 <dt>sourceFile(str, int, str, int, int)</dt>
56 <dd> 68 <dd>
57 emitted to open a source file 69 emitted to open a source file
58 at a line 70 at a line
59 </dd> 71 </dd>
60 </dl> 72 </dl>
61 <h3>Derived from</h3> 73 <h3>Derived from</h3>
62 QDialog, Ui_FindFileDialog 74 QDialog, Ui_FindFileDialog
63 <h3>Class Attributes</h3> 75 <h3>Class Attributes</h3>
76
64 <table> 77 <table>
65 <tr><td>endRole</td></tr><tr><td>lineRole</td></tr><tr><td>md5Role</td></tr><tr><td>replaceRole</td></tr><tr><td>startRole</td></tr> 78 <tr><td>endRole</td></tr><tr><td>lineRole</td></tr><tr><td>md5Role</td></tr><tr><td>replaceRole</td></tr><tr><td>startRole</td></tr>
66 </table> 79 </table>
67 <h3>Class Methods</h3> 80 <h3>Class Methods</h3>
81
68 <table> 82 <table>
69 <tr><td>None</td></tr> 83 <tr><td>None</td></tr>
70 </table> 84 </table>
71 <h3>Methods</h3> 85 <h3>Methods</h3>
72 <table> 86
87 <table>
88
73 <tr> 89 <tr>
74 <td><a href="#FindFileDialog.__init__">FindFileDialog</a></td> 90 <td><a href="#FindFileDialog.__init__">FindFileDialog</a></td>
75 <td>Constructor</td> 91 <td>Constructor</td>
76 </tr><tr> 92 </tr>
93 <tr>
77 <td><a href="#FindFileDialog.__contextMenuRequested">__contextMenuRequested</a></td> 94 <td><a href="#FindFileDialog.__contextMenuRequested">__contextMenuRequested</a></td>
78 <td>Private slot to handle the context menu request.</td> 95 <td>Private slot to handle the context menu request.</td>
79 </tr><tr> 96 </tr>
97 <tr>
80 <td><a href="#FindFileDialog.__copyToClipboard">__copyToClipboard</a></td> 98 <td><a href="#FindFileDialog.__copyToClipboard">__copyToClipboard</a></td>
81 <td>Private method to copy the path of an entry to the clipboard.</td> 99 <td>Private method to copy the path of an entry to the clipboard.</td>
82 </tr><tr> 100 </tr>
101 <tr>
83 <td><a href="#FindFileDialog.__createItem">__createItem</a></td> 102 <td><a href="#FindFileDialog.__createItem">__createItem</a></td>
84 <td>Private method to create an entry in the file list.</td> 103 <td>Private method to create an entry in the file list.</td>
85 </tr><tr> 104 </tr>
105 <tr>
86 <td><a href="#FindFileDialog.__doSearch">__doSearch</a></td> 106 <td><a href="#FindFileDialog.__doSearch">__doSearch</a></td>
87 <td>Private slot to handle the find button being pressed.</td> 107 <td>Private slot to handle the find button being pressed.</td>
88 </tr><tr> 108 </tr>
109 <tr>
89 <td><a href="#FindFileDialog.__enableFindButton">__enableFindButton</a></td> 110 <td><a href="#FindFileDialog.__enableFindButton">__enableFindButton</a></td>
90 <td>Private slot called to enable the find button.</td> 111 <td>Private slot called to enable the find button.</td>
91 </tr><tr> 112 </tr>
113 <tr>
92 <td><a href="#FindFileDialog.__getFileList">__getFileList</a></td> 114 <td><a href="#FindFileDialog.__getFileList">__getFileList</a></td>
93 <td>Private method to get a list of files to search.</td> 115 <td>Private method to get a list of files to search.</td>
94 </tr><tr> 116 </tr>
117 <tr>
95 <td><a href="#FindFileDialog.__openFile">__openFile</a></td> 118 <td><a href="#FindFileDialog.__openFile">__openFile</a></td>
96 <td>Private slot to open the currently selected entry.</td> 119 <td>Private slot to open the currently selected entry.</td>
97 </tr><tr> 120 </tr>
121 <tr>
98 <td><a href="#FindFileDialog.__stopSearch">__stopSearch</a></td> 122 <td><a href="#FindFileDialog.__stopSearch">__stopSearch</a></td>
99 <td>Private slot to handle the stop button being pressed.</td> 123 <td>Private slot to handle the stop button being pressed.</td>
100 </tr><tr> 124 </tr>
125 <tr>
101 <td><a href="#FindFileDialog.__stripEol">__stripEol</a></td> 126 <td><a href="#FindFileDialog.__stripEol">__stripEol</a></td>
102 <td>Private method to strip the eol part.</td> 127 <td>Private method to strip the eol part.</td>
103 </tr><tr> 128 </tr>
129 <tr>
104 <td><a href="#FindFileDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 130 <td><a href="#FindFileDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
105 <td>Private slot called by a button of the button box clicked.</td> 131 <td>Private slot called by a button of the button box clicked.</td>
106 </tr><tr> 132 </tr>
133 <tr>
107 <td><a href="#FindFileDialog.on_dirButton_clicked">on_dirButton_clicked</a></td> 134 <td><a href="#FindFileDialog.on_dirButton_clicked">on_dirButton_clicked</a></td>
108 <td>Private slot to handle the selection of the 'Directory' radio button.</td> 135 <td>Private slot to handle the selection of the 'Directory' radio button.</td>
109 </tr><tr> 136 </tr>
137 <tr>
110 <td><a href="#FindFileDialog.on_dirPicker_editTextChanged">on_dirPicker_editTextChanged</a></td> 138 <td><a href="#FindFileDialog.on_dirPicker_editTextChanged">on_dirPicker_editTextChanged</a></td>
111 <td>Private slot to handle the textChanged signal of the directory picker.</td> 139 <td>Private slot to handle the textChanged signal of the directory picker.</td>
112 </tr><tr> 140 </tr>
141 <tr>
113 <td><a href="#FindFileDialog.on_filterCheckBox_clicked">on_filterCheckBox_clicked</a></td> 142 <td><a href="#FindFileDialog.on_filterCheckBox_clicked">on_filterCheckBox_clicked</a></td>
114 <td>Private slot to handle the selection of the file filter check box.</td> 143 <td>Private slot to handle the selection of the file filter check box.</td>
115 </tr><tr> 144 </tr>
145 <tr>
116 <td><a href="#FindFileDialog.on_filterEdit_textEdited">on_filterEdit_textEdited</a></td> 146 <td><a href="#FindFileDialog.on_filterEdit_textEdited">on_filterEdit_textEdited</a></td>
117 <td>Private slot to handle the textChanged signal of the file filter edit.</td> 147 <td>Private slot to handle the textChanged signal of the file filter edit.</td>
118 </tr><tr> 148 </tr>
149 <tr>
119 <td><a href="#FindFileDialog.on_findList_itemDoubleClicked">on_findList_itemDoubleClicked</a></td> 150 <td><a href="#FindFileDialog.on_findList_itemDoubleClicked">on_findList_itemDoubleClicked</a></td>
120 <td>Private slot to handle the double click on a file item.</td> 151 <td>Private slot to handle the double click on a file item.</td>
121 </tr><tr> 152 </tr>
153 <tr>
122 <td><a href="#FindFileDialog.on_findtextCombo_editTextChanged">on_findtextCombo_editTextChanged</a></td> 154 <td><a href="#FindFileDialog.on_findtextCombo_editTextChanged">on_findtextCombo_editTextChanged</a></td>
123 <td>Private slot to handle the editTextChanged signal of the find text combo.</td> 155 <td>Private slot to handle the editTextChanged signal of the find text combo.</td>
124 </tr><tr> 156 </tr>
157 <tr>
125 <td><a href="#FindFileDialog.on_openFilesButton_clicked">on_openFilesButton_clicked</a></td> 158 <td><a href="#FindFileDialog.on_openFilesButton_clicked">on_openFilesButton_clicked</a></td>
126 <td>Private slot to handle the selection of the 'Open Files' radio button.</td> 159 <td>Private slot to handle the selection of the 'Open Files' radio button.</td>
127 </tr><tr> 160 </tr>
161 <tr>
128 <td><a href="#FindFileDialog.on_projectButton_clicked">on_projectButton_clicked</a></td> 162 <td><a href="#FindFileDialog.on_projectButton_clicked">on_projectButton_clicked</a></td>
129 <td>Private slot to handle the selection of the 'Project' radio button.</td> 163 <td>Private slot to handle the selection of the 'Project' radio button.</td>
130 </tr><tr> 164 </tr>
165 <tr>
131 <td><a href="#FindFileDialog.on_replaceButton_clicked">on_replaceButton_clicked</a></td> 166 <td><a href="#FindFileDialog.on_replaceButton_clicked">on_replaceButton_clicked</a></td>
132 <td>Private slot to perform the requested replace actions.</td> 167 <td>Private slot to perform the requested replace actions.</td>
133 </tr><tr> 168 </tr>
169 <tr>
134 <td><a href="#FindFileDialog.on_replacetextCombo_editTextChanged">on_replacetextCombo_editTextChanged</a></td> 170 <td><a href="#FindFileDialog.on_replacetextCombo_editTextChanged">on_replacetextCombo_editTextChanged</a></td>
135 <td>Private slot to handle the editTextChanged signal of the replace text combo.</td> 171 <td>Private slot to handle the editTextChanged signal of the replace text combo.</td>
136 </tr><tr> 172 </tr>
173 <tr>
137 <td><a href="#FindFileDialog.setOpenFiles">setOpenFiles</a></td> 174 <td><a href="#FindFileDialog.setOpenFiles">setOpenFiles</a></td>
138 <td>Public slot to set the mode to search in open files.</td> 175 <td>Public slot to set the mode to search in open files.</td>
139 </tr><tr> 176 </tr>
177 <tr>
140 <td><a href="#FindFileDialog.setSearchDirectory">setSearchDirectory</a></td> 178 <td><a href="#FindFileDialog.setSearchDirectory">setSearchDirectory</a></td>
141 <td>Public slot to set the name of the directory to search in.</td> 179 <td>Public slot to set the name of the directory to search in.</td>
142 </tr><tr> 180 </tr>
181 <tr>
143 <td><a href="#FindFileDialog.show">show</a></td> 182 <td><a href="#FindFileDialog.show">show</a></td>
144 <td>Public method to enable/disable the project button.</td> 183 <td>Public method to enable/disable the project button.</td>
145 </tr> 184 </tr>
146 </table> 185 </table>
147 <h3>Static Methods</h3> 186 <h3>Static Methods</h3>
187
148 <table> 188 <table>
149 <tr><td>None</td></tr> 189 <tr><td>None</td></tr>
150 </table> 190 </table>
191
151 <a NAME="FindFileDialog.__init__" ID="FindFileDialog.__init__"></a> 192 <a NAME="FindFileDialog.__init__" ID="FindFileDialog.__init__"></a>
152 <h4>FindFileDialog (Constructor)</h4> 193 <h4>FindFileDialog (Constructor)</h4>
153 <b>FindFileDialog</b>(<i>project, replaceMode=False, parent=None</i>) 194 <b>FindFileDialog</b>(<i>project, replaceMode=False, parent=None</i>)
195
154 <p> 196 <p>
155 Constructor 197 Constructor
156 </p><dl> 198 </p>
199 <dl>
200
157 <dt><i>project</i></dt> 201 <dt><i>project</i></dt>
158 <dd> 202 <dd>
159 reference to the project object 203 reference to the project object
160 </dd><dt><i>replaceMode</i></dt> 204 </dd>
205 <dt><i>replaceMode</i></dt>
161 <dd> 206 <dd>
162 flag indicating the replace dialog mode (boolean) 207 flag indicating the replace dialog mode (boolean)
163 </dd><dt><i>parent</i></dt> 208 </dd>
209 <dt><i>parent</i></dt>
164 <dd> 210 <dd>
165 parent widget of this dialog (QWidget) 211 parent widget of this dialog (QWidget)
166 </dd> 212 </dd>
167 </dl><a NAME="FindFileDialog.__contextMenuRequested" ID="FindFileDialog.__contextMenuRequested"></a> 213 </dl>
214 <a NAME="FindFileDialog.__contextMenuRequested" ID="FindFileDialog.__contextMenuRequested"></a>
168 <h4>FindFileDialog.__contextMenuRequested</h4> 215 <h4>FindFileDialog.__contextMenuRequested</h4>
169 <b>__contextMenuRequested</b>(<i>pos</i>) 216 <b>__contextMenuRequested</b>(<i>pos</i>)
217
170 <p> 218 <p>
171 Private slot to handle the context menu request. 219 Private slot to handle the context menu request.
172 </p><dl> 220 </p>
221 <dl>
222
173 <dt><i>pos</i></dt> 223 <dt><i>pos</i></dt>
174 <dd> 224 <dd>
175 position the context menu shall be shown (QPoint) 225 position the context menu shall be shown (QPoint)
176 </dd> 226 </dd>
177 </dl><a NAME="FindFileDialog.__copyToClipboard" ID="FindFileDialog.__copyToClipboard"></a> 227 </dl>
228 <a NAME="FindFileDialog.__copyToClipboard" ID="FindFileDialog.__copyToClipboard"></a>
178 <h4>FindFileDialog.__copyToClipboard</h4> 229 <h4>FindFileDialog.__copyToClipboard</h4>
179 <b>__copyToClipboard</b>(<i></i>) 230 <b>__copyToClipboard</b>(<i></i>)
231
180 <p> 232 <p>
181 Private method to copy the path of an entry to the clipboard. 233 Private method to copy the path of an entry to the clipboard.
182 </p><a NAME="FindFileDialog.__createItem" ID="FindFileDialog.__createItem"></a> 234 </p>
235 <a NAME="FindFileDialog.__createItem" ID="FindFileDialog.__createItem"></a>
183 <h4>FindFileDialog.__createItem</h4> 236 <h4>FindFileDialog.__createItem</h4>
184 <b>__createItem</b>(<i>file, line, text, start, end, replTxt="", md5=""</i>) 237 <b>__createItem</b>(<i>file, line, text, start, end, replTxt="", md5=""</i>)
238
185 <p> 239 <p>
186 Private method to create an entry in the file list. 240 Private method to create an entry in the file list.
187 </p><dl> 241 </p>
242 <dl>
243
188 <dt><i>file</i></dt> 244 <dt><i>file</i></dt>
189 <dd> 245 <dd>
190 filename of file (string) 246 filename of file (string)
191 </dd><dt><i>line</i></dt> 247 </dd>
248 <dt><i>line</i></dt>
192 <dd> 249 <dd>
193 line number (integer) 250 line number (integer)
194 </dd><dt><i>text</i></dt> 251 </dd>
252 <dt><i>text</i></dt>
195 <dd> 253 <dd>
196 text found (string) 254 text found (string)
197 </dd><dt><i>start</i></dt> 255 </dd>
256 <dt><i>start</i></dt>
198 <dd> 257 <dd>
199 start position of match (integer) 258 start position of match (integer)
200 </dd><dt><i>end</i></dt> 259 </dd>
260 <dt><i>end</i></dt>
201 <dd> 261 <dd>
202 end position of match (integer) 262 end position of match (integer)
203 </dd><dt><i>replTxt</i></dt> 263 </dd>
264 <dt><i>replTxt</i></dt>
204 <dd> 265 <dd>
205 text with replacements applied (string) 266 text with replacements applied (string)
206 </dd><dt><i>md5=</i></dt> 267 </dd>
268 <dt><i>md5=</i></dt>
207 <dd> 269 <dd>
208 MD5 hash of the file (string) 270 MD5 hash of the file (string)
209 </dd> 271 </dd>
210 </dl><a NAME="FindFileDialog.__doSearch" ID="FindFileDialog.__doSearch"></a> 272 </dl>
273 <a NAME="FindFileDialog.__doSearch" ID="FindFileDialog.__doSearch"></a>
211 <h4>FindFileDialog.__doSearch</h4> 274 <h4>FindFileDialog.__doSearch</h4>
212 <b>__doSearch</b>(<i></i>) 275 <b>__doSearch</b>(<i></i>)
276
213 <p> 277 <p>
214 Private slot to handle the find button being pressed. 278 Private slot to handle the find button being pressed.
215 </p><a NAME="FindFileDialog.__enableFindButton" ID="FindFileDialog.__enableFindButton"></a> 279 </p>
280 <a NAME="FindFileDialog.__enableFindButton" ID="FindFileDialog.__enableFindButton"></a>
216 <h4>FindFileDialog.__enableFindButton</h4> 281 <h4>FindFileDialog.__enableFindButton</h4>
217 <b>__enableFindButton</b>(<i></i>) 282 <b>__enableFindButton</b>(<i></i>)
283
218 <p> 284 <p>
219 Private slot called to enable the find button. 285 Private slot called to enable the find button.
220 </p><a NAME="FindFileDialog.__getFileList" ID="FindFileDialog.__getFileList"></a> 286 </p>
287 <a NAME="FindFileDialog.__getFileList" ID="FindFileDialog.__getFileList"></a>
221 <h4>FindFileDialog.__getFileList</h4> 288 <h4>FindFileDialog.__getFileList</h4>
222 <b>__getFileList</b>(<i>path, filterRe</i>) 289 <b>__getFileList</b>(<i>path, filterRe</i>)
290
223 <p> 291 <p>
224 Private method to get a list of files to search. 292 Private method to get a list of files to search.
225 </p><dl> 293 </p>
294 <dl>
295
226 <dt><i>path</i></dt> 296 <dt><i>path</i></dt>
227 <dd> 297 <dd>
228 the root directory to search in (string) 298 the root directory to search in (string)
229 </dd><dt><i>filterRe</i></dt> 299 </dd>
300 <dt><i>filterRe</i></dt>
230 <dd> 301 <dd>
231 regular expression defining the filter 302 regular expression defining the filter
232 criteria (regexp object) 303 criteria (regexp object)
233 </dd> 304 </dd>
234 </dl><dl> 305 </dl>
306 <dl>
235 <dt>Returns:</dt> 307 <dt>Returns:</dt>
236 <dd> 308 <dd>
237 list of files to be processed (list of strings) 309 list of files to be processed (list of strings)
238 </dd> 310 </dd>
239 </dl><a NAME="FindFileDialog.__openFile" ID="FindFileDialog.__openFile"></a> 311 </dl>
312 <a NAME="FindFileDialog.__openFile" ID="FindFileDialog.__openFile"></a>
240 <h4>FindFileDialog.__openFile</h4> 313 <h4>FindFileDialog.__openFile</h4>
241 <b>__openFile</b>(<i></i>) 314 <b>__openFile</b>(<i></i>)
315
242 <p> 316 <p>
243 Private slot to open the currently selected entry. 317 Private slot to open the currently selected entry.
244 </p><a NAME="FindFileDialog.__stopSearch" ID="FindFileDialog.__stopSearch"></a> 318 </p>
319 <a NAME="FindFileDialog.__stopSearch" ID="FindFileDialog.__stopSearch"></a>
245 <h4>FindFileDialog.__stopSearch</h4> 320 <h4>FindFileDialog.__stopSearch</h4>
246 <b>__stopSearch</b>(<i></i>) 321 <b>__stopSearch</b>(<i></i>)
322
247 <p> 323 <p>
248 Private slot to handle the stop button being pressed. 324 Private slot to handle the stop button being pressed.
249 </p><a NAME="FindFileDialog.__stripEol" ID="FindFileDialog.__stripEol"></a> 325 </p>
326 <a NAME="FindFileDialog.__stripEol" ID="FindFileDialog.__stripEol"></a>
250 <h4>FindFileDialog.__stripEol</h4> 327 <h4>FindFileDialog.__stripEol</h4>
251 <b>__stripEol</b>(<i>txt</i>) 328 <b>__stripEol</b>(<i>txt</i>)
329
252 <p> 330 <p>
253 Private method to strip the eol part. 331 Private method to strip the eol part.
254 </p><dl> 332 </p>
333 <dl>
334
255 <dt><i>txt</i></dt> 335 <dt><i>txt</i></dt>
256 <dd> 336 <dd>
257 line of text that should be treated (string) 337 line of text that should be treated (string)
258 </dd> 338 </dd>
259 </dl><dl> 339 </dl>
340 <dl>
260 <dt>Returns:</dt> 341 <dt>Returns:</dt>
261 <dd> 342 <dd>
262 text with eol stripped (string) 343 text with eol stripped (string)
263 </dd> 344 </dd>
264 </dl><a NAME="FindFileDialog.on_buttonBox_clicked" ID="FindFileDialog.on_buttonBox_clicked"></a> 345 </dl>
346 <a NAME="FindFileDialog.on_buttonBox_clicked" ID="FindFileDialog.on_buttonBox_clicked"></a>
265 <h4>FindFileDialog.on_buttonBox_clicked</h4> 347 <h4>FindFileDialog.on_buttonBox_clicked</h4>
266 <b>on_buttonBox_clicked</b>(<i>button</i>) 348 <b>on_buttonBox_clicked</b>(<i>button</i>)
349
267 <p> 350 <p>
268 Private slot called by a button of the button box clicked. 351 Private slot called by a button of the button box clicked.
269 </p><dl> 352 </p>
353 <dl>
354
270 <dt><i>button</i></dt> 355 <dt><i>button</i></dt>
271 <dd> 356 <dd>
272 button that was clicked (QAbstractButton) 357 button that was clicked (QAbstractButton)
273 </dd> 358 </dd>
274 </dl><a NAME="FindFileDialog.on_dirButton_clicked" ID="FindFileDialog.on_dirButton_clicked"></a> 359 </dl>
360 <a NAME="FindFileDialog.on_dirButton_clicked" ID="FindFileDialog.on_dirButton_clicked"></a>
275 <h4>FindFileDialog.on_dirButton_clicked</h4> 361 <h4>FindFileDialog.on_dirButton_clicked</h4>
276 <b>on_dirButton_clicked</b>(<i></i>) 362 <b>on_dirButton_clicked</b>(<i></i>)
363
277 <p> 364 <p>
278 Private slot to handle the selection of the 'Directory' radio button. 365 Private slot to handle the selection of the 'Directory' radio button.
279 </p><a NAME="FindFileDialog.on_dirPicker_editTextChanged" ID="FindFileDialog.on_dirPicker_editTextChanged"></a> 366 </p>
367 <a NAME="FindFileDialog.on_dirPicker_editTextChanged" ID="FindFileDialog.on_dirPicker_editTextChanged"></a>
280 <h4>FindFileDialog.on_dirPicker_editTextChanged</h4> 368 <h4>FindFileDialog.on_dirPicker_editTextChanged</h4>
281 <b>on_dirPicker_editTextChanged</b>(<i>text</i>) 369 <b>on_dirPicker_editTextChanged</b>(<i>text</i>)
370
282 <p> 371 <p>
283 Private slot to handle the textChanged signal of the directory 372 Private slot to handle the textChanged signal of the directory
284 picker. 373 picker.
285 </p><dl> 374 </p>
375 <dl>
376
286 <dt><i>text</i></dt> 377 <dt><i>text</i></dt>
287 <dd> 378 <dd>
288 (ignored) 379 (ignored)
289 </dd> 380 </dd>
290 </dl><a NAME="FindFileDialog.on_filterCheckBox_clicked" ID="FindFileDialog.on_filterCheckBox_clicked"></a> 381 </dl>
382 <a NAME="FindFileDialog.on_filterCheckBox_clicked" ID="FindFileDialog.on_filterCheckBox_clicked"></a>
291 <h4>FindFileDialog.on_filterCheckBox_clicked</h4> 383 <h4>FindFileDialog.on_filterCheckBox_clicked</h4>
292 <b>on_filterCheckBox_clicked</b>(<i></i>) 384 <b>on_filterCheckBox_clicked</b>(<i></i>)
385
293 <p> 386 <p>
294 Private slot to handle the selection of the file filter check box. 387 Private slot to handle the selection of the file filter check box.
295 </p><a NAME="FindFileDialog.on_filterEdit_textEdited" ID="FindFileDialog.on_filterEdit_textEdited"></a> 388 </p>
389 <a NAME="FindFileDialog.on_filterEdit_textEdited" ID="FindFileDialog.on_filterEdit_textEdited"></a>
296 <h4>FindFileDialog.on_filterEdit_textEdited</h4> 390 <h4>FindFileDialog.on_filterEdit_textEdited</h4>
297 <b>on_filterEdit_textEdited</b>(<i>text</i>) 391 <b>on_filterEdit_textEdited</b>(<i>text</i>)
392
298 <p> 393 <p>
299 Private slot to handle the textChanged signal of the file filter edit. 394 Private slot to handle the textChanged signal of the file filter edit.
300 </p><dl> 395 </p>
396 <dl>
397
301 <dt><i>text</i></dt> 398 <dt><i>text</i></dt>
302 <dd> 399 <dd>
303 (ignored) 400 (ignored)
304 </dd> 401 </dd>
305 </dl><a NAME="FindFileDialog.on_findList_itemDoubleClicked" ID="FindFileDialog.on_findList_itemDoubleClicked"></a> 402 </dl>
403 <a NAME="FindFileDialog.on_findList_itemDoubleClicked" ID="FindFileDialog.on_findList_itemDoubleClicked"></a>
306 <h4>FindFileDialog.on_findList_itemDoubleClicked</h4> 404 <h4>FindFileDialog.on_findList_itemDoubleClicked</h4>
307 <b>on_findList_itemDoubleClicked</b>(<i>itm, column</i>) 405 <b>on_findList_itemDoubleClicked</b>(<i>itm, column</i>)
406
308 <p> 407 <p>
309 Private slot to handle the double click on a file item. 408 Private slot to handle the double click on a file item.
310 </p><p> 409 </p>
410 <p>
311 It emits the signal 411 It emits the signal
312 sourceFile or designerFile depending on the file extension. 412 sourceFile or designerFile depending on the file extension.
313 </p><dl> 413 </p>
414 <dl>
415
314 <dt><i>itm</i></dt> 416 <dt><i>itm</i></dt>
315 <dd> 417 <dd>
316 the double clicked tree item (QTreeWidgetItem) 418 the double clicked tree item (QTreeWidgetItem)
317 </dd><dt><i>column</i></dt> 419 </dd>
420 <dt><i>column</i></dt>
318 <dd> 421 <dd>
319 column that was double clicked (integer) (ignored) 422 column that was double clicked (integer) (ignored)
320 </dd> 423 </dd>
321 </dl><a NAME="FindFileDialog.on_findtextCombo_editTextChanged" ID="FindFileDialog.on_findtextCombo_editTextChanged"></a> 424 </dl>
425 <a NAME="FindFileDialog.on_findtextCombo_editTextChanged" ID="FindFileDialog.on_findtextCombo_editTextChanged"></a>
322 <h4>FindFileDialog.on_findtextCombo_editTextChanged</h4> 426 <h4>FindFileDialog.on_findtextCombo_editTextChanged</h4>
323 <b>on_findtextCombo_editTextChanged</b>(<i>text</i>) 427 <b>on_findtextCombo_editTextChanged</b>(<i>text</i>)
428
324 <p> 429 <p>
325 Private slot to handle the editTextChanged signal of the find 430 Private slot to handle the editTextChanged signal of the find
326 text combo. 431 text combo.
327 </p><dl> 432 </p>
433 <dl>
434
328 <dt><i>text</i></dt> 435 <dt><i>text</i></dt>
329 <dd> 436 <dd>
330 (ignored) 437 (ignored)
331 </dd> 438 </dd>
332 </dl><a NAME="FindFileDialog.on_openFilesButton_clicked" ID="FindFileDialog.on_openFilesButton_clicked"></a> 439 </dl>
440 <a NAME="FindFileDialog.on_openFilesButton_clicked" ID="FindFileDialog.on_openFilesButton_clicked"></a>
333 <h4>FindFileDialog.on_openFilesButton_clicked</h4> 441 <h4>FindFileDialog.on_openFilesButton_clicked</h4>
334 <b>on_openFilesButton_clicked</b>(<i></i>) 442 <b>on_openFilesButton_clicked</b>(<i></i>)
443
335 <p> 444 <p>
336 Private slot to handle the selection of the 'Open Files' radio button. 445 Private slot to handle the selection of the 'Open Files' radio button.
337 </p><a NAME="FindFileDialog.on_projectButton_clicked" ID="FindFileDialog.on_projectButton_clicked"></a> 446 </p>
447 <a NAME="FindFileDialog.on_projectButton_clicked" ID="FindFileDialog.on_projectButton_clicked"></a>
338 <h4>FindFileDialog.on_projectButton_clicked</h4> 448 <h4>FindFileDialog.on_projectButton_clicked</h4>
339 <b>on_projectButton_clicked</b>(<i></i>) 449 <b>on_projectButton_clicked</b>(<i></i>)
450
340 <p> 451 <p>
341 Private slot to handle the selection of the 'Project' radio button. 452 Private slot to handle the selection of the 'Project' radio button.
342 </p><a NAME="FindFileDialog.on_replaceButton_clicked" ID="FindFileDialog.on_replaceButton_clicked"></a> 453 </p>
454 <a NAME="FindFileDialog.on_replaceButton_clicked" ID="FindFileDialog.on_replaceButton_clicked"></a>
343 <h4>FindFileDialog.on_replaceButton_clicked</h4> 455 <h4>FindFileDialog.on_replaceButton_clicked</h4>
344 <b>on_replaceButton_clicked</b>(<i></i>) 456 <b>on_replaceButton_clicked</b>(<i></i>)
457
345 <p> 458 <p>
346 Private slot to perform the requested replace actions. 459 Private slot to perform the requested replace actions.
347 </p><a NAME="FindFileDialog.on_replacetextCombo_editTextChanged" ID="FindFileDialog.on_replacetextCombo_editTextChanged"></a> 460 </p>
461 <a NAME="FindFileDialog.on_replacetextCombo_editTextChanged" ID="FindFileDialog.on_replacetextCombo_editTextChanged"></a>
348 <h4>FindFileDialog.on_replacetextCombo_editTextChanged</h4> 462 <h4>FindFileDialog.on_replacetextCombo_editTextChanged</h4>
349 <b>on_replacetextCombo_editTextChanged</b>(<i>text</i>) 463 <b>on_replacetextCombo_editTextChanged</b>(<i>text</i>)
464
350 <p> 465 <p>
351 Private slot to handle the editTextChanged signal of the replace 466 Private slot to handle the editTextChanged signal of the replace
352 text combo. 467 text combo.
353 </p><dl> 468 </p>
469 <dl>
470
354 <dt><i>text</i></dt> 471 <dt><i>text</i></dt>
355 <dd> 472 <dd>
356 (ignored) 473 (ignored)
357 </dd> 474 </dd>
358 </dl><a NAME="FindFileDialog.setOpenFiles" ID="FindFileDialog.setOpenFiles"></a> 475 </dl>
476 <a NAME="FindFileDialog.setOpenFiles" ID="FindFileDialog.setOpenFiles"></a>
359 <h4>FindFileDialog.setOpenFiles</h4> 477 <h4>FindFileDialog.setOpenFiles</h4>
360 <b>setOpenFiles</b>(<i></i>) 478 <b>setOpenFiles</b>(<i></i>)
479
361 <p> 480 <p>
362 Public slot to set the mode to search in open files. 481 Public slot to set the mode to search in open files.
363 </p><a NAME="FindFileDialog.setSearchDirectory" ID="FindFileDialog.setSearchDirectory"></a> 482 </p>
483 <a NAME="FindFileDialog.setSearchDirectory" ID="FindFileDialog.setSearchDirectory"></a>
364 <h4>FindFileDialog.setSearchDirectory</h4> 484 <h4>FindFileDialog.setSearchDirectory</h4>
365 <b>setSearchDirectory</b>(<i>searchDir</i>) 485 <b>setSearchDirectory</b>(<i>searchDir</i>)
486
366 <p> 487 <p>
367 Public slot to set the name of the directory to search in. 488 Public slot to set the name of the directory to search in.
368 </p><dl> 489 </p>
490 <dl>
491
369 <dt><i>searchDir</i></dt> 492 <dt><i>searchDir</i></dt>
370 <dd> 493 <dd>
371 name of the directory to search in (string) 494 name of the directory to search in (string)
372 </dd> 495 </dd>
373 </dl><a NAME="FindFileDialog.show" ID="FindFileDialog.show"></a> 496 </dl>
497 <a NAME="FindFileDialog.show" ID="FindFileDialog.show"></a>
374 <h4>FindFileDialog.show</h4> 498 <h4>FindFileDialog.show</h4>
375 <b>show</b>(<i>txt=""</i>) 499 <b>show</b>(<i>txt=""</i>)
500
376 <p> 501 <p>
377 Public method to enable/disable the project button. 502 Public method to enable/disable the project button.
378 </p><dl> 503 </p>
504 <dl>
505
379 <dt><i>txt</i></dt> 506 <dt><i>txt</i></dt>
380 <dd> 507 <dd>
381 text to be shown in the searchtext combo (string) 508 text to be shown in the searchtext combo (string)
382 </dd> 509 </dd>
383 </dl> 510 </dl>

eric ide

mercurial