Home · All Classes · Modules

QLayout Class Reference
[QtGui module]

Inherits QObject and QLayoutItem.

Inherited by QBoxLayout, QFormLayout, QGridLayout and QStackedLayout.

Types

Methods

Static Methods

Special Methods


Detailed Description


Type Documentation

QLayout.SizeConstraint


Method Documentation

QLayout.__init__ (self, QWidget)

The QWidget argument, if not None, causes self to be owned by Qt instead of PyQt.

QLayout.__init__ (self)

bool QLayout.activate (self)

QLayout.addChildLayout (self, QLayout)

The QLayout argument has it's ownership transferred to Qt.

QLayout.addChildWidget (self, QWidget)

The QWidget argument has it's ownership transferred to Qt.

QLayout.addItem (self, QLayoutItem)

This method is abstract and should be reimplemented in any sub-class.

The QLayoutItem argument has it's ownership transferred to Qt.

QLayout.addWidget (self, QWidget)

The QWidget argument has it's ownership transferred to Qt.

QRect QLayout.alignmentRect (self, QRect)

QLayout.childEvent (self, QChildEvent)

QSize QLayout.closestAcceptableSize (QWidget, QSize)

QMargins QLayout.contentsMargins (self)

QRect QLayout.contentsRect (self)

int QLayout.count (self)

This method is abstract and should be reimplemented in any sub-class.

Qt.Orientations QLayout.expandingDirections (self)

QRect QLayout.geometry (self)

(int, int, int, int) QLayout.getContentsMargins (self)

int QLayout.indexOf (self, QWidget)

QLayout.invalidate (self)

bool QLayout.isEmpty (self)

bool QLayout.isEnabled (self)

QLayoutItem QLayout.itemAt (self, int)

This method is abstract and should be reimplemented in any sub-class.

QLayout QLayout.layout (self)

int QLayout.margin (self)

QSize QLayout.maximumSize (self)

QWidget QLayout.menuBar (self)

QSize QLayout.minimumSize (self)

QWidget QLayout.parentWidget (self)

QLayout.removeItem (self, QLayoutItem)

The QLayoutItem argument

QLayout.removeWidget (self, QWidget)

bool QLayout.setAlignment (self, QWidget, Qt.Alignment)

bool QLayout.setAlignment (self, QLayout, Qt.Alignment)

QLayout.setAlignment (self, Qt.Alignment)

QLayout.setContentsMargins (self, int, int, int, int)

QLayout.setContentsMargins (self, QMargins)

QLayout.setEnabled (self, bool)

QLayout.setGeometry (self, QRect)

QLayout.setMargin (self, int)

QLayout.setMenuBar (self, QWidget)

The QWidget argument has it's ownership transferred to Qt.

QLayout.setSizeConstraint (self, SizeConstraint)

QLayout.setSpacing (self, int)

SizeConstraint QLayout.sizeConstraint (self)

int QLayout.spacing (self)

QLayoutItem QLayout.takeAt (self, int)

This method is abstract and should be reimplemented in any sub-class.

The QLayoutItem result

int QLayout.totalHeightForWidth (self, int)

QSize QLayout.totalMaximumSize (self)

QSize QLayout.totalMinimumSize (self)

QSize QLayout.totalSizeHint (self)

QLayout.update (self)

QLayout.widgetEvent (self, QEvent)

QLayout.__len__ (self)


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0