insarviz.view.schema.DateSchema module

class insarviz.view.schema.DateSchema.DateSchema(name)[source]

Bases: Schema

class DateNode(item_model, schema, model, name)[source]

Bases: Node

createEditor(parent)[source]
data(role)[source]
destroyEditor()[source]
flags()[source]
setEditorData(editor)[source]
setModelData(__editor__)[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("DateNode" inherits "Node": )
make_node(item_model, model)[source]