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- 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": )
- class insarviz.view.schema.IntSchema.IntSliderSchema(name)[source]
Bases:
Schema- class IntSliderNode(item_model, schema, model, name)[source]
Bases:
Node- 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": )