def setReadOnly(self, readOnly):
        if self._dataSource is None:
            raise ValueError, 'datasource must be set'

        self._dataSource.setReadOnly(readOnly)
Sets the component to read-only. Readonly is not used in
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/progress_indicator.py/ProgressIndicator.setReadOnly