6.125. sibl_gui.components.core.database.types

types.py

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

Others:

6.125.1. Module Attributes

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

6.125.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

Defines the Database IblSets type.

Initializes the class.

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

Initializes the class attributes.

Returns:Method success.
Return type:bool
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

Defines the Database Template type.

Initializes the class.

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

Initializes the class attributes.

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

Bases: sqlalchemy.ext.declarative.Base

Defines the Database Collection type.

Initializes the class.

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