KDEUI
kprogressdialog.h
Go to the documentation of this file.
void setButtonText(ButtonCode id, const QString &text)
Sets the text of any button.
Definition kdialog.cpp:719
void setAutoReset(bool autoReset)
Sets whether the dialog should reset the QProgressBar dialog back to 0 steps compelete when all steps...
Definition kprogressdialog.cpp:201
void ignoreCancel()
Ignores the last cancel action if the cancel button was pressed.
Definition kprogressdialog.cpp:129
QProgressBar * progressBar()
Returns the QProgressBar used in this dialog.
Definition kprogressdialog.cpp:161
bool allowCancel() const
Returns true if the dialog can be canceled, false otherwise.
Definition kprogressdialog.cpp:156
bool autoClose() const
Returns true if the dialog will close upon completion, or false otherwise.
Definition kprogressdialog.cpp:186
KProgressDialog(QWidget *parent=0, const QString &caption=QString(), const QString &text=QString(), Qt::WindowFlags flags=0)
Constructs a KProgressDialog.
Definition kprogressdialog.cpp:62
virtual void showEvent(QShowEvent *event)
Definition kprogressdialog.cpp:108
void setMinimumDuration(int ms)
Set the minimum number of milliseconds to wait before actually showing the dialog.
Definition kprogressdialog.cpp:134
void setAllowCancel(bool allowCancel)
Sets whether or not the user can cancel the process.
Definition kprogressdialog.cpp:150
bool wasCancelled() const
Returns true if the dialog was closed or canceled before completion.
Definition kprogressdialog.cpp:124
int minimumDuration() const
Returns the time that must pass before the dialog appears.
Definition kprogressdialog.cpp:145
void showCancelButton(bool show)
Sets whether the cancel button is visible.
Definition kprogressdialog.cpp:181
void setAutoClose(bool close)
Sets whether the dialog should close automagically when all the steps in the QProgressBar have been c...
Definition kprogressdialog.cpp:191
bool autoReset() const
Returns true if the QProgressBar widget will be reset upon completion, or false otherwise.
Definition kprogressdialog.cpp:196
void setLabelText(const QString &text)
Sets the text in the dialog.
Definition kprogressdialog.cpp:171
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.