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) | |
| ~KHBox () | |
| virtual QSize | minimumSizeHint () const |
| void | setMargin (int margin) |
| void | setSpacing (int space) |
| void | setStretchFactor (QWidget *widget, int stretch) |
| virtual QSize | sizeHint () const |
Protected Member Functions | |
| KHBox (bool vertical, QWidget *parent) | |
| virtual void | childEvent (QChildEvent *ev) |
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.
KDE Horizontal Box containing three buttons
- See also:
- KVBox
Constructor & Destructor Documentation
| KHBox::KHBox | ( | QWidget * | parent = 0 | ) | [explicit] |
Member Function Documentation
| void KHBox::childEvent | ( | QChildEvent * | ev | ) | [protected, virtual] |
| QSize KHBox::minimumSizeHint | ( | ) | const [virtual] |
| void KHBox::setMargin | ( | int | margin | ) |
| void KHBox::setSpacing | ( | int | space | ) |
| void KHBox::setStretchFactor | ( | QWidget * | widget, |
| int | stretch | ||
| ) |
| QSize KHBox::sizeHint | ( | void | ) | const [virtual] |
The documentation for this class was generated from the following files:
KDE 4.6 API Reference