Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The QSpacerItem class provides blank space in a layout. More...
#include <QSpacerItem>
Inherits QLayoutItem.
The QSpacerItem class provides blank space in a layout.
This class is used by custom layouts.
See also QLayout and QLayout::spacerItem().
Constructs a spacer item with preferred width w, preferred height h, horizontal size policy hData and vertical size policy vData.
The default values provide a gap that is able to stretch if nothing else wants the space.
Changes this spacer item to have preferred width w, preferred height h, horizontal size policy hData and vertical size policy vData.
The default values provide a gap that is able to stretch if nothing else wants the space.
Returns the direction in which this spacer item will expand.
Reimplemented from QLayoutItem.
See also QSizePolicy::ExpandData.
Returns true because a spacer item never contains widgets.
Reimplemented from QLayoutItem.
Returns the maximum size of this spacer item.
Reimplemented from QLayoutItem.
Returns the minimum size of this spacer item.
Reimplemented from QLayoutItem.
Stores the spacer item's rect r so that it can be returned by geometry().
Reimplemented from QLayoutItem.
Returns the preferred size of this spacer item.
Reimplemented from QLayoutItem.
Copyright © 2004 Trolltech | Trademarks | Qt 4.0.0-b1 |