diff options
Diffstat (limited to 'silx/gui/hdf5/Hdf5LoadingItem.py')
-rw-r--r-- | silx/gui/hdf5/Hdf5LoadingItem.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/silx/gui/hdf5/Hdf5LoadingItem.py b/silx/gui/hdf5/Hdf5LoadingItem.py index 4467366..f11d252 100644 --- a/silx/gui/hdf5/Hdf5LoadingItem.py +++ b/silx/gui/hdf5/Hdf5LoadingItem.py @@ -25,11 +25,12 @@ __authors__ = ["V. Valls"] __license__ = "MIT" -__date__ = "23/09/2016" +__date__ = "06/07/2018" from .. import qt from .Hdf5Node import Hdf5Node +import silx.io.utils class Hdf5LoadingItem(Hdf5Node): @@ -49,6 +50,14 @@ class Hdf5LoadingItem(Hdf5Node): def obj(self): return None + @property + def h5Class(self): + """Returns the class of the stored object. + + :rtype: silx.io.utils.H5Type + """ + return silx.io.utils.H5Type.FILE + def dataName(self, role): if role == qt.Qt.DecorationRole: return self.__animatedIcon.currentIcon() |