kprogress.cpp
A dialog base class with standard buttons and predefined layouts.
Definition: kdialogbase.h:192
virtual void slotCancel()
Activated when the Cancel button has been clicked.
Definition: kdialogbase.cpp:1215
void setButtonCancel(const KGuiItem &item=KStdGuiItem::cancel())
Sets the appearance of the Cancel button.
Definition: kdialogbase.cpp:970
void showButton(ButtonCode id, bool state)
Hide or display a general action button.
Definition: kdialogbase.cpp:866
TQFrame * plainPage()
Retrieve the empty page when the predefined layout is used in Plain mode.
Definition: kdialogbase.cpp:420
TQPushButton * actionButton(ButtonCode id)
Returns the action button that corresponds to the id.
Definition: kdialogbase.cpp:832
bool autoClose()
Returns true if the dialog will close upon completion, or false otherwise.
Definition: kprogress.cpp:315
void setAutoReset(bool autoReset)
Sets whether the dialog should reset the KProgress dialog back to 0 steps compelete when all steps ha...
Definition: kprogress.cpp:341
bool allowCancel() TDE_DEPRECATED
Returns true if the dialog can be canceled, false otherwise.
Definition: kprogress.cpp:273
KProgressDialog(TQWidget *parent=0, const char *name=0, const TQString &caption=TQString::null, const TQString &text=TQString::null, bool modal=false)
Constructs a KProgressDialog.
Definition: kprogress.cpp:169
virtual void show()
Reimplemented for internal reasons, the API is not affected.
Definition: kprogress.cpp:401
void setMinimumDuration(int ms)
Set the minimum number of milliseconds to wait before actually showing the dialog.
Definition: kprogress.cpp:246
TQString buttonText() TDE_DEPRECATED
Returns the text on the cancel button.
Definition: kprogress.cpp:353
void setAllowCancel(bool allowCancel)
Sets whether or not the user can cancel the process.
Definition: kprogress.cpp:266
bool wasCancelled()
Returns true if the dialog was closed or canceled before completion.
Definition: kprogress.cpp:231
bool autoReset()
Returns true if the KProgress widget will be reset upon completion, or false otherwise.
Definition: kprogress.cpp:331
void showCancelButton(bool show)
Sets whether the cancel button is visible.
Definition: kprogress.cpp:309
void setAutoClose(bool close)
Sets whether the dialog should close automagically when all the steps in the KProgress have been comp...
Definition: kprogress.cpp:325
void setButtonText(const TQString &)
Sets the text to appear on the cancel button.
Definition: kprogress.cpp:346
int minimumDuration() TDE_DEPRECATED
Returns the wait duration in milliseconds.
Definition: kprogress.cpp:256
bool textEnabled() const
Returns true if progress text will be displayed, false otherwise.
Definition: kprogress.cpp:107
void setTextEnabled(bool)
If this is set to true, the progress text will be displayed.
Definition: kprogress.cpp:102
void setFormat(const TQString &format)
Set the format of the text to use to display status.
Definition: kprogress.cpp:112
KProgress(TQWidget *parent=0, const char *name=0, WFlags f=0)
Construct a progress bar.
Definition: kprogress.cpp:41
virtual void setProgress(int progress)
Set the current value of the progress bar to progress.
Definition: kprogress.cpp:74
void setTotalSteps(int totalSteps)
Set the current total number of steps in the action that the progress bar is representing.
Definition: kprogress.cpp:64
void percentageChanged(int)
Emitted when the state of the progress bar changes.
TQString format() const
Retrieve the current format for printing status text.
Definition: kprogress.cpp:119
static void setIcons(WId win, const TQPixmap &icon, const TQPixmap &miniIcon)