kalarm/lib
PackedLayout Class Reference
#include <packedlayout.h>
Inheritance diagram for PackedLayout:

Detailed Description
The PackedLayout class packs a group of widgets into rows.The widgets are arranged according to the total width available.
Definition at line 33 of file packedlayout.h.
Public Member Functions | |
| virtual void | addItem (QLayoutItem *item) |
| virtual int | count () const |
| virtual Qt::Orientations | expandingDirections () const |
| virtual bool | hasHeightForWidth () const |
| virtual int | heightForWidth (int w) const |
| virtual void | invalidate () |
| virtual QLayoutItem * | itemAt (int index) const |
| virtual QSize | minimumSize () const |
| PackedLayout (Qt::Alignment alignment) | |
| PackedLayout (QWidget *parent, Qt::Alignment alignment) | |
| virtual void | setGeometry (const QRect &r) |
| virtual QSize | sizeHint () const |
| virtual QLayoutItem * | takeAt (int index) |
| ~PackedLayout () | |
Constructor & Destructor Documentation
| PackedLayout::PackedLayout | ( | QWidget * | parent, | |
| Qt::Alignment | alignment | |||
| ) |
Constructor.
- Parameters:
-
parent the parent widget alignment how to align the widgets horizontally within the layout
Definition at line 24 of file packedlayout.cpp.
| PackedLayout::PackedLayout | ( | Qt::Alignment | alignment | ) | [explicit] |
Definition at line 31 of file packedlayout.cpp.
| PackedLayout::~PackedLayout | ( | ) |
Definition at line 38 of file packedlayout.cpp.
Member Function Documentation
| void PackedLayout::addItem | ( | QLayoutItem * | item | ) | [virtual] |
| virtual int PackedLayout::count | ( | ) | const [inline, virtual] |
Definition at line 46 of file packedlayout.h.
| virtual Qt::Orientations PackedLayout::expandingDirections | ( | ) | const [inline, virtual] |
Definition at line 53 of file packedlayout.h.
| virtual bool PackedLayout::hasHeightForWidth | ( | ) | const [inline, virtual] |
Definition at line 44 of file packedlayout.h.
| int PackedLayout::heightForWidth | ( | int | w | ) | const [virtual] |
Definition at line 65 of file packedlayout.cpp.
| virtual void PackedLayout::invalidate | ( | ) | [inline, virtual] |
Definition at line 54 of file packedlayout.h.
| QLayoutItem * PackedLayout::itemAt | ( | int | index | ) | const [virtual] |
Definition at line 53 of file packedlayout.cpp.
| QSize PackedLayout::minimumSize | ( | ) | const [virtual] |
Definition at line 82 of file packedlayout.cpp.
| void PackedLayout::setGeometry | ( | const QRect & | r | ) | [virtual] |
Definition at line 75 of file packedlayout.cpp.
| virtual QSize PackedLayout::sizeHint | ( | ) | const [inline, virtual] |
Definition at line 51 of file packedlayout.h.
| QLayoutItem * PackedLayout::takeAt | ( | int | index | ) | [virtual] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference