schrodinger.application.jobserver_cert_gui_dir.registration_dialogs module¶
- class schrodinger.application.jobserver_cert_gui_dir.registration_dialogs.RegistrationInput(*args, _param_type=<object object>, **kwargs)¶
Bases:
CompoundParam- username: str¶
A parameter of the class.
- password: str¶
A parameter of the class.
- passwordChanged¶
A
pyqtSignalemitted by instances of the class.
- passwordReplaced¶
A
pyqtSignalemitted by instances of the class.
- usernameChanged¶
A
pyqtSignalemitted by instances of the class.
- usernameReplaced¶
A
pyqtSignalemitted by instances of the class.
- class schrodinger.application.jobserver_cert_gui_dir.registration_dialogs.ServerRegistrationMixin¶
Bases:
objectA mixin for providing shared logic for server registration GUIs.
Subclasses must also inherit from
mappers.MapperMixin.- model_class¶
alias of
RegistrationInput
- defineMappings()¶
- getSignalsAndSlots(model)¶
- onUsernameOrPasswordChanged()¶
- class schrodinger.application.jobserver_cert_gui_dir.registration_dialogs.RegistrationPanel(*args, **kwargs)¶
Bases:
ServerRegistrationMixin,PanelA panel to register for the certification of job server on a host address. The panel allows user to choose from already configured set of server addresses or register for a new server address as well.
- ui_module = <module 'schrodinger.application.jobserver_cert_gui_dir.registration_panel_ui' from '/scr/buildbot/builds/build/internal/lib/python3.11/site-packages/schrodinger/application/jobserver_cert_gui_dir/registration_panel_ui.py'>¶
- PROPAGATE_PANELX_STYLES = True¶
- initSetOptions() None¶
Suggested subclass use: set instance variables, excluding layouts and subwidgets. Also use here to (optionally) apply the legacy stylesheet spacing settings (PANEL-19101).
- initSetUp() None¶
Creates widget from
uiand stores itui_widget.Suggested subclass use: create and initialize subwidgets, and connect signals.
- initLayOut() None¶
@overrides: widgetmixins.InitMixin
- hideDoNotShowCheckbox() None¶
Hide the do-not-show controls from the footer.
- onUsernameOrPasswordChanged()¶
Enable the register button only when both username and password have text filled.
- categorizeServers()¶
Categorize all registered servers into the four categories of registered, invalid registration, unregistered and unavailable.
- initServersCombo() None¶
Initialize the servers combobox to contain the servers in the order of invalid, unavailable, unregistered and registered.
- onRegisterClicked()¶
Register the user with the provided credentials. Show the appropriate dialog box as per whether registration was successful or not.
- register()¶
Register with a certificate for the current server address and user credentials.
See
cert.get_certfor raised exceptions.
- getCurrServerAddress()¶
Construct and return the current server address.
- Return type:
string