4.5. manager.qobjectComponent

qobjectComponent.py

Platform:
Windows, Linux, Mac Os X.
Description:
Defines the QObjectComponent class.

Others:

4.5.1. Module Attributes

manager.qobjectComponent.LOGGER

4.5.2. Classes

class manager.qobjectComponent.QObjectComponent(parent=None, name=None, *args, **kwargs)[source]

Bases: PyQt4.QtCore.QObject

Defines the base class for Manager package QObject Components.

Initializes the class.

Parameters:
  • parent (QObject) – Object parent.
  • name (unicode) – Component name.
  • *args (*) – Arguments.
  • **kwargs (**) – Keywords arguments.
componentActivated

This signal is emited by the QObjectComponent class when the Component is activated. ( pyqtSignal )

componentDeactivated

This signal is emited by the QObjectComponent class when the Component is deactivated. ( pyqtSignal )

componentInitialized

This signal is emited by the QObjectComponent class when the Component is initialized. ( pyqtSignal )

componentUninitialized

This signal is emited by the QObjectComponent class when the Component is uninitialized. ( pyqtSignal )

name[source]

Property for self.__name attribute.

Returns:self.__name.
Return type:unicode
activated[source]

Property for self.__activated attribute.

Returns:self.__activated.
Return type:bool
initialized[source]

Property for self.__initialized attribute.

Returns:self.__initialized.
Return type:bool
deactivatable[source]

Property for self.__deactivatable attribute.

Returns:self.__deactivatable.
Return type:bool
activate()[source]

Sets Component activation state.

Returns:Method success.
Return type:bool
deactivate()[source]

Unsets Component activation state.

Returns:Method success.
Return type:bool
initialize()[source]

Initializes the Component.

uninitialize()[source]

Uninitializes the Component.