# class KProgressDialog

#### PyKDE - Python Bindings for KDE

# class KProgressDialog

Table of contents
Modules
tdeui Classes
All Classes

Module | tdeui
Class | KProgressDialog
Inherits | KDialogBase

### methods

- KProgressDialog (parent = 0, name = 0, caption = TQString .null, text = TQString .null, modal = 0)

  returns a KProgressDialog instance

  Argument | Type | Default
  --- | --- | ---
  parent | TQWidget | 0
  name | char | 0
  caption | TQString | TQString .null
  text | TQString | TQString .null
  modal | bool | 0

- allowCancel ()

  returns (bool)

- autoClose ()

  returns (bool)

- autoReset ()

  returns (bool)

- buttonText ()

  returns (TQString)

- labelText ()

  returns (TQString)

- minimumDuration ()

  returns (int)

- progressBar ()

  returns (KProgress)

- setAllowCancel (allowCancel)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  allowCancel | bool |

- setAutoClose (close)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  close | bool |

- setAutoReset (autoReset)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  autoReset | bool |

- setButtonText (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | TQString |

- setLabel (text)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  text | TQString |

- setMinimumDuration (ms)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  ms | int |

- show ()

  returns nothing
  In versions KDE 3.5.3 and above only

- showCancelButton (show)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  show | bool |

- slotAutoActions (percentage)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  percentage | int |

- slotAutoShow ()

  returns nothing

- slotCancel ()

  returns nothing

- wasCancelled ()

  returns (bool)