kprogressbox.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
void showCancelButton(bool show)
Sets whether the cancel button is visible.
Definition: kprogressbox.cpp:215
void setButtonText(const TQString &)
Sets the text to appear on the cancel button.
Definition: kprogressbox.cpp:252
bool autoReset()
Returns true if the KProgressBox widget will be reset upon completion, or false otherwise.
Definition: kprogressbox.cpp:237
virtual void show()
Reimplemented for internal reasons, the API is not affected.
Definition: kprogressbox.cpp:307
void setAutoReset(bool autoReset)
Sets whether the dialog should reset the KProgressBox dialog back to 0 steps compelete when all steps...
Definition: kprogressbox.cpp:247
void setAutoClose(bool close)
Sets whether the dialog should close automagically when all the steps in the KProgressBox have been c...
Definition: kprogressbox.cpp:231
void setAllowTextEdit(bool allowTextEdit)
Sets whether or not the user can edit the text shown in the textbox.
Definition: kprogressbox.cpp:162
KProgress * progressBar()
Returns the KProgressBox used in this dialog.
Definition: kprogressbox.cpp:179
KProgressBoxDialog(TQWidget *parent=0, const char *name=0, const TQString &caption=TQString::null, const TQString &text=TQString::null, bool modal=false)
Constructs a KProgressBoxDialog.
Definition: kprogressbox.cpp:56
int minimumDuration() TDE_DEPRECATED
Returns the wait duration in milliseconds.
Definition: kprogressbox.cpp:146
bool wasCancelled()
Returns true if the dialog was closed or canceled before completion.
Definition: kprogressbox.cpp:121
TQString buttonText() TDE_DEPRECATED
Returns the text on the cancel button.
Definition: kprogressbox.cpp:259
void setAllowCancel(bool allowCancel)
Sets whether or not the user can cancel the process.
Definition: kprogressbox.cpp:156
void setMinimumDuration(int ms)
Set the minimum number of milliseconds to wait before actually showing the dialog.
Definition: kprogressbox.cpp:136
bool allowCancel() TDE_DEPRECATED
Returns true if the dialog can be canceled, false otherwise.
Definition: kprogressbox.cpp:169
bool autoClose()
Returns true if the dialog will close upon completion, or false otherwise.
Definition: kprogressbox.cpp:221
virtual void setProgress(int progress)
Set the current value of the progress bar to progress.
Definition: kprogress.cpp:74
virtual void setReadOnly(bool readOnly)
Reimplemented to set a proper "deactivated" background color.
Definition: ktextedit.cpp:309
static void setIcons(WId win, const TQPixmap &icon, const TQPixmap &miniIcon)