insarviz.view.schema.IntSchema module

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

Bases: Schema

class IntNode(item_model: QAbstractItemModel, schema: IntSchema, model: int, name: str)[source]

Bases: Node

createEditor(parent: QWidget) QWidget | None[source]
destroyEditor() bool[source]
editor() QWidget | None[source]
flags()[source]
setEditorData(editor)[source]
set_model(model: int)[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("IntNode" inherits "Node": )
make_node(item_model: QAbstractItemModel, model: Any) Node[source]
class insarviz.view.schema.IntSchema.IntSliderSchema(name)[source]

Bases: Schema

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

Bases: Node

createEditor(parent)[source]
destroyEditor()[source]
editor()[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("IntSliderNode" inherits "Node": )
class IntSliderWidget(name)[source]

Bases: QGroupBox

setValue(value)[source]
staticMetaObject = PySide6.QtCore.QMetaObject("IntSliderWidget" inherits "QGroupBox": Methods:   #38 type=Signal, signature=valueChanged(int), parameters=int )
value()[source]
valueChanged
make_node(item_model, model)[source]