QGraphicsLayout Class Reference
[QtGui module]
Inherits QGraphicsLayoutItem.
Inherited by QGraphicsAnchorLayout, QGraphicsGridLayout and QGraphicsLinearLayout.
Methods
- __init__ (self, QGraphicsLayoutItem parent = None)
- activate (self)
- addChildLayoutItem (self, QGraphicsLayoutItem)
- int count (self)
- (float, float, float, float) getContentsMargins (self)
- invalidate (self)
- bool isActivated (self)
- QGraphicsLayoutItem itemAt (self, int)
- removeAt (self, int)
- setContentsMargins (self, float, float, float, float)
- updateGeometry (self)
- widgetEvent (self, QEvent)
Special Methods
Detailed Description
Method Documentation
QGraphicsLayout.__init__ (self, QGraphicsLayoutItem parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QGraphicsLayout.activate (self)
QGraphicsLayout.addChildLayoutItem (self, QGraphicsLayoutItem)
The QGraphicsLayoutItem argument has it's ownership transferred to Qt.
int QGraphicsLayout.count (self)
This method is abstract and should be reimplemented in any sub-class.
(float, float, float, float) QGraphicsLayout.getContentsMargins (self)
QGraphicsLayout.invalidate (self)
bool QGraphicsLayout.isActivated (self)
This method is abstract and should be reimplemented in any sub-class.
QGraphicsLayout.removeAt (self, int)
This method is abstract and should be reimplemented in any sub-class.
QGraphicsLayout.setContentsMargins (self, float, float, float, float)
QGraphicsLayout.updateGeometry (self)
QGraphicsLayout.widgetEvent (self, QEvent)
QGraphicsLayout.__len__ (self)