tomwer.gui.imagefromfile.ImageFromFile#

class tomwer.gui.imagefromfile.ImageFromFile(_file=None, index=None, data=None, _load=False, url=None)#

Define an Image with a status

LOADING_STATUS = {'loaded': 1, 'loading': 0, 'not loaded': 2}#
isLoaded()#
load(sync=False)#

Load the data contained in the url.

Parameters:

sync – if True: then wait for the image to be loaded for giving back hand

sigLoaded#

Signal emitted when the file is loaded. Parameter is the file url