6.88. sibl_gui.components.addons.cachesOperations.cachesOperations

cachesOperations.py

Platform:
Windows, Linux, Mac Os X.
Description:
This module defines the CachesOperations Component Interface class.

Others:

6.88.1. Module Attributes

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

6.88.2. Classes

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

Bases: manager.qwidgetComponent.QWidgetComponent

This class is the sibl_gui.components.addons.cachesOperations.cachesOperations Component Interface class.
It provides various methods to operate on the images caches.
Parameters:
  • parent – Object parent. ( QObject )
  • name – Component name. ( String )
  • *args – Arguments. ( * )
  • **kwargs – Keywords arguments. ( ** )
engine[source]

This method is the property for self.__engine attribute.

Returns:self.__engine. ( QObject )
scriptEditor[source]

This method is the property for self.__scriptEditor attribute.

Returns:self.__scriptEditor. ( QWidget )
preferencesManager[source]

This method is the property for self.__preferencesManager attribute.

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

This method activates the Component.

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

This method deactivates the Component.

Returns:Method success. ( Boolean )
initializeUi()[source]

This method initializes the Component ui.

Returns:Method success. ( Boolean )
uninitializeUi()[source]

This method uninitializes the Component ui.

Returns:Method success. ( Boolean )
addWidget()[source]

This method adds the Component Widget to the engine.

Returns:Method success. ( Boolean )
removeWidget()[source]

This method removes the Component Widget from the engine.

Returns:Method success. ( Boolean )
outputCachesMetrics()[source]

This method outputs caches metrics.

Returns:Method success. ( Boolean )
clearThumbnailsCache()[source]

This method clears the thumbnails cache.

Returns:Method success. ( Boolean )
clearImagesCaches()[source]

This method clears the images caches.

Returns:Method success. ( Boolean )