6.146. sibl_gui.ui.nodes

nodes.py

Platform:
Windows, Linux, Mac Os X.
Description:
Defines the Application nodes classes.

Others:

6.146.1. Module Attributes

sibl_gui.ui.nodes.LOGGER

6.146.2. Classes

class sibl_gui.ui.nodes.Mixin_GraphModelObject[source]

Bases: object

Defines a mixin used to bring common capabilities in Application Nodes classes.

Initializes the class.

iconSize[source]

Property for self.__iconSize attribute.

Returns:self.__iconSize.
Return type:unicode
iconPlaceholder[source]

Property for self.__iconPlaceholder attribute.

Returns:self.__iconPlaceholder.
Return type:QIcon
class sibl_gui.ui.nodes.GraphModelAttribute(name=None, value=None, roles=None, flags=None, iconSize=None, iconPlaceholder=None, **kwargs)[source]

Bases: umbra.ui.nodes.GraphModelAttribute, sibl_gui.ui.nodes.Mixin_GraphModelObject

Defines a storage object for the GraphModelNode class attributes.

Initializes the class.

Parameters:
  • name (unicode) – Attribute name.
  • value (object) – Attribute value.
  • roles (dict) – Roles.
  • flags (int) – Flags.
  • iconSize (unicode) – Icon size.
  • iconPlaceholder (QIcon) – Icon placeholder.
  • **kwargs (**) – Keywords arguments.
class sibl_gui.ui.nodes.GraphModelNode(name=None, parent=None, children=None, roles=None, flags=None, iconSize=None, iconPlaceholder=None, **kwargs)[source]

Bases: umbra.ui.nodes.GraphModelNode, sibl_gui.ui.nodes.Mixin_GraphModelObject

Defines GraphModel class base Node object.

Initializes the class.

Parameters:
  • name (unicode) – Node name.
  • parent (AbstractNode or AbstractCompositeNode) – Node parent.
  • children (list) – Children.
  • roles (dict) – Roles.
  • flags – Flags. ( Qt.ItemFlag )
  • iconSize (unicode) – Icon size.
  • iconPlaceholder (QIcon) – Icon placeholder.
  • **kwargs (**) – Keywords arguments.