Trees | Indices | Help |
|
---|
|
object --+ | MarkerMixin --+ | CoordinateMarkerMixin
A mixin for marking constraints from the Scan or Optimization tabs. Note that this mixin should not be directly applied to a panel. Instead, the OptimizationTabMarkerMixin, ScanTabMarkerMixin, or OptimizationAndScanMixin should be used.
Current limitations:
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
tuple |
|
||
|
|||
|
|||
tuple |
|
||
tuple |
|
||
tuple |
|
||
dict |
|
||
dict |
|
||
|
|||
list |
|
||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
int or NoneType |
_selected_eid_atom_total If there is only one entry id in _selected_eids, then _selected_eid_atom_total contains the number of atoms in
that entry.
|
||
set |
_selected_eids A set of entry ids currently selected in the project table. |
||
Inherited from |
|
|||
Inherited from |
|
Initialize self._selected_entries
|
Connect the signals from the specified tab to the appropriate slots
|
Check to see if coordinate picking is allowed or if constraints need to be cleared in response to a workspace change. This callback is needed when the user adds or deleted atoms.
|
Check to see if coordinate picking is allowed or if constraints need to be cleared in response to a project table change.
|
Only allow coordinate picking if there is exactly one entry in the workspace and it is also selected in the project table. If the selected entry has changed or if the number of atoms in the selected entry has changed, clear all coordinates. |
Retrieve the entry ids for the structures selected in the project table. If there is exactly one structure selected, also return the number of atoms in that structure.
|
Pass the constraint or scan picking restrictions to the appropriate tab.
|
Add a marker to the specified atoms. The settings from _markerSettings will be used to style the marker.
|
Get the marker settings to use for the Optimization tab
|
Get the marker settings to use for the Scan tab
|
Get the marker settings to use for newly added markers. This function must be defined in subclasses.
Note: Marker icon constants aren't defined until runtime because they're not importable outside of Maestro, so these values can't be directly set as class constants, hence this function. |
Get the marker settings to use for a newly added marker with the specified number of atoms. The marker settings from _markerSettings will be used.
|
Get the marker settings to use for a newly added marker with the specified number of atoms.
|
Remove the marker from the specified atoms
|
Get the workspace atoms with the specified atom numbers
|
Highlight the marker for the specified atoms
|
Un-highlight the marker for the specified atoms
|
|
_selected_eid_atom_totalIf there is only one entry id in _selected_eids, then_selected_eid_atom_total contains the number of atoms in
that entry. If the number of atoms changes, all constraints will be
cleared. If _selected_eids is empty of
contains more than one entry id, then
_selected_eid_atom_total is None.
|
_selected_eidsA set of entry ids currently selected in the project table. If the selected entries changes, all constraints will be cleared.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon May 19 23:05:14 2014 | http://epydoc.sourceforge.net |