Module implementing a dialog to search for text in files.
FindFileDialog | Class implementing a dialog to search for text in files. |
FindFileTreeWidgetItem | Class implementing a custom QTreeWidgetItem to customize sorting. |
None |
Class implementing a dialog to search for text in files.
The occurences found are displayed in a QTreeWidget 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 |
__createItem | Private method to create an entry in the file list. |
__enableFindButton | Private slot called to enable the find button. |
__getFileList | Private method to get a list of files to search. |
on_buttonBox_clicked | Private slot called by a button of the button box clicked. |
on_dirButton_clicked | Private slot to handle the selection of the project radio button. |
on_dirEdit_textChanged | Private slot to handle the textChanged signal of the directory edit. |
on_dirSelectButton_clicked | Private slot to display a directory selection dialog. |
on_findButton_clicked | Private slot to handle the find button being pressed. |
on_findList_itemDoubleClicked | Private slot to handle the double click on a file item. |
on_findtextCombo_editTextChanged | Private slot to handle the editTextChanged signal of the find text combo. |
on_projectButton_clicked | Private slot to handle the selection of the project radio button. |
setSearchDirectory | Public slot to set the name of the directory to search in. |
show | Overwritten method to enable/disable the project button. |
Constructor
Private method to create an entry in the file list.
Private slot called to enable the find button.
Private method to get a list of files to search.
Private slot called by a button of the button box clicked.
Private slot to handle the selection of the project radio button.
Private slot to handle the textChanged signal of the directory edit.
Private slot to display a directory selection dialog.
Private slot to handle the find button being pressed.
Private slot to handle the double click on a file item.
It emits the signal sourceFile or designerFile depending on the file extension.
Private slot to handle the editTextChanged signal of the find text combo.
Private slot to handle the selection of the project radio button.
Public slot to set the name of the directory to search in.
Overwritten method to enable/disable the project button.
Class implementing a custom QTreeWidgetItem to customize sorting.
__lt__ | Public method to check, if the item is less than the other one. |
Public method to check, if the item is less than the other one.