Gui::FlagLayout Class Reference

#include <Flag.h>

List of all members.

Public Types

enum  Position { TopLeft, TopRight, BottomLeft, BottomRight }

Public Member Functions

void add (QLayoutItem *item, Position position)
void addItem (QLayoutItem *item)
void addWidget (QWidget *widget, Position position)
int count () const
Qt::Orientations expandingDirections () const
 FlagLayout (int spacing=-1)
 FlagLayout (QWidget *parent, int margin=0, int spacing=-1)
bool hasHeightForWidth () const
QLayoutItem * itemAt (int index) const
QSize minimumSize () const
void setGeometry (const QRect &rect)
QSize sizeHint () const
QLayoutItem * takeAt (int index)
 ~FlagLayout ()

Detailed Description

Definition at line 99 of file Flag.h.


Member Enumeration Documentation

Enumerator:
TopLeft 
TopRight 
BottomLeft 
BottomRight 

Definition at line 102 of file Flag.h.


Constructor & Destructor Documentation

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

Definition at line 344 of file Flag.cpp.

FlagLayout::FlagLayout ( int  spacing = -1  ) 

Definition at line 351 of file Flag.cpp.

FlagLayout::~FlagLayout (  ) 

Definition at line 356 of file Flag.cpp.

References RobotExample::l, and takeAt().


Member Function Documentation

void FlagLayout::add ( QLayoutItem *  item,
Position  position 
)

Definition at line 465 of file Flag.cpp.

Referenced by addItem(), and addWidget().

void FlagLayout::addItem ( QLayoutItem *  item  ) 

Definition at line 363 of file Flag.cpp.

References add(), and TopLeft.

void FlagLayout::addWidget ( QWidget *  widget,
Position  position 
)

Definition at line 368 of file Flag.cpp.

References add().

int FlagLayout::count (  )  const

Definition at line 383 of file Flag.cpp.

Qt::Orientations FlagLayout::expandingDirections (  )  const

Definition at line 373 of file Flag.cpp.

References Sketcher::Horizontal, and Sketcher::Vertical.

bool FlagLayout::hasHeightForWidth (  )  const

Definition at line 378 of file Flag.cpp.

QLayoutItem * FlagLayout::itemAt ( int  index  )  const

Definition at line 388 of file Flag.cpp.

QSize FlagLayout::minimumSize (  )  const

Definition at line 397 of file Flag.cpp.

void FlagLayout::setGeometry ( const QRect &  rect  ) 

Definition at line 402 of file Flag.cpp.

References BottomLeft, BottomRight, TopLeft, and TopRight.

QSize FlagLayout::sizeHint (  )  const

Definition at line 451 of file Flag.cpp.

QLayoutItem * FlagLayout::takeAt ( int  index  ) 

Definition at line 456 of file Flag.cpp.

Referenced by ~FlagLayout().


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

Generated on Wed Nov 23 19:02:00 2011 for FreeCAD by  doxygen 1.6.1