6.122. sibl_gui.components.core.inspector.inspector

inspector.py

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

Others:

6.122.1. Module Attributes

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

6.122.2. Classes

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

Bases: foundations.dataStructures.Structure

This class represents a storage object for an Ibl Set Plate.

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

Bases: foundations.dataStructures.Structure

This class represents a storage object for an Ibl Set light.

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

Bases: manager.qwidgetComponent.QWidgetComponent

This class is 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.
Parameters:
  • parent – Object parent. ( QObject )
  • name – Component name. ( String )
  • *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]

This method is the property for self.__uiResourcesDirectory attribute.

Returns:self.__uiResourcesDirectory. ( String )
uiPreviousImage[source]

This method is the property for self.__uiPreviousImage attribute.

Returns:self.__uiPreviousImage. ( String )
uiNextImage[source]

This method is the property for self.__uiNextImage attribute.

Returns:self.__uiNextImage. ( String )
uiLoadingImage[source]

This method is the property for self.__uiLoadingImage attribute.

Returns:self.__uiLoadingImage. ( String )
dockArea[source]

This method is the property for self.__dockArea attribute.

Returns:self.__dockArea. ( Integer )
listViewIconSize[source]

This method is the property for self.__listViewIconSize attribute.

Returns:self.__listViewIconSize. ( Integer )
engine[source]

This method is the property for self.__engine attribute.

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

This method is the property for self.__iblSetsOutliner attribute.

Returns:self.__iblSetsOutliner. ( QWidget )
sectionsFileParsersCache[source]

This method is the property for self.__sectionsFileParsersCache attribute.

Returns:self.__sectionsFileParsersCache. ( Cache )
model[source]

This method is the property for self.__model attribute.

Returns:self.__model. ( PlatesModel )
view[source]

This method is the property for self.__view attribute.

Returns:self.__view. ( QWidget )
thumbnailsSize[source]

This method is the property for self.__thumbnailsSize attribute.

Returns:self.__thumbnailsSize. ( String )
activeIblSet[source]

This method is the property for self.__activeIblSet attribute.

Returns:self.__activeIblSet. ( IblSet )
inspectorPlates[source]

This method is the property for self.__inspectorPlates attribute.

Returns:self.__inspectorPlates. ( Dictionary )
noPreviewImageText[source]

This method is the property for self.__noPreviewImageText attribute.

Returns:self.__noPreviewImageText. ( String )
noActiveIblSetText[source]

This method is the property for self.__noActiveIblSetText attribute.

Returns:self.__noActiveIblSetText. ( String )
activeIblSetToolTipText[source]

This method is the property for self.__activeIblSetToolTipText attribute.

Returns:self.__activeIblSetToolTipText. ( String )
lightLabelRadius[source]

This method is the property for self.__lightLabelRadius attribute.

Returns:self.__lightLabelRadius. ( Integer )
lightLabelTextOffset[source]

This method is the property for self.__lightLabelTextOffset attribute.

Returns:self.__lightLabelTextOffset. ( Integer )
lightLabelTextMargin[source]

This method is the property for self.__lightLabelTextMargin attribute.

Returns:self.__lightLabelTextMargin. ( Integer )
lightLabelTextHeight[source]

This method is the property for self.__lightLabelTextHeight attribute.

Returns:self.__lightLabelTextHeight. ( Integer )
lightLabelTextFont[source]

This method is the property for self.__lightLabelTextFont attribute.

Returns:self.__lightLabelTextFont. ( String )
unnamedLightName[source]

This method is the property for self.__unnamedLightName attribute.

Returns:self.__unnamedLightName. ( String )
activate(engine)[source]

This method activates the Component.

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

This decorator is used for exceptions handling.

Parameters:
  • *args – Arguments. ( * )
  • **kwargs – Keywords arguments. ( ** )
initializeUi()[source]

This method initializes the Component ui.

Returns:Method success. ( Boolean )
uninitializeUi(*args, **kwargs)[source]

This decorator is used for exceptions handling.

Parameters:
  • *args – Arguments. ( * )
  • **kwargs – Keywords arguments. ( ** )
addWidget()[source]

This method adds the Component Widget to the engine.

Returns:Method success. ( Boolean )
removeWidget(*args, **kwargs)[source]

This decorator is used for exceptions handling.

Parameters:
  • *args – Arguments. ( * )
  • **kwargs – Keywords arguments. ( ** )
setPlates()[source]

This method sets the Plates Model nodes.

Returns:Method success. ( Boolean )
loopThroughIblSets(backward=False)[source]

This method loops through sibl_gui.components.core.iblSetsOutliner.iblSetsOutliner Component Ibl Sets.

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

This method loops through sibl_gui.components.core.inspector.inspector Component Ibl Set Plates.

Parameters:backward – Looping backward. ( Boolean )
Returns:Method success. ( Boolean )