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::BorderLayout Class Reference

#include <tqlayout.h>

List of all members.

Classes

struct  ItemWrapper

Public Types

enum  Position {
  West,
  North,
  South,
  East,
  Center
}

Public Member Functions

 BorderLayout (QWidget *parent, int margin=0, int spacing=-1)
 BorderLayout (int spacing=-1)
 ~BorderLayout ()
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 42 of file tqlayout.h.


Member Enumeration Documentation

Enumerator:
West 
North 
South 
East 
Center 

Definition at line 45 of file tqlayout.h.

Enumerator:
MinimumSize 
SizeHint 

Definition at line 76 of file tqlayout.h.


Constructor & Destructor Documentation

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

Member Function Documentation

void casa::BorderLayout::add ( QLayoutItem *  item,
Position  position 
)
void casa::BorderLayout::addItem ( QLayoutItem *  item)
void casa::BorderLayout::addWidget ( QWidget *  widget,
Position  position 
)
QSize casa::BorderLayout::calculateSize ( SizeType  sizeType) const [private]
Qt::Orientations casa::BorderLayout::expandingDirections ( ) const
QLayoutItem* casa::BorderLayout::itemAt ( int  index) const
void casa::BorderLayout::setGeometry ( const QRect &  rect)
QLayoutItem* casa::BorderLayout::takeAt ( int  index)

Member Data Documentation

Definition at line 79 of file tqlayout.h.


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