Sets the component at *index* to *value*

def setData(self, index, value, role=QtCore.Qt.UserRole):
        """Sets the component at *index* to *value*"""
        # item must already exist at provided index
        self._stim.overwriteComponent(value, index.row(), index.column())

        self.samplerateChanged.emit(self.samplerate())