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

#include <QtLayout.h>

Inheritance diagram for casa::QtBorderLayout:

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 69 of file QtLayout.h.

Member Enumeration Documentation

Enumerator
West 
North 
South 
East 
Center 

Definition at line 71 of file QtLayout.h.

Enumerator
MinimumSize 
SizeHint 

Definition at line 101 of file QtLayout.h.

Constructor & Destructor Documentation

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

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

Member Data Documentation

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

Definition at line 104 of file QtLayout.h.


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