Module implementing a dialog to search for text in files.
FindFileDialog | Class implementing a dialog to search for text in files. |
None |
Class implementing a dialog to search for text in files.
The occurences found are displayed in a QListView widget showing the filename, the linenumber and the found text. The file will be opened upon a double click onto the respective entry of the list.
FindFileDialog | Constructor |
enableFindButton | Private slot called to enable the find button. |
findPressed | Private slot to handle the find button being pressed. |
getFileList | Private method to get a list of files to search. |
handleDirSelection | Private slot to display a directory selection dialog. |
handleDoubleClick | Private slot to handle the double click. |
keyPressEvent | Protected slot to intercept the return key press. |
show | Overwritten method to enable/disable the project button. |
walkFilter | Private method used to walk through a directory tree building a list of files we are interested in. |
Constructor
Private slot called to enable the find button.
Private slot to handle the find button being pressed.
Private method to get a list of files to search.
Private slot to display a directory selection dialog.
Private slot to handle the double click.
It emits the signal pythonFile or designerFile depending on the file extension.
Protected slot to intercept the return key press.
Overwritten method to enable/disable the project button.
Private method used to walk through a directory tree building a list of files we are interested in.