KHBox Class Reference
from PyKDE4.kdeui import *
Inherits: QFrame → QWidget → QObject
Subclasses: KVBox
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
Method Documentation
| __init__ | ( | self, |  | 
|  |  | QWidget | parent=0 | 
|  | ) |  |  |  | 
 
 
| __init__ | ( | self, |  | 
|  |  | bool | vertical, | 
|  |  | QWidget | parent | 
|  | ) |  |  |  | 
 
 
| __init__ | ( | self, |  | 
|  |  | KHBox | a0 | 
|  | ) |  |  |  | 
 
 
| QSize minimumSizeHint | ( |  | self ) |  | 
 
 
| setMargin | ( | self, |  | 
|  |  | int | margin | 
|  | ) |  |  |  | 
 
Sets the margin of the hbox.
 
| setSpacing | ( | self, |  | 
|  |  | int | space | 
|  | ) |  |  |  | 
 
Sets the spacing between the child widgets to space.
To get the default layout spacing, set space to -1.
 
| setStretchFactor | ( | self, |  | 
|  |  | QWidget | widget, | 
|  |  | int | stretch | 
|  | ) |  |  |  |