casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
casa::QtBorderLayout Class Reference

#include <QtLayout.h>

List of all members.

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

Detailed Description

Definition at line 70 of file QtLayout.h.


Member Enumeration Documentation

Enumerator:
West 
North 
South 
East 
Center 

Definition at line 73 of file QtLayout.h.

Enumerator:
MinimumSize 
SizeHint 

Definition at line 104 of file QtLayout.h.


Constructor & Destructor Documentation

casa::QtBorderLayout::QtBorderLayout ( QWidget *  parent,
int  margin = 0,
int  spacing = -1 
)
casa::QtBorderLayout::QtBorderLayout ( int  spacing = -1)

Member Function Documentation

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]
Qt::Orientations casa::QtBorderLayout::expandingDirections ( ) const
QLayoutItem* casa::QtBorderLayout::itemAt ( int  index) const
void casa::QtBorderLayout::setGeometry ( const QRect &  rect)
QLayoutItem* casa::QtBorderLayout::takeAt ( int  index)

Member Data Documentation

Definition at line 107 of file QtLayout.h.


The documentation for this class was generated from the following file: