A mixin for panels that contain an InputTab with sub-tabs. This mixin
controls markers and atom picking activation/deactivation. Requires
InputTabMixin and must appear before InputTabMixin on the inheritance
list.
|
|
|
|
|
showEvent(self,
event)
When the panel is shown, activate workspace atom picking if necessary |
|
|
|
tabChanged(self,
new_index)
When the tab is changed, activate the newly selected tab |
|
|
|
showAllMarkers(self)
Display only markers for the current sub-tab and apply the sub-tab-
specific settings |
|
|
|
addSubTabMarker(self,
atoms,
settings,
sub_tab_name)
Add a workspace marker for the specified sub-tab. |
|
|
|
removeSubTabMarker(self,
atoms,
sub_tab_name)
Delete a workspace marker for the specified sub-tab. |
|
|
|
|
|
projectUpdated(self)
Make sure that marker visibility is updated *after* the Input table
has updated the included structures so that we can remove markers for
structures that have been removed from the panel. |
|
|
|
theoryToInput(self)
When the level of theory changes, pass the new theory level to the
Input tab so it can enable or disable the Charge Constraints sub-tab
as necessary. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|