insarviz.view.schema.StringSchema module

class insarviz.view.schema.StringSchema.StringSchema(is_editable=True)[source]

Bases: Schema

class StringNode(item_model, schema, model)[source]

Bases: Node

data(role: ItemDataRole) Any[source]
flags()[source]
setData(value: Any, role: ItemDataRole) bool[source]
set_model(model)[source]

Change the underlying model for this node.

May be reimplemented by subclasses, depending on whether the node needs to be connected/disconnected to signals from the model.

Usually, when resetting the model, you’d first disconnect from the previous model, then call super().set_model(model), and finally connect to the new model.

staticMetaObject = PySide6.QtCore.QMetaObject("StringNode" inherits "Node": )
can_mime_from_model(__model__)[source]
can_model_from_mime(mimeData: QMimeData) bool[source]
property is_editable
make_node(item_model, model)[source]
mime_from_model(model)[source]
model_from_mime(mimeData: QMimeData)[source]
supported_mime_types()[source]