#include <Flag.h>
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 () |
Definition at line 99 of file Flag.h.
FlagLayout::FlagLayout | ( | QWidget * | parent, | |
int | margin = 0 , |
|||
int | spacing = -1 | |||
) |
FlagLayout::~FlagLayout | ( | ) |
Definition at line 356 of file Flag.cpp.
References RobotExample::l, and takeAt().
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 | ) |
void FlagLayout::addWidget | ( | QWidget * | widget, | |
Position | position | |||
) |
Qt::Orientations FlagLayout::expandingDirections | ( | ) | const |
Definition at line 373 of file Flag.cpp.
References Sketcher::Horizontal, and Sketcher::Vertical.
void FlagLayout::setGeometry | ( | const QRect & | rect | ) |
Definition at line 402 of file Flag.cpp.
References BottomLeft, BottomRight, TopLeft, and TopRight.
QLayoutItem * FlagLayout::takeAt | ( | int | index | ) |
Definition at line 456 of file Flag.cpp.
Referenced by ~FlagLayout().