#include <klfguiutil.h>


Public Member Functions | |
| KLFGridFlowLayout (int columns, QWidget *parent) | |
| virtual | ~KLFGridFlowLayout () |
| virtual int | ncolumns () const |
| virtual void | insertGridFlowWidget (QWidget *w, Qt::Alignment align=0) |
| void | clearAll () |
Protected Attributes | |
| QList< QWidget * > | mGridFlowWidgets |
| int | _ncols |
| int | _currow |
| int | _curcol |
Used eg. in KLF's color dialog to display the standard color panels
Be sure to insert items into the layout with insertGridFlowWidget()
Definition at line 381 of file klfguiutil.h.
| KLFGridFlowLayout::KLFGridFlowLayout | ( | int | columns, | |
| QWidget * | parent | |||
| ) |
| virtual KLFGridFlowLayout::~KLFGridFlowLayout | ( | ) | [inline, virtual] |
Definition at line 386 of file klfguiutil.h.
| virtual int KLFGridFlowLayout::ncolumns | ( | ) | const [inline, virtual] |
Definition at line 388 of file klfguiutil.h.
| void KLFGridFlowLayout::insertGridFlowWidget | ( | QWidget * | w, | |
| Qt::Alignment | align = 0 | |||
| ) | [virtual] |
Definition at line 222 of file klfcolorchooser.cpp.
References _curcol, _currow, _ncols, QGridLayout::addWidget(), QList::append(), and mGridFlowWidgets.
| void KLFGridFlowLayout::clearAll | ( | ) |
Definition at line 232 of file klfcolorchooser.cpp.
References _curcol, _currow, QList::clear(), mGridFlowWidgets, and QList::size().
QList<QWidget*> KLFGridFlowLayout::mGridFlowWidgets [protected] |
int KLFGridFlowLayout::_ncols [protected] |
Definition at line 396 of file klfguiutil.h.
Referenced by insertGridFlowWidget(), and KLFGridFlowLayout().
int KLFGridFlowLayout::_currow [protected] |
int KLFGridFlowLayout::_curcol [protected] |