(self, widget, index)
Get the data from the widget state and set/update the model at index.
Get the data from the widget state and set/update the model at index.
Get the data from the widget state and set / update the model at index .
def setModelData(self, widget, index):
        """
        Get the data from the widget state and set/update the model at index.
        """
        params = widget.parameters()
        assert isinstance(params, dict)
        self._model.setData(index, params, ParametersRole)
def setModelData ( self , widget , index ) : params = widget . parameters ( ) assert isinstance ( params , dict ) self . _model . setData ( index , params , ParametersRole )