| Trees | Indices | Help |
|
|---|
|
|
PyQt4.QtGui.QWidget --+
|
BaseSubTab
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.
|
|||
| type |
TABLE_MODEL_CLASS The class of the table model. |
||
| type |
PROXY_MODEL_CLASS The class of the proxy model. |
||
|
|||
|
|||
|
|||
| str or NoneType |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| str |
NAME = ""The name of the tab. |
||
| module |
UI_MODULE = NoneA module containing a Ui_Form for the sub tab |
||
|
|||
PyQt4.QtCore.pyqtSignal
|
countChanged = QtCore.pyqtSignal(QtGui.QWidget, int)A signal emitted when the number of rows in the table has changed. |
||
PyQt4.QtCore.pyqtSignal
|
addMarker = QtCore.pyqtSignal(list, dict, str)A signal emitted when a workspace marker should be added. |
||
PyQt4.QtCore.pyqtSignal
|
removeMarker = QtCore.pyqtSignal(list, str)A signal emitted when a workspace marker should be removed. |
||
PyQt4.QtCore.pyqtSignal
|
setMarkerHighlighting = QtCore.pyqtSignal(list, bool, str)A signal emitted when the highlighting of a workspace marker should be changed. |
||
|
|||
Sub-tab-specific initialization. This function may be redefined in subclasses. |
Make sure that the sub-tab settings will allow a job to be run successfully.
|
Save sub-tab settings for the specified entry into the given Jaguar handle. This function should be redefined in subclasses.
|
Restore sub-tab settings from the Jaguar handle. This function should be redefined in subclasses. Note that existing settings for the given entry id should be cleared before the new settings are loaded.
|
Activate or deactivate the sub-tab
|
Set the entry ids to display in the table. This should correspond to the entry ids currently selected in the project table.
|
Update the entry titles in case they have changed in the project table
|
Pass along the addMarker signal received from the table model after adding the sub-tab name.
|
Pass along the removeMarker signal received from the table model after adding the sub-tab name to the signal.
|
Pass along the setMarkerHighlighting signal received from the table view after adding the sub-tab name to the signal.
|
Display a warning dialog with the specified message
|
|
|||
NAMEThe name of the tab. This name will be shown in the tab bar.
|
|
|||
countChangedA signal emitted when the number of rows in the table has changed. The input tab uses this to update the row count in the tab name. The signal is emitted with
|
addMarkerA signal emitted when a workspace marker should be added. Emitted with:
|
removeMarkerA signal emitted when a workspace marker should be removed. Emitted with:
|
setMarkerHighlightingA signal emitted when the highlighting of a workspace marker should be changed. Emitted with:
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:36 2015 | http://epydoc.sourceforge.net |