# class KHBox

###

Module | kdeui
Namespace |
Class | KHBox
Inherits | QFrame

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.

See also KVBox

### methods

- KHBox (parent)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0

  Creates a new hbox.

- KHBox (vertical, parent)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  vertical | bool |
  parent | QWidget |

- KHBox (a0)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  a0 | KHBox |

- KHBox (a0)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget | 0

- childEvent (ev)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  ev | QChildEvent |

- minimumSizeHint ( )

  returns QSize

- setMargin (margin)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  margin | int |

  Sets the margin of the hbox.

- setSpacing (space)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  space | int |

  Sets the spacing between the child widgets to space

- setStretchFactor (widget, stretch)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  widget | QWidget |
  stretch | int |

- sizeHint ( )

  returns QSize