schrodinger.ui.qt.appframework2.validators module¶
- class schrodinger.ui.qt.appframework2.validators.Validator(target_obj)¶
Bases:
object
- __init__(target_obj)¶
- target_validate(validate_children=False, stop_on_fail=True)¶
- validationEnabled()¶
- class schrodinger.ui.qt.appframework2.validators.BaseTextValidator(target_obj, text_getter=None, message=None)¶
Bases:
schrodinger.ui.qt.appframework2.validators.Validator
- __init__(target_obj, text_getter=None, message=None)¶
- validateText(text)¶
- target_validate(validate_children=False, stop_on_fail=True)¶
- validationEnabled()¶
- class schrodinger.ui.qt.appframework2.validators.IsInteger(target_obj, text_getter=None, message=None)¶
Bases:
schrodinger.ui.qt.appframework2.validators.BaseTextValidator
A fairly useless validator, for demonstration purposes only.
- validateText(text)¶
- __init__(target_obj, text_getter=None, message=None)¶
- target_validate(validate_children=False, stop_on_fail=True)¶
- validationEnabled()¶
- class schrodinger.ui.qt.appframework2.validators.PathExists(target_obj, text_getter=None, message=None)¶
Bases:
schrodinger.ui.qt.appframework2.validators.BaseTextValidator
- validateText(text)¶
- __init__(target_obj, text_getter=None, message=None)¶
- target_validate(validate_children=False, stop_on_fail=True)¶
- validationEnabled()¶
- class schrodinger.ui.qt.appframework2.validators.FileExists(target_obj, text_getter=None, message=None)¶
Bases:
schrodinger.ui.qt.appframework2.validators.BaseTextValidator
- validateText(text)¶
- __init__(target_obj, text_getter=None, message=None)¶
- target_validate(validate_children=False, stop_on_fail=True)¶
- validationEnabled()¶
- class schrodinger.ui.qt.appframework2.validators.JobName(target_obj, text_getter=None, message=None)¶
Bases:
schrodinger.ui.qt.appframework2.validators.BaseTextValidator
- validateText(text)¶
- __init__(target_obj, text_getter=None, message=None)¶
- target_validate(validate_children=False, stop_on_fail=True)¶
- validationEnabled()¶