1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 __maintainer__ = 'Lionel Martin <lionel@fluendo.com>'
18 __maintainer__ = 'Florian Boucault <florian@fluendo.com>'
19
20
21 from elisa.base_components.model import Model
22
23
25 """
26 Modelizes a picture slideshow data structure, that is to say an ordered
27 list of URIs pointing to pictures along with a position in that list and
28 some configuration parameters: duration between pictures, visualization
29 mode.
30
31 @ivar current_index: index of the currently displayed picture
32 @type current_index: int
33 @ivar playing: whether or not the slideshow is currently playing
34 @type playing: boolean
35 @ivar playlist: list of pictures to be displayed
36 @type playlist: L{elisa.plugins.base.list_model.ListModel}
37 @ivar preview_mode: whether or not the player is previewing the pictures
38 @type preview_mode: boolean
39 @ivar duration: delay between two pictures (in seconds)
40 @type duration: float
41 """
42
43 current_index = 0
44 playing = False
45 playlist = None
46 preview_mode = False
47 duration = 5.0
48