kexi

KexiFlowLayout Class Reference

#include <kexiflowlayout.h>

List of all members.


Detailed Description

a special "flow" layout

Definition 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)
 ~KexiFlowLayout ()
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]

Returns:
layout's orientation.

Definition at line 44 of file kexiflowlayout.h.

int KexiFlowLayout::doHorizontalLayout ( const QRect &  ,
bool  testonly = false 
) [protected]

Definition at line 221 of file kexiflowlayout.cpp.

int KexiFlowLayout::doVerticalLayout ( const QRect &  ,
bool  testonly = false 
) [protected]

Definition at line 338 of file kexiflowlayout.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys