6.129. sibl_gui.components.core.inspector.inspector

inspector.py

Platform:
Windows, Linux, Mac Os X.
Description:
Defines the Inspector Component Interface class and others helpers objects.

Others:

6.129.1. Module Attributes

sibl_gui.components.core.inspector.inspector.LOGGER
sibl_gui.components.core.inspector.inspector.COMPONENT_UI_FILE

6.129.2. Classes

class sibl_gui.components.core.inspector.inspector.Plate(**kwargs)[source]

Bases: foundations.dataStructures.Structure

Defines a storage object for an Ibl Set Plate.

Initializes the class.

Parameters:kwargs (dict) – name, icon, previewImage, image
class sibl_gui.components.core.inspector.inspector.Light(**kwargs)[source]

Bases: foundations.dataStructures.Structure

Defines a storage object for an Ibl Set light.

Initializes the class.

Parameters:kwargs (dict) – name, color, uCoordinate, vCoordinate
class sibl_gui.components.core.inspector.inspector.Inspector(parent=None, name=None, *args, **kwargs)[source]

Bases: manager.qwidgetComponent.QWidgetComponent

Defines the sibl_gui.components.core.inspector.inspector Component Interface class.
It offers a large preview of the current inspected Ibl Set, and a way to navigate into the current selected Database Collection.

Initializes the class.

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

This signal is emited by the Inspector class when Inspector.model class property model nodes needs to be refreshed. ( pyqtSignal )

uiRefresh

This signal is emited by the Inspector class when the Ui needs to be refreshed. ( pyqtSignal )

uiClear

This signal is emited by the Inspector class when the Ui needs to be cleared. ( pyqtSignal )

uiResourcesDirectory[source]

Property for self.__uiResourcesDirectory attribute.

Returns:self.__uiResourcesDirectory.
Return type:unicode
uiPreviousImage[source]

Property for self.__uiPreviousImage attribute.

Returns:self.__uiPreviousImage.
Return type:unicode
uiNextImage[source]

Property for self.__uiNextImage attribute.

Returns:self.__uiNextImage.
Return type:unicode
uiLoadingImage[source]

Property for self.__uiLoadingImage attribute.

Returns:self.__uiLoadingImage.
Return type:unicode
dockArea[source]

Property for self.__dockArea attribute.

Returns:self.__dockArea.
Return type:int
listViewIconSize[source]

Property for self.__listViewIconSize attribute.

Returns:self.__listViewIconSize.
Return type:int
engine[source]

Property for self.__engine attribute.

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

Property for self.__iblSetsOutliner attribute.

Returns:self.__iblSetsOutliner.
Return type:QWidget
sectionsFileParsersCache[source]

Property for self.__sectionsFileParsersCache attribute.

Returns:self.__sectionsFileParsersCache.
Return type:Cache
model[source]

Property for self.__model attribute.

Returns:self.__model.
Return type:PlatesModel
view[source]

Property for self.__view attribute.

Returns:self.__view.
Return type:QWidget
thumbnailsSize[source]

Property for self.__thumbnailsSize attribute.

Returns:self.__thumbnailsSize.
Return type:unicode
activeIblSet[source]

Property for self.__activeIblSet attribute.

Returns:self.__activeIblSet.
Return type:IblSet
inspectorPlates[source]

Property for self.__inspectorPlates attribute.

Returns:self.__inspectorPlates.
Return type:dict
noPreviewImageText[source]

Property for self.__noPreviewImageText attribute.

Returns:self.__noPreviewImageText.
Return type:unicode
noActiveIblSetText[source]

Property for self.__noActiveIblSetText attribute.

Returns:self.__noActiveIblSetText.
Return type:unicode
activeIblSetToolTipText[source]

Property for self.__activeIblSetToolTipText attribute.

Returns:self.__activeIblSetToolTipText.
Return type:unicode
lightLabelRadius[source]

Property for self.__lightLabelRadius attribute.

Returns:self.__lightLabelRadius.
Return type:int
lightLabelTextOffset[source]

Property for self.__lightLabelTextOffset attribute.

Returns:self.__lightLabelTextOffset.
Return type:int
lightLabelTextMargin[source]

Property for self.__lightLabelTextMargin attribute.

Returns:self.__lightLabelTextMargin.
Return type:int
lightLabelTextHeight[source]

Property for self.__lightLabelTextHeight attribute.

Returns:self.__lightLabelTextHeight.
Return type:int
lightLabelTextFont[source]

Property for self.__lightLabelTextFont attribute.

Returns:self.__lightLabelTextFont.
Return type:unicode
unnamedLightName[source]

Property for self.__unnamedLightName attribute.

Returns:self.__unnamedLightName.
Return type:unicode
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.

initializeUi()[source]

Initializes the Component ui.

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

Uninitializes the Component ui.

addWidget()[source]

Adds the Component Widget to the engine.

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

Removes the Component Widget from the engine.

setPlates()[source]

Sets the Plates Model nodes.

Returns:Method success.
Return type:bool
loopThroughIblSets(backward=False)[source]

Loops through sibl_gui.components.core.iblSetsOutliner.iblSetsOutliner Component Ibl Sets.

Parameters:backward (bool) – Looping backward.
Returns:Method success.
Return type:bool
loopThroughPlates(backward=False)[source]

Loops through sibl_gui.components.core.inspector.inspector Component Ibl Set Plates.

Parameters:backward (bool) – Looping backward.
Returns:Method success.
Return type:bool