KDEUI
KHBox Class Reference
A container widget which arranges its children horizontally. More...
#include <khbox.h>
Inheritance diagram for KHBox:
Public Member Functions | |
| KHBox (QWidget *parent=0) | |
| virtual QSize | minimumSizeHint () const |
| void | setMargin (int margin) |
| void | setSpacing (int space) |
| void | setStretchFactor (QWidget *widget, int stretch) |
| virtual QSize | sizeHint () const |
| ~KHBox () | |
Protected Member Functions | |
| virtual void | childEvent (QChildEvent *ev) |
| KHBox (bool vertical, QWidget *parent) | |
Detailed Description
A container widget which arranges its children horizontally.
When using a KHBox you don't need to create a layout nor to add the child widgets to it.
Both margin and spacing are initialized to 0. Use QHBoxLayout if you need standard layout margins.
- See also:
- KVBox
Definition at line 38 of file khbox.h.
Constructor & Destructor Documentation
| KHBox::KHBox | ( | QWidget * | parent = 0 |
) | [explicit] |
Member Function Documentation
| void KHBox::childEvent | ( | QChildEvent * | ev | ) | [protected, virtual] |
| void KHBox::setMargin | ( | int | margin | ) |
| void KHBox::setSpacing | ( | int | space | ) |
| void KHBox::setStretchFactor | ( | QWidget * | widget, | |
| int | stretch | |||
| ) |
The documentation for this class was generated from the following files:
KDE 4.3 API Reference