Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

Compatibility Members for QGridLayout

The following class members are part of the Qt 3 compatibility layer. They are provided to help you port old code to Qt 4. We strongly advise against using them in new code.

QGridLayout class reference

Public Functions


Member Function Documentation

void QGridLayout::addColSpacing ( int col, int minsize )

Use addItem(new QSpacerItem(minsize, 0), 0, col) instead.

void QGridLayout::addMultiCell ( QLayoutItem * l, int fromRow, int toRow, int fromCol, int toCol, Qt::Alignment align = 0 )

Use an addItem() overload that allows you to specify row and column spans instead.

void QGridLayout::addMultiCellLayout ( QLayout * layout, int fromRow, int toRow, int fromCol, int toCol, Qt::Alignment align = 0 )

Use an addLayout() overload that allows you to specify row and column spans instead.

void QGridLayout::addMultiCellWidget ( QWidget * w, int fromRow, int toRow, int fromCol, int toCol, Qt::Alignment align = 0 )

Use an addWidget() overload that allows you to specify row and column spans instead.

void QGridLayout::addRowSpacing ( int row, int minsize )

Use addItem(new QSpacerItem(0, minsize), row, 0) instead.

int QGridLayout::colSpacing ( int col ) const

Use columnSpacing() instead.

int QGridLayout::colStretch ( int col ) const

Use columnStretch() instead.

int QGridLayout::numCols () const

Use columnCount() instead.

int QGridLayout::numRows () const

Use rowCount() instead.

void QGridLayout::setColSpacing ( int col, int minSize )

Use setColumnSpacing() instead.

void QGridLayout::setColStretch ( int col, int stretch )

Use setColumnStretch() instead.


Copyright © 2004 Trolltech Trademarks
Qt 4.0.0-b1