hyperspyui.plugins.metadataeditor module

class hyperspyui.plugins.metadataeditor.MetadataEditor(*args, **kwargs)

Bases: hyperspyui.plugins.plugin.Plugin

_on_close(signal)
create_actions()
create_menu()
edit_metadata(signal=None)
name = 'Metadata Editor'
class hyperspyui.plugins.metadataeditor.MetadataModel(signal, parent=None)

Bases: PyQt5.QtCore.QAbstractItemModel

columnCount(self, parent: QModelIndex = QModelIndex()) int
data(self, QModelIndex, role: int = Qt.ItemDataRole.DisplayRole) Any
flags(self, QModelIndex) Qt.ItemFlags
headerData(self, int, Qt.Orientation, role: int = Qt.ItemDataRole.DisplayRole) Any
MetadataModel.index(self, int, int, parent: QModelIndex = QModelIndex()) -> QModelIndex
parent(self, QModelIndex) QModelIndex
parent(self) QObject
reset()
rowCount(self, parent: QModelIndex = QModelIndex()) int
setData(self, QModelIndex, Any, role: int = Qt.ItemDataRole.EditRole) bool
class hyperspyui.plugins.metadataeditor.MetadataNode(model, parent, name, ref, row)

Bases: object

_createNode(name, ref, row)
_getChildren()
edit_value(value)
property index
property subnodes
class hyperspyui.plugins.metadataeditor.MetadataTreeWidget(signal, parent=None)

Bases: PyQt5.QtWidgets.QTreeView

sizeHint(self) QSize
hyperspyui.plugins.metadataeditor.tr(text)