casa
$Rev:20696$
|
#include <QtLayout.h>
Classes | |
struct | ItemWrapper |
Public Types | |
enum | Position { West, North, South, East, Center } |
Public Member Functions | |
QtBorderLayout (QWidget *parent, int margin=0, int spacing=-1) | |
QtBorderLayout (int spacing=-1) | |
~QtBorderLayout () | |
void | addItem (QLayoutItem *item) |
void | addWidget (QWidget *widget, Position position) |
Qt::Orientations | expandingDirections () const |
bool | hasHeightForWidth () const |
int | count () const |
QLayoutItem * | itemAt (int index) const |
QSize | minimumSize () const |
void | setGeometry (const QRect &rect) |
QSize | sizeHint () const |
QLayoutItem * | takeAt (int index) |
void | add (QLayoutItem *item, Position position) |
Private Types | |
enum | SizeType { MinimumSize, SizeHint } |
Private Member Functions | |
QSize | calculateSize (SizeType sizeType) const |
Private Attributes | |
QList< ItemWrapper * > | list |
Definition at line 70 of file QtLayout.h.
Definition at line 73 of file QtLayout.h.
enum casa::QtBorderLayout::SizeType [private] |
Definition at line 104 of file QtLayout.h.
casa::QtBorderLayout::QtBorderLayout | ( | QWidget * | parent, |
int | margin = 0 , |
||
int | spacing = -1 |
||
) |
casa::QtBorderLayout::QtBorderLayout | ( | int | spacing = -1 | ) |
void casa::QtBorderLayout::add | ( | QLayoutItem * | item, |
Position | position | ||
) |
void casa::QtBorderLayout::addItem | ( | QLayoutItem * | item | ) |
void casa::QtBorderLayout::addWidget | ( | QWidget * | widget, |
Position | position | ||
) |
QSize casa::QtBorderLayout::calculateSize | ( | SizeType | sizeType | ) | const [private] |
int casa::QtBorderLayout::count | ( | ) | const |
Qt::Orientations casa::QtBorderLayout::expandingDirections | ( | ) | const |
bool casa::QtBorderLayout::hasHeightForWidth | ( | ) | const |
QLayoutItem* casa::QtBorderLayout::itemAt | ( | int | index | ) | const |
QSize casa::QtBorderLayout::minimumSize | ( | ) | const |
void casa::QtBorderLayout::setGeometry | ( | const QRect & | rect | ) |
QSize casa::QtBorderLayout::sizeHint | ( | ) | const |
QLayoutItem* casa::QtBorderLayout::takeAt | ( | int | index | ) |
QList<ItemWrapper *> casa::QtBorderLayout::list [private] |
Definition at line 107 of file QtLayout.h.