The QGrid widget performs geometry management on its children More...
#include <qgrid.h>
Inherits QFrame.
The number of rows or columns is defined in the constructor. All its children will be placed and sized according to their sizeHint() and sizePolicy() return values.
Use setMargin() to add space around the edge, and use setSpacing() to add space between the widgets.
For more general control over grid layout, including multi-column and multi-row widgets, use the QGridLayout class directly.
Constructs a grid widget with parent parent and name name. n specifies the number of columns.
Constructs a grid widget with parent parent and name name. If dir is
Horizontal,
n specifies the number of columns. If dir is Vertical,
n specifies the number of rows.
[virtual protected]
Reimplemented for internal reasons; the API is not affected.
Reimplemented from QFrame.
Sets the spacing between children to space.
[virtual]
Reimplemented for internal reasons; the API is not affected.
Reimplemented from QWidget.
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit, copyright © 1995-2000 Trolltech, all rights reserved.
Copyright © 2000 Trolltech | Trademarks | Qt version 2.2.1
|