QSpacerItem(3qt)QSpacerItem(3qt)NAMEQSpacerItem - The
#include <qabstractlayout.h>
Inherits QLayoutItem.
Public Members
QSpacerItem ( int w, int h, QSizePolicy::SizeType
hData=QSizePolicy::Minimum, QSizePolicy::SizeType
vData= QSizePolicy::Minimum )
void changeSize ( int w, int h, QSizePolicy::SizeType
hData=QSizePolicy::Minimum, QSizePolicy::SizeType
vData=QSizePolicy::Minimum )
virtual QSize sizeHint () const
virtual QSize minimumSize () const
virtual QSize maximumSize () const
virtual QSizePolicy::ExpandData expanding () const
virtual bool isEmpty () const
virtual void setGeometry ( const QRect & )
DESCRIPTION
The QLayoutItem class that represents blank space.
For custom layouts.
See also QLayout.
MEMBER FUNCTION DOCUMENTATIONQSpacerItem::QSpacerItem ( int w, int h, QSizePolicy::SizeType
hData=QSizePolicy::Minimum=QSizePolicy::Minimum,
QSizePolicy::SizeType vData= QSizePolicy::Minimum=
QSizePolicy::Minimum )
Constructs a spacer item with preferred width w, preferred
height h, horizontal size policy hData and vertical size
policy vData.
The default values gives a gap that is able to stretch, if
nothing else wants the space.
void QSpacerItem::changeSize ( int w, int h,
QSizePolicy::SizeType hData=QSizePolicy::Minimum,
QSizePolicy::SizeType vData=QSizePolicy::Minimum )
Changes this spacer item to have preferred width w,
preferred height h, horizontal size policy hData and
vertical size policy vData.
The default values gives a gap that is able to stretch, if
nothing else wants the space.
QSizePolicy::ExpandData QSpacerItem::expanding() const [virtual]
Returns whether this space item is expanding.
Trolltech AS 13 June 2001 1
QSpacerItem(3qt)QSpacerItem(3qt)
Reimplemented from QLayoutItem.
QRect QSpacerItem::geometry () const [virtual]
Reimplemented for internal reasons; the API is not
affected.
Reimplemented from QLayoutItem.
bool QSpacerItem::isEmpty () const [virtual]
Returns TRUE, since a space item never contains widgets.
Reimplemented from QLayoutItem.
QSize QSpacerItem::maximumSize () const [virtual]
Returns the maximum size of this space item.
Reimplemented from QLayoutItem.
QSize QSpacerItem::minimumSize () const [virtual]
Returns the minimum size of this space item.
Reimplemented from QLayoutItem.
void QSpacerItem::setGeometry ( const QRect & r ) [virtual]
This function stores r, so it can be returned by
geometry().
Reimplemented from QLayoutItem.
QSize QSpacerItem::sizeHint () const [virtual]
Returns the preferred size of this space item.
Reimplemented from QLayoutItem.
QSpacerItem * QSpacerItem::spacerItem () [virtual]
Reimplemented for internal reasons; the API is not
affected.
Reimplemented from QLayoutItem.
SEE ALSO
http://doc.trolltech.com/qspaceritem.html
http://www.trolltech.com/faq/tech.html
COPYRIGHT
Copyright 1992-2001 Trolltech AS,
http://www.trolltech.com. See the license file included
in the distribution for a complete license statement.
AUTHOR
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in
Trolltech AS 13 June 2001 2
QSpacerItem(3qt)QSpacerItem(3qt)
http://doc.trolltech.com/bughowto.html. Good bug reports
make our job much simpler. Thank you.
In case of content or formattting problems with this
manual page, please report them to qt-bugs@trolltech.com.
Please include the name of the manual page
(qspaceritem.3qt) and the Qt version (2.3.1).
Trolltech AS 13 June 2001 3