4.23. umbra.components.factory.scriptEditor.workers

models.py

Platform:
Windows, Linux, Mac Os X.
Description:
This module defines the umbra.components.factory.scriptEditor.scriptEditor.ScriptEditor Component Interface class Workers.

Others:

4.23.1. Module Attributes

umbra.components.factory.scriptEditor.workers.LOGGER

4.23.2. Classes

class umbra.components.factory.scriptEditor.workers.Occurence(**kwargs)[source]

Bases: foundations.dataStructures.Structure

This class represents a storage object for the Search_worker class search occurence.

Parameters:**kwargs – line, column, length, text. ( Key / Value pairs )
class umbra.components.factory.scriptEditor.workers.SearchResult(**kwargs)[source]

Bases: foundations.dataStructures.Structure

This class represents a storage object for the Search_worker class search result.

Parameters:**kwargs – file, pattern, settings, occurences. ( Key / Value pairs )
class umbra.components.factory.scriptEditor.workers.CacheData(**kwargs)[source]

Bases: foundations.dataStructures.Structure

This class represents a storage object for the Search_worker class cache data.

Parameters:**kwargs – content, document. ( Key / Value pairs )
class umbra.components.factory.scriptEditor.workers.Search_worker(parent, pattern=None, location=None, settings=None)[source]

Bases: PyQt4.QtCore.QThread

This class is a QThread subclass used to search for a pattern in a directory files.

Parameters:parent – Object parent. ( QObject )
searchFinished

This signal is emited by the Search_worker class when the search is finished. ( pyqtSignal )

Returns:Search results. ( List )
container[source]

This method is the property for self.__container attribute.

Returns:self.__container. ( QObject )
pattern[source]

This method is the property for self.__pattern attribute.

Returns:self.__pattern. ( String )
location[source]

This method is the property for self.__location attribute.

Returns:self.__location. ( Location )
settings[source]

This method is the property for self.__settings attribute.

Returns:self.__settings. ( Location )
searchResults[source]

This method is the property for self.__searchResults attribute.

Returns:self.__searchResults. ( List )
run()[source]

This method reimplements the QThread.run() method.

quit()[source]

This method reimplements the QThread.quit() method.

Table Of Contents

Previous topic

4.22. umbra.components.factory.scriptEditor.views

Next topic

4.24. umbra.engine

This Page