'check if Qradiobox is clicked'

def get_options_hostapd(self, option):

    if (option.objectName() == 'hostapd_edit'):
        return self.edit_hostapd_path.setEnabled(True)
    if (option.objectName() == 'hostapd_normal'):
        hostapd = popen('which    hostapd').read().split('\n')[0]
        if path.isfile(hostapd):
            self.edit_hostapd_path.setText(hostapd)
        self.edit_hostapd_path.setEnabled(False)
