6.95. sibl_gui.components.addons.cachesOperations.cachesOperations

cachesOperations.py

Platform:
Windows, Linux, Mac Os X.
Description:
Defines the CachesOperations Component Interface class.

Others:

6.95.1. Module Attributes

sibl_gui.components.addons.cachesOperations.cachesOperations.LOGGER
sibl_gui.components.addons.cachesOperations.cachesOperations.COMPONENT_UI_FILE

6.95.2. Classes

class sibl_gui.components.addons.cachesOperations.cachesOperations.CachesOperations(parent=None, name=None, *args, **kwargs)[source]

Bases: manager.qwidgetComponent.QWidgetComponent

It provides various methods to operate on the images caches.

Initializes the class.

Parameters:
  • parent (QObject) – Object parent.
  • name (unicode) – Component name.
  • *args (*) – Arguments.
  • **kwargs (**) – Keywords arguments.
engine[source]

Property for self.__engine attribute.

Returns:self.__engine.
Return type:QObject
scriptEditor[source]

Property for self.__scriptEditor attribute.

Returns:self.__scriptEditor.
Return type:QWidget
preferencesManager[source]

Property for self.__preferencesManager attribute.

Returns:self.__preferencesManager.
Return type:QWidget
activate(engine)[source]

Activates the Component.

Parameters:engine (QObject) – Engine to attach the Component to.
Returns:Method success.
Return type:bool
deactivate()[source]

Deactivates the Component.

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

Initializes the Component ui.

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

Uninitializes the Component ui.

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

Adds the Component Widget to the engine.

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

Removes the Component Widget from the engine.

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

Outputs caches metrics.

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

Clears the thumbnails cache.

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

Clears the images caches.

Returns:Method success.
Return type:bool