hyperspyui.plugins.metadataeditor module#

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

Bases: Plugin

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

Bases: QAbstractItemModel

columnCount(self, parent: QModelIndex = QModelIndex()) int#
data(self, index: QModelIndex, role: int = Qt.ItemDataRole.DisplayRole) Any#
flags(self, index: QModelIndex) Qt.ItemFlags#
headerData(self, section: int, orientation: Qt.Orientation, role: int = Qt.ItemDataRole.DisplayRole) Any#
index(self, row: int, column: int, parent: QModelIndex = QModelIndex()) QModelIndex#
parent(self, child: QModelIndex) QModelIndex#
parent(self) QObject | None
reset()#
rowCount(self, parent: QModelIndex = QModelIndex()) int#
setData(self, index: QModelIndex, value: 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: QTreeView

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