A label that gives information about the ligand for a given row and
shows the set structure in a tooltip.
|
__init__(self,
master,
layout,
unset_tooltip,
unset_text="Not set",
prefix="",
suffix="")
Create a StructureLabel instance |
|
|
|
unset(self)
Change the text & tooltip to indicate there is no ligand set |
|
|
|
set(self,
struct,
prefix=None,
suffix=None)
Change the text & tooltip to indicate there is a ligand set |
|
|
bool
|
event(self,
event)
Override event to make the structure tooltip work |
|
|
|
leaveEvent(self,
event)
Removes the structure tooltip if necessary when the mouse leaves the
widget. |
|
|
Inherited from ui.qt.swidgets.SLabel :
reset
|