lokalize
#include <flowlayout.h>

Public Types | |
| enum | User { glossary, webquery, standard } |
Public Member Functions | |
| FlowLayout (User user=standard, QWidget *signalingWidget=0, const QVector< KAction * > &actions=QVector< KAction * >(), int margin=0, int spacing=-1) | |
| ~FlowLayout () | |
| void | addItem (QLayoutItem *item) |
| void | addTerm (const QString &term, const QByteArray &entryId, bool capFirst=false) |
| void | clearTerms () |
| int | count () const |
| Qt::Orientations | expandingDirections () const |
| bool | hasHeightForWidth () const |
| int | heightForWidth (int) const |
| QLayoutItem * | itemAt (int index) const |
| QSize | minimumSize () const |
| void | setGeometry (const QRect &rect) |
| QSize | sizeHint () const |
| QLayoutItem * | takeAt (int index) |
Detailed Description
used in glossary and kross views
copied from 'pretty' docs
Definition at line 47 of file flowlayout.h.
Member Enumeration Documentation
| enum FlowLayout::User |
| Enumerator | |
|---|---|
| glossary | |
| webquery | |
| standard | |
Definition at line 51 of file flowlayout.h.
Constructor & Destructor Documentation
| FlowLayout::FlowLayout | ( | User | user = standard, |
| QWidget * | signalingWidget = 0, |
||
| const QVector< KAction * > & | actions = QVector<KAction*>(), |
||
| int | margin = 0, |
||
| int | spacing = -1 |
||
| ) |
c'tor for glossary view
Definition at line 44 of file flowlayout.cpp.
| FlowLayout::~FlowLayout | ( | ) |
Definition at line 93 of file flowlayout.cpp.
Member Function Documentation
| void FlowLayout::addItem | ( | QLayoutItem * | item | ) |
Definition at line 113 of file flowlayout.cpp.
| void FlowLayout::addTerm | ( | const QString & | term, |
| const QByteArray & | entryId, | ||
| bool | capFirst = false |
||
| ) |
- Parameters
-
term is the term matched entry is index of entry in the Glossary list
Definition at line 180 of file flowlayout.cpp.
| void FlowLayout::clearTerms | ( | ) |
Definition at line 171 of file flowlayout.cpp.
| int FlowLayout::count | ( | ) | const |
Definition at line 114 of file flowlayout.cpp.
| Qt::Orientations FlowLayout::expandingDirections | ( | ) | const |
Definition at line 115 of file flowlayout.cpp.
| bool FlowLayout::hasHeightForWidth | ( | ) | const |
Definition at line 116 of file flowlayout.cpp.
| int FlowLayout::heightForWidth | ( | int | width | ) | const |
Definition at line 118 of file flowlayout.cpp.
| QLayoutItem * FlowLayout::itemAt | ( | int | index | ) | const |
Definition at line 108 of file flowlayout.cpp.
| QSize FlowLayout::minimumSize | ( | ) | const |
Definition at line 135 of file flowlayout.cpp.
| void FlowLayout::setGeometry | ( | const QRect & | rect | ) |
Definition at line 124 of file flowlayout.cpp.
| QSize FlowLayout::sizeHint | ( | ) | const |
Definition at line 130 of file flowlayout.cpp.
| QLayoutItem * FlowLayout::takeAt | ( | int | index | ) |
Definition at line 100 of file flowlayout.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference