Package elisa :: Package plugins :: Package bad :: Package raval_frontend :: Package raval_widgets :: Module long_loading_image :: Class LongLoadingImage
[hide private]
[frames] | no frames]

Class LongLoadingImage

source code


Widget providing facilities for displaying a temporary quickly loaded image while a bigger one is being loaded.

Display quick_image and then image when it is finished loading.

Also supports a rotating image on top to notify loadings.

Nested Classes [hide private]

Inherited from pgm.graph.group.Group: __metaclass__

Instance Methods [hide private]
 
__init__(self) source code
 
image__get(self) source code
 
_image_loaded(self, image) source code
 
_create_quick_image(self) source code
 
quick_image__get(self) source code
 
_quick_image_loaded(self, image) source code
 
_show_quick_image(self) source code
 
_hide_quick_image(self) source code
 
loading_image_path__set(self, path) source code
 
_create_loading_image(self) source code
 
loading__set(self, loading) source code
 
loading__get(self) source code
 
_start_loading_animation(self) source code
 
_rotate_loading(self) source code

Inherited from pgm.graph.group.Group: absolute_opacity_factor__get, absolute_position__get, add, canvas__get, canvas__set, children__get, empty, height__get, height__set, opacity__get, opacity__set, parent__get, position__get, position__set, regenerate, remove, size__get, size__set, visible__get, visible__set, width__get, width__set, x__get, x__set, y__get, y__set, z__get, z__set

Inherited from pgm.graph.group.Group (private): _proxy_child_signal, _set_visibility_from_parent

Inherited from gobject.GObject: __cmp__, __delattr__, __gdoc__, __gobject_init__, __hash__, __new__, __repr__, __setattr__, chain, connect, connect_after, connect_object, connect_object_after, disconnect, disconnect_by_func, emit, emit_stop_by_name, freeze_notify, get_data, get_properties, get_property, handler_block, handler_block_by_func, handler_disconnect, handler_is_connected, handler_unblock, handler_unblock_by_func, notify, props, set_data, set_properties, set_property, stop_emission, thaw_notify, weak_ref

Inherited from object: __getattribute__, __reduce__, __reduce_ex__, __str__

Static Methods [hide private]

Inherited from pgm.graph.group.Group: __classinit__

Class Variables [hide private]
float time_before_quick = 0.25
DOCME
float time_before_loading = 0.25
DOCME

Inherited from pgm.graph.group.Group: __gsignals__, __gtype__

Instance Variables [hide private]
pgm.graph.image.Image image
image that can take time to load
bool loading
DOCME
str loading_image_path
DOCME
pgm.graph.image.Image quick_image
image quick to load
Properties [hide private]

Inherited from pgm.graph.group.Group: absolute_opacity_factor, absolute_position, canvas, children, height, opacity, parent, position, size, visible, width, x, y, z

Inherited from gobject.GObject: __grefcount__

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: pgm.graph.group.Group.__init__

Instance Variable Details [hide private]

image

image that can take time to load
Get Method:
elisa.plugins.bad.raval_frontend.raval_widgets.long_loading_image.LongLoadingImage.image__get(self)
Set Method:
'frontend'
Delete Method:
'frontend'

loading

DOCME
Get Method:
elisa.plugins.bad.raval_frontend.raval_widgets.long_loading_image.LongLoadingImage.loading__get(self)
Set Method:
elisa.plugins.bad.raval_frontend.raval_widgets.long_loading_image.LongLoadingImage.loading__set(self, loading)
Delete Method:
'frontend'

loading_image_path

DOCME
Get Method:
'frontend'
Set Method:
elisa.plugins.bad.raval_frontend.raval_widgets.long_loading_image.LongLoadingImage.loading_image_path__set(self, path)
Delete Method:
'frontend'

quick_image

image quick to load
Get Method:
elisa.plugins.bad.raval_frontend.raval_widgets.long_loading_image.LongLoadingImage.quick_image__get(self)
Set Method:
'frontend'
Delete Method:
'frontend'