QGridLayout Class Reference
[QtGui module]
Inherits QLayout.
Methods
- __init__ (self, QWidget)
- __init__ (self)
- addItem (self, QLayoutItem, int, int, int rowSpan = 1, int columnSpan = 1, Qt.Alignment alignment = 0)
- addItem (self, QLayoutItem)
- addLayout (self, QLayout, int, int, Qt.Alignment alignment = 0)
- addLayout (self, QLayout, int, int, int, int, Qt.Alignment alignment = 0)
- addWidget (self, QWidget)
- addWidget (self, QWidget, int, int, Qt.Alignment alignment = 0)
- addWidget (self, QWidget, int, int, int, int, Qt.Alignment alignment = 0)
- QRect cellRect (self, int, int)
- int columnCount (self)
- int columnMinimumWidth (self, int)
- int columnStretch (self, int)
- int count (self)
- Qt.Orientations expandingDirections (self)
- (int, int, int, int) getItemPosition (self, int)
- bool hasHeightForWidth (self)
- int heightForWidth (self, int)
- int horizontalSpacing (self)
- invalidate (self)
- QLayoutItem itemAt (self, int)
- QLayoutItem itemAtPosition (self, int, int)
- QSize maximumSize (self)
- int minimumHeightForWidth (self, int)
- QSize minimumSize (self)
- Qt.Corner originCorner (self)
- int rowCount (self)
- int rowMinimumHeight (self, int)
- int rowStretch (self, int)
- setColumnMinimumWidth (self, int, int)
- setColumnStretch (self, int, int)
- setDefaultPositioning (self, int, Qt.Orientation)
- setGeometry (self, QRect)
- setHorizontalSpacing (self, int)
- setOriginCorner (self, Qt.Corner)
- setRowMinimumHeight (self, int, int)
- setRowStretch (self, int, int)
- setSpacing (self, int)
- setVerticalSpacing (self, int)
- QSize sizeHint (self)
- int spacing (self)
- QLayoutItem takeAt (self, int)
- int verticalSpacing (self)
Detailed Description
Method Documentation
QGridLayout.__init__ (self, QWidget)
The QWidget argument, if not None, causes self to be owned by Qt instead of PyQt.
QGridLayout.__init__ (self)
QGridLayout.addItem (self, QLayoutItem, int, int, int rowSpan = 1, int columnSpan = 1, Qt.Alignment alignment = 0)
The QLayoutItem argument has it's ownership transferred to Qt.
QGridLayout.addItem (self, QLayoutItem)
The QLayoutItem argument has it's ownership transferred to Qt.
QGridLayout.addLayout (self, QLayout, int, int, Qt.Alignment alignment = 0)
The QLayout argument has it's ownership transferred to Qt.
QGridLayout.addLayout (self, QLayout, int, int, int, int, Qt.Alignment alignment = 0)
The QLayout argument has it's ownership transferred to Qt.
QGridLayout.addWidget (self, QWidget)
The QWidget argument has it's ownership transferred to Qt.
QGridLayout.addWidget (self, QWidget, int, int, Qt.Alignment alignment = 0)
The QWidget argument has it's ownership transferred to Qt.
QGridLayout.addWidget (self, QWidget, int, int, int, int, Qt.Alignment alignment = 0)
The QWidget argument has it's ownership transferred to Qt.
QRect QGridLayout.cellRect (self, int, int)
int QGridLayout.columnCount (self)
int QGridLayout.columnMinimumWidth (self, int)
int QGridLayout.columnStretch (self, int)
int QGridLayout.count (self)
Qt.Orientations QGridLayout.expandingDirections (self)
(int, int, int, int) QGridLayout.getItemPosition (self, int)
bool QGridLayout.hasHeightForWidth (self)
int QGridLayout.heightForWidth (self, int)
int QGridLayout.horizontalSpacing (self)
QGridLayout.invalidate (self)
QLayoutItem QGridLayout.itemAt (self, int)
QLayoutItem QGridLayout.itemAtPosition (self, int, int)
QSize QGridLayout.maximumSize (self)
int QGridLayout.minimumHeightForWidth (self, int)
QSize QGridLayout.minimumSize (self)
Qt.Corner QGridLayout.originCorner (self)
int QGridLayout.rowCount (self)
int QGridLayout.rowMinimumHeight (self, int)
int QGridLayout.rowStretch (self, int)
QGridLayout.setColumnMinimumWidth (self, int, int)
QGridLayout.setColumnStretch (self, int, int)
QGridLayout.setDefaultPositioning (self, int, Qt.Orientation)
QGridLayout.setGeometry (self, QRect)
QGridLayout.setHorizontalSpacing (self, int)
QGridLayout.setOriginCorner (self, Qt.Corner)
QGridLayout.setRowMinimumHeight (self, int, int)
QGridLayout.setRowStretch (self, int, int)
QGridLayout.setSpacing (self, int)
QGridLayout.setVerticalSpacing (self, int)
QSize QGridLayout.sizeHint (self)
int QGridLayout.spacing (self)
QLayoutItem QGridLayout.takeAt (self, int)
The QLayoutItem result
int QGridLayout.verticalSpacing (self)