|
|
Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |
The QVBoxLayout class lines up widgets vertically. More...
#include <qlayout.h>
Inherits QBoxLayout.
The QVBoxLayout class lines up widgets vertically.
This class is used to construct vertical box layout objects. See QBoxLayout for more details.
The simplest use of the class is like this:
QBoxLayout * l = new QVBoxLayout( widget ); l->addWidget( aWidget ); l->addWidget( anotherWidget );
See also QHBoxLayout, QGridLayout, the Layout overview, Widget Appearance and Style, and Layout Management.
The margin is the number of pixels between the edge of the widget and its managed children. The spacing is the default number of pixels between neighboring children. If spacing is -1 the value of margin is used for spacing.
The spacing is the default number of pixels between neighboring children. If spacing is -1, this QVBoxLayout will inherit its parent's spacing().
The spacing is the default number of pixels between neighboring children. If spacing is -1, this QVBoxLayout will inherit its parent's spacing().
The layout's widgets aren't destroyed.
This file is part of the Qt toolkit. Copyright © 1995-2007 Trolltech. All Rights Reserved.
Copyright © 2007 Trolltech | Trademarks | Qt 3.3.8
|