Package elisa :: Package plugins :: Package base :: Package models :: Module slideshow_model :: Class SlideshowModel
[hide private]
[frames] | no frames]

Class SlideshowModel

source code


Modelizes a picture slideshow data structure, that is to say an ordered list of URIs pointing to pictures along with a position in that list and some configuration parameters: duration between pictures, visualization mode.

Nested Classes [hide private]

Inherited from core.component.Component: __metaclass__

Instance Methods [hide private]

Inherited from base_components.model.Model: __init__

Inherited from core.component.Component: clean, initialize, load_config, save_config

Inherited from core.observers.observable.Observable: __setattr__, add_observer, remove_observer

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __str__

Static Methods [hide private]

Inherited from core.component.Component: __classinit__

Class Variables [hide private]
string name = 'slideshow_model'
Component's name

Inherited from core.component.Component: checked, config_doc, default_config, id, plugin

Inherited from extern.log.log.Loggable: logCategory

Instance Variables [hide private]
int current_index = 0
index of the currently displayed picture
boolean playing = True
whether or not the slideshow is currently playing
elisa.plugins.base.list_model.ListModel playlist = 'frontend'
list of pictures to be displayed
boolean preview_mode = True
whether or not the player is previewing the pictures
float duration = 5.0
delay between two pictures (in seconds)

Inherited from base_components.model.Model: activate_action, activity, loading, parent

Inherited from core.component.Component: config, path

Properties [hide private]

Inherited from object: __class__