kexi
KexiFlowLayout Class Reference
#include <kexiflowlayout.h>
Inherits QLayout.
Detailed Description
a special "flow" layoutDefinition at line 27 of file kexiflowlayout.h.
Public Member Functions | |
KexiFlowLayout (QWidget *parent, int border=0, int space=-1, const char *name=0) | |
KexiFlowLayout (QLayout *parent, int space=-1, const char *name=0) | |
KexiFlowLayout (int space=-1, const char *name=0) | |
QPtrList< QWidget > * | widgetList () const |
void | setOrientation (Orientation orientation) |
Qt::Orientation | orientation () const |
void | setJustified (bool justify) |
bool | isJustified () const |
virtual void | addItem (QLayoutItem *item) |
virtual void | addSpacing (int size) |
virtual QLayoutIterator | iterator () |
virtual void | invalidate () |
virtual bool | hasHeightForWidth () const |
virtual int | heightForWidth (int width) const |
virtual QSize | sizeHint () const |
virtual QSize | minimumSize () const |
virtual QSizePolicy::ExpandData | expanding () const |
virtual bool | isEmpty () |
Protected Member Functions | |
virtual void | setGeometry (const QRect &) |
int | simulateLayout (const QRect &r) |
int | doHorizontalLayout (const QRect &, bool testonly=false) |
int | doVerticalLayout (const QRect &, bool testonly=false) |
Member Function Documentation
QPtrList< QWidget > * KexiFlowLayout::widgetList | ( | ) | const |
- Returns:
- the widgets in the order of the layout, ie as it is stored in m_list. You must delete the list after using it.
Definition at line 120 of file kexiflowlayout.cpp.
void KexiFlowLayout::setOrientation | ( | Orientation | orientation | ) | [inline] |
Sets layout's orientation to orientation. Default orientation is Vertical.
Definition at line 41 of file kexiflowlayout.h.
Qt::Orientation KexiFlowLayout::orientation | ( | ) | const [inline] |
int KexiFlowLayout::doHorizontalLayout | ( | const QRect & | r, | |
bool | testonly = false | |||
) | [protected] |
int KexiFlowLayout::doVerticalLayout | ( | const QRect & | r, | |
bool | testonly = false | |||
) | [protected] |
The documentation for this class was generated from the following files: