KDEUI
KHBox Class Reference
#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
|
explicit |
Member Function Documentation
|
protectedvirtual |
|
virtual |
void KHBox::setMargin | ( | int | margin | ) |
void KHBox::setSpacing | ( | int | space | ) |
void KHBox::setStretchFactor | ( | QWidget * | widget, |
int | stretch | ||
) |
|
virtual |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.