#### PyKDE - Python Bindings for KDE

# class KDialog |
Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KDialog
Inherits | QDialog

### methods

- KDialog (parent = 0, name = 0, modal = 0, f = 0)

  returns a KDialog instance
  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0
  name | char | 0
  modal | bool | 0
  f | WFlags | 0

- KDialog (a0)

  returns a KDialog instance
  Argument | Type | Default
  --- | --- | ---
  a0 | KDialog |

- avoidArea (widget, area, screen = -1)

  returns (bool)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  widget | QWidget |
  area | QRect |
  screen | int | -1

- centerOnScreen (widget, screen = -1)

  returns nothing
  In versions KDE 3.1.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  widget | QWidget |
  screen | int | -1

- keyPressEvent (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | QKeyEvent |

- layoutHintChanged ()

  returns nothing

- marginHint ()

  returns (int)
  static

- polish ()

  returns nothing

- resizeLayout (widget, margin, spacing)

  returns nothing
  static
  Argument | Type | Default
  --- | --- | ---
  widget | QWidget |
  margin | int |
  spacing | int |

- resizeLayout (lay, margin, spacing)

  returns nothing
  static
  Argument | Type | Default
  --- | --- | ---
  lay | QLayoutItem |
  margin | int |
  spacing | int |

- setCaption (caption)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  caption | QString |

- setPlainCaption (caption)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  caption | QString |

- spacingHint ()

  returns (int)
  static