spinetoolbox.mvcmodels.array_model¶
Contains logic for the fixed step time series editor widget.
| author: |
|
|---|---|
| date: | 14.6.2019 |
Module Contents¶
Classes¶
ArrayModel |
Model for the Array parameter_value type. |
_ErrorCell |
A sentinel class to mark erroneous cells in the table. |
-
class
spinetoolbox.mvcmodels.array_model.ArrayModel[source]¶ Bases:
PySide2.QtCore.QAbstractTableModelModel for the Array parameter_value type.
Even if the array is empty this model’s rowCount() will still return 1. This is to show an empty row in the table view.
-
reset(self, value)[source]¶ Resets the model to a new array.
Parameters: value (Array) – a new array to model
-