6.118. sibl_gui.components.core.database.types

types.py

Platform:
Windows, Linux, Mac Os X.
Description:
This module defines Application Database types: IblSet, Template and Collection classes.

Others:

6.118.1. Module Attributes

sibl_gui.components.core.database.types.LOGGER
sibl_gui.components.core.database.types.Base

6.118.2. Classes

class sibl_gui.components.core.database.types.IblSet(name=None, path=None, osStats=None, collection=None, title=None, author=None, link=None, icon=None, previewImage=None, backgroundImage=None, lightingImage=None, reflectionImage=None, location=None, latitude=None, longitude=None, date=None, time=None, comment=None)[source]

Bases: sqlalchemy.ext.declarative.Base

This class defines the Database IblSets type.

Parameters:
  • name – Ibl Set name. ( String )
  • path – Ibl Set file path. ( String )
  • osStats – Ibl Set file statistics. ( String )
  • collection – Ibl Set collection. ( String )
  • title – Ibl Set title. ( String )
  • author – Ibl Set author. ( String )
  • link – Ibl Set online link. ( String )
  • icon – Ibl Set icon path. ( String )
  • previewImage – Ibl Set preview image path. ( String )
  • backgroundImage – Ibl Set background image path. ( String )
  • lightingImage – Ibl Set lighting image path. ( String )
  • reflectionImage – Ibl Set reflection image path. ( String )
  • location – Ibl Set location. ( String )
  • latitude – Ibl Set latitude. ( String ),
  • longitude – Ibl Set longitude. ( String )
  • date – Ibl Set shot date. ( String )
  • time – Ibl Set shot time. ( String )
  • comment – Ibl Set comment. ( String )
setContent(*args, **kwargs)[source]

This decorator is used for exceptions handling.

Parameters:
  • *args – Arguments. ( * )
  • **kwargs – Keywords arguments. ( ** )
class sibl_gui.components.core.database.types.Template(name=None, path=None, osStats=None, collection=None, helpFile=None, title=None, author=None, email=None, url=None, release=None, date=None, software=None, version=None, renderer=None, outputScript=None, comment=None)[source]

Bases: sqlalchemy.ext.declarative.Base

This class defines the Database Template type.

Parameters:
  • name – Template name. ( String )
  • path – Template file path. ( String )
  • osStats – Template file statistics. ( String )
  • collection – Template collection. ( String )
  • helpFile – Template help file path. ( String )
  • title – Template title. ( String )
  • author – Template author. ( String )
  • email – Template author email. ( String )
  • url – Template online link. ( String )
  • release – Template release version. ( String )
  • date – Template release date. ( String )
  • software – Template target software. ( String )
  • version – Template target software version. ( String )
  • renderer – Template target renderer. ( String )
  • outputScript – Template loader script name. ( String )
  • comment – Template comment. ( String )
setContent()[source]

This method initializes the class attributes.

Returns:Method success. ( Boolean )
class sibl_gui.components.core.database.types.Collection(name=None, type=None, comment=None)[source]

Bases: sqlalchemy.ext.declarative.Base

This class defines the Database Collection type.

Parameters:
  • name – Collection name. ( String )
  • type – Collection type. ( String )
  • comment – Collection comment. ( String )