A QFrame that contains a 2D image of a structure. This also creates a
QListWidget that is coordinated with the 2D image. This is the base class
for both the Reference and Comparison structures.
|
__init__(self,
master,
structure_layout,
list_layout,
struct=None,
mytype=COMPARISON)
Create a StructureFrame instance |
|
|
|
setLabel(self,
guessing=False)
Set the label that describes what the user should do |
|
|
|
setStructure(self,
struct)
Set the structure for this frame. |
|
|
|
|
|
unmapAtom(self,
index)
Mark an atom as unmapped |
|
|
|
reset(self,
reset_structure=True)
Reset to a blank frame, or remove any mapping but keep the structure |
|
|
bool
|
isValidAtomIndex(self,
index)
Check if this index is a valid atom index for the loaded structure |
|
|