def METHOD_NAME(self, state):
    """
    Slot to enable or not local server settings.
    """
    if state:
        self.uiVmrunPathLineEdit.setEnabled(True)
        self.uiVmrunPathToolButton.setEnabled(True)
        self.uiNetworkTab.setEnabled(True)
    else:
        self.uiVmrunPathLineEdit.setEnabled(False)
        self.uiVmrunPathToolButton.setEnabled(False)
        self.uiNetworkTab.setEnabled(False)