Module implementing a quick search for files.
This is basically the FindFileNameDialog modified to support faster interactions.
None |
QuickFindFileDialog | Class implementing the Quick Find File by Name Dialog. |
None |
Class implementing the Quick Find File by Name Dialog.
This dialog provides a slightly more streamlined behaviour than the standard FindFileNameDialog in that it tries to match any name in the project against (fragmentary) bits of file names.
None |
None |
QuickFindFileDialog | Constructor |
__generateLocations | Private method to generate a set of locations that can be searched. |
__openFile | Private slot to open a file. |
__searchFile | Private slot to handle the search. |
__sortedMatches | Private method to find the subset of items which match a search term. |
eventFilter | Public method to handle event for another object. |
on_buttonBox_clicked | Private slot called by a button of the button box clicked. |
on_fileList_currentItemChanged | Private slot handling a change of the current item. |
on_fileList_itemActivated | Private slot to handle the double click on a file item. |
on_fileNameEdit_returnPressed | Private slot to handle enter being pressed on the file name edit box. |
on_fileNameEdit_textChanged | Private slot to handle the textChanged signal of the file name edit. |
show | Public method to enable/disable the project checkbox. |
None |
Constructor
Private method to generate a set of locations that can be searched.
Private slot to open a file.
It emits the signal sourceFile or designerFile depending on the file extension.
Private slot to handle the search.
Private method to find the subset of items which match a search term.
Public method to handle event for another object.
Private slot called by a button of the button box clicked.
Private slot handling a change of the current item.
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 enter being pressed on the file name edit box.
Private slot to handle the textChanged signal of the file name edit.
Public method to enable/disable the project checkbox.