A base-class for all Input tab sub-tabs. This class is not intended
to be instantiated directly and should be subclassed. Subclasses must
redefine NAME, UI_MODULE, TABLE_MODEL_CLASS, saveSettings, and
loadSettings. Subclasses must include a schrodinger.application.jaguar.gui.tabs.tabs.
sub_tab_widgets.base_widgets.SubTabTableView (or a subclass) instance
accessible as self.ui.table_view. Subclasses will also likely need to
redefine setup, activate, and deactivate.
|
__init__(self,
parent=None) |
|
|
|
setup(self)
Sub-tab-specific initialization. |
|
|
str or NoneType
|
validate(self)
Make sure that the sub-tab settings will allow a job to be run
successfully. |
|
|
|
saveSettings(self,
jag_input,
eid)
Save sub-tab settings for the specified entry into the given Jaguar
handle. |
|
|
|
loadSettings(self,
jag_input,
eid,
title,
struc)
Restore sub-tab settings from the Jaguar handle. |
|
|
|
activate(self)
Activate the sub-tab, e.g., check the picking check box. |
|
|
|
deactivate(self)
Deactivate the sub-tab, e.g., stop picking and/or uncheck the picking
check box |
|
|
|
setActive(self,
activate)
Activate or deactivate the sub-tab |
|
|
|
|
|
updateEntryTitles(self,
eids_to_titles)
Update the entry titles in case they have changed in the project
table |
|
|
|
emitCountChanged(self)
Emit the countChanged signal with the appropriate row count |
|
|
|
|
|
emitAddMarker(self,
atoms,
settings)
Pass along the addMarker signal received from the table model after
adding the sub-tab name. |
|
|
|
emitRemoveMarker(self,
atoms)
Pass along the removeMarker signal received from the table model
after adding the sub-tab name to the signal. |
|
|
|
emitSetMarkerHighlighting(self,
atoms,
highlight)
Pass along the setMarkerHighlighting signal received from the table
view after adding the sub-tab name to the signal. |
|
|
|
warning(self,
msg)
Display a warning dialog with the specified message |
|
|