'Enable/Disable widgets which depend on an opened image.'

def toggleActions(self, value=True):

    for z in self.actions.zoomActions:
        z.setEnabled(value)
    for action in self.actions.onLoadActive:
        action.setEnabled(value)
