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

QVBoxLayout Class Reference

The QVBoxLayout class lines up widgets vertically. More...

#include <QVBoxLayout>

Inherits QBoxLayout.

Writable Properties

Public Functions

Public Slots

Signals

Static Public Members

Protected Functions


Detailed Description

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);
QVBox

See also QHBoxLayout, QGridLayout, and the Layout overview.


Member Function Documentation

QVBoxLayout::QVBoxLayout ()

Constructs a new vertical box. You must add it to another layout.

QVBoxLayout::QVBoxLayout ( QWidget * parent )

Constructs a new top-level vertical box with parent parent.

QVBoxLayout::QVBoxLayout ( QLayout * parentLayout )

Constructs a new vertical box and adds it to parentLayout.

QVBoxLayout::~QVBoxLayout ()

Destroys this box layout.

The layout's widgets aren't destroyed.


Copyright © 2004 Trolltech. Trademarks
Qt 4.0.0-tp2