models.py
Others:
Bases: foundations.dataStructures.Structure
Defines a storage object for the Search_worker class search occurence.
Initializes the class.
Parameters: | **kwargs (dict) – line, column, length, text. |
---|
Bases: foundations.dataStructures.Structure
Defines a storage object for the Search_worker class search result.
Initializes the class.
Parameters: | **kwargs (dict) – file, pattern, settings, occurrences. |
---|
Bases: foundations.dataStructures.Structure
Defines a storage object for the Search_worker class cache data.
Initializes the class.
Parameters: | **kwargs (dict) – content, document. |
---|
Bases: PyQt4.QtCore.QThread
Defines a QThread subclass used to search for a pattern in a directory files.
Initializes the class.
Parameters: | parent (QObject) – Object parent. |
---|
This signal is emited by the Search_worker class when the search is finished. ( pyqtSignal )
Returns: | Search results. |
---|---|
Return type: | list |
Property for self.__container attribute.
Returns: | self.__container. |
---|---|
Return type: | QObject |
Property for self.__location attribute.
Returns: | self.__location. |
---|---|
Return type: | Location |
Property for self.__settings attribute.
Returns: | self.__settings. |
---|---|
Return type: | Location |