TaurusNeXusBrowser

Inheritance diagram of TaurusNeXusBrowser
class TaurusNeXusBrowser(*args, **kwargs)[source]

A Browser for nexus files with optional preview. Based on PyMCA’s HDF5Widget

Import from taurus.qt.qtgui.extra_nexus as:

from taurus.qt.qtgui.extra_nexus import TaurusNeXusBrowser
closeEvent(event)[source]

Close HDF5 files

findNodeIndex(filename, nodename)[source]
classmethod getQtDesignerPluginInfo()[source]

Returns pertinent information in order to be able to build a valid QtDesigner widget plugin.

The dictionary returned by this method should contain at least the following keys and values:

  • ‘module’ : a string representing the full python module name (ex.: ‘taurus.qt.qtgui.base’)

  • ‘icon’ : a string representing valid resource icon (ex.: ‘designer:combobox.png’)

  • ‘container’a bool telling if this widget is a container widget or

    not.

This default implementation returns the following dictionary:

{ 'group'     : 'Taurus [Unclassified]',
  'icon'      : 'logos:taurus.png',
  'container' : False }
Returns:

a map with pertinent designer information

Return type:

dict

neXusPreviewWidgetFactory(ddict)[source]

returns a widget showing a preview of a node in a NeXus file

neXusWidget()[source]
onHDF5WidgetSignal(ddict)[source]
openFile(fname=None)[source]
setCurrentNode(filename, nodename)[source]