searchInFiles.py
Others:
Bases: foundations.ui.common.QWidget
Defines search and replace in files dialog used by the ScriptEditor Component.
Initializes the class.
| Parameters: | 
 | 
|---|
Property for self.__container attribute.
| Returns: | self.__container. | 
|---|---|
| Return type: | QObject | 
Property for self.__scriptEditor attribute.
| Returns: | self.__scriptEditor. | 
|---|---|
| Return type: | QWidget | 
Property for self.__filesCache attribute.
| Returns: | self.__filesCache. | 
|---|---|
| Return type: | Cache | 
Property for self.__searchPatternsModel attribute.
| Returns: | self.__searchPatternsModel. | 
|---|---|
| Return type: | PatternsModel | 
Property for self.__replaceWithPatternsModel attribute.
| Returns: | self.__replaceWithPatternsModel. | 
|---|---|
| Return type: | PatternsModel | 
Property for self.__model attribute.
| Returns: | self.__model. | 
|---|---|
| Return type: | SearchResultsModel | 
Property for self.__delegate attribute.
| Returns: | self.__delegate. | 
|---|---|
| Return type: | QItemDelegate | 
Property for self.__locations attribute.
| Returns: | self.__locations. | 
|---|---|
| Return type: | OrderedDict | 
Property for self.__locationsMenu attribute.
| Returns: | self.__locationsMenu. | 
|---|---|
| Return type: | QMenu | 
Property for self.__defaultFilterIn attribute.
| Returns: | self.__defaultFilterIn. | 
|---|---|
| Return type: | unicode | 
Property for self.__filtersInFormat attribute.
| Returns: | self.__filtersInFormat. | 
|---|---|
| Return type: | unicode | 
Property for self.__defaultFilterOut attribute.
| Returns: | self.__defaultFilterOut. | 
|---|---|
| Return type: | unicode | 
Property for self.__filtersOutFormat attribute.
| Returns: | self.__filtersOutFormat. | 
|---|---|
| Return type: | unicode | 
Property for self.__defaultTarget attribute.
| Returns: | self.__defaultTarget. | 
|---|---|
| Return type: | unicode | 
Property for self.__targetsFormat attribute.
| Returns: | self.__targetsFormat. | 
|---|---|
| Return type: | unicode | 
Property for self.__defaultLineNumberWidth attribute.
| Returns: | self.__defaultLineNumberWidth. | 
|---|---|
| Return type: | int | 
Property for self.__defaultLineColor attribute.
| Returns: | self.__defaultLineColor. | 
|---|---|
| Return type: | QColor | 
Property for self.__ignoreHiddenFiles attribute.
| Returns: | self.__ignoreHiddenFiles. | 
|---|---|
| Return type: | bool | 
Property for self.__searchWorkerThread attribute.
| Returns: | self.__searchWorkerThread. | 
|---|---|
| Return type: | QThread | 
Reimplements the QWidget.closeEvent() method.
| Parameters: | event (QEvent) – QEvent. | 
|---|
Sets the Model Nodes using given search results.
| Parameters: | searchResults (list) – Search results. | 
|---|---|
| Returns: | Method success. | 
| Return type: | bool | 
Sets the Model Nodes using given replace results.
| Parameters: | replaceResults (list) – Replace results. | 
|---|---|
| Returns: | Method success. | 
| Return type: | bool | 
Searchs user defined locations for search pattern.
| Returns: | Method success. | 
|---|---|
| Return type: | bool |