Public Member Functions | |
def | __init__ |
def | layout |
def | link |
Public Attributes | |
itemA | |
itemB | |
parent | |
Private Member Functions | |
def | _release |
A Spacer between two items. Spacers are automatically created and removed by the SpacerContainer to seperate adjacent Items. You must create your own Spacer object that implements the link() method to define how the spacers connect to the Items on either side of it. The implementation may also contain hooks for receiving drag and drop events.
Definition at line 145 of file SpacerContainer.py.
def diarc.qt_view.SpacerContainer.SpacerContainer.Spacer.__init__ | ( | self, | |
parent | |||
) |
Definition at line 153 of file SpacerContainer.py.
def diarc.qt_view.SpacerContainer.SpacerContainer.Spacer._release | ( | self | ) | [private] |
Definition at line 160 of file SpacerContainer.py.
Returns the QGraphicsLayout that is being used.
Definition at line 167 of file SpacerContainer.py.
Must be implemented by the subclass. This method should consist of self.layout().addAnchor(self, ..., self.itemA/B, ...) calls anchoring the sides of itemA and itemB to this spacer.
Definition at line 171 of file SpacerContainer.py.
Definition at line 153 of file SpacerContainer.py.
Definition at line 153 of file SpacerContainer.py.
Definition at line 153 of file SpacerContainer.py.