def METHOD_NAME(self):
    iswriteprotect = self.drawer.writeprotectBox.checkState()
    for f in self.filterbuttons:
        f.setEnabled(not iswriteprotect)
    self.drawer.sigmaSpin.setEnabled(not iswriteprotect)
    self.drawer.runButton.setEnabled(not iswriteprotect)
    self.drawer.sizeRegularizerSpin.setEnabled(not iswriteprotect)
    self.drawer.reduceToSpin.setEnabled(not iswriteprotect)
    self.drawer.doAggloCheckBox.setEnabled(not iswriteprotect)