casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
casa::BorderLayout Class Reference

#include <tqlayout.h>

Inheritance diagram for casa::BorderLayout:

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)
casa::BorderLayout::~BorderLayout ( )

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
int casa::BorderLayout::count ( ) const
Qt::Orientations casa::BorderLayout::expandingDirections ( ) const
bool casa::BorderLayout::hasHeightForWidth ( ) const
QLayoutItem* casa::BorderLayout::itemAt ( int  index) const
QSize casa::BorderLayout::minimumSize ( ) const
void casa::BorderLayout::setGeometry ( const QRect &  rect)
QSize casa::BorderLayout::sizeHint ( ) const
QLayoutItem* casa::BorderLayout::takeAt ( int  index)

Member Data Documentation

QList<ItemWrapper *> casa::BorderLayout::list
private

Definition at line 79 of file tqlayout.h.


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