Module implementing a dialog to search for text in files.
None |
FindFileDialog | Class implementing a dialog to search for text in files. |
None |
Class implementing a dialog to search for text in files.
The occurrences 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.
endRole |
lineRole |
md5Role |
replaceRole |
startRole |
None |
FindFileDialog | Constructor |
__contextMenuRequested | Private slot to handle the context menu request. |
__copyToClipboard | Private method to copy the path of an entry to the clipboard. |
__createItem | Private method to create an entry in the file list. |
__doSearch | Private slot to handle the find button being pressed. |
__enableFindButton | Private slot called to enable the find button. |
__getFileList | Private method to get a list of files to search. |
__openFile | Private slot to open the currently selected entry. |
__stopSearch | Private slot to handle the stop button being pressed. |
__stripEol | Private method to strip the eol part. |
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 'Directory' radio button. |
on_dirPicker_editTextChanged | Private slot to handle the textChanged signal of the directory picker. |
on_filterCheckBox_clicked | Private slot to handle the selection of the file filter check box. |
on_filterEdit_textEdited | Private slot to handle the textChanged signal of the file filter edit. |
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_openFilesButton_clicked | Private slot to handle the selection of the 'Open Files' radio button. |
on_projectButton_clicked | Private slot to handle the selection of the 'Project' radio button. |
on_replaceButton_clicked | Private slot to perform the requested replace actions. |
on_replacetextCombo_editTextChanged | Private slot to handle the editTextChanged signal of the replace text combo. |
setOpenFiles | Public slot to set the mode to search in open files. |
setSearchDirectory | Public slot to set the name of the directory to search in. |
show | Public method to enable/disable the project button. |
None |
Constructor
Private slot to handle the context menu request.
Private method to copy the path of an entry to the clipboard.
Private method to create an entry in the file list.
Private slot to handle the find button being pressed.
Private slot called to enable the find button.
Private method to get a list of files to search.
Private slot to open the currently selected entry.
Private slot to handle the stop button being pressed.
Private method to strip the eol part.
Private slot called by a button of the button box clicked.
Private slot to handle the selection of the 'Directory' radio button.
Private slot to handle the textChanged signal of the directory picker.
Private slot to handle the selection of the file filter check box.
Private slot to handle the textChanged signal of the file filter edit.
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 'Open Files' radio button.
Private slot to handle the selection of the 'Project' radio button.
Private slot to perform the requested replace actions.
Private slot to handle the editTextChanged signal of the replace text combo.
Public slot to set the mode to search in open files.
Public slot to set the name of the directory to search in.
Public method to enable/disable the project button.