KDEUI
Go to the documentation of this file. 20 #ifndef KPROGRESSDIALOG_H 21 #define KPROGRESSDIALOG_H 23 #include <QtGui/QProgressBar> 61 const QString& text = QString(), Qt::WindowFlags flags = 0);
73 QProgressBar *progressBar();
80 const QProgressBar *progressBar()
const;
87 void setLabelText(
const QString &text);
92 QString labelText()
const;
105 void setAllowCancel(
bool allowCancel);
110 bool allowCancel()
const;
120 void showCancelButton(
bool show);
128 void setAutoClose(
bool close);
134 bool autoClose()
const;
143 void setAutoReset(
bool autoReset);
149 bool autoReset()
const;
156 bool wasCancelled()
const;
186 void setMinimumDuration(
int ms);
192 int minimumDuration()
const;
194 virtual void reject();
197 virtual void showEvent(QShowEvent *event);
200 Q_PRIVATE_SLOT(d,
void slotAutoShow())
201 Q_PRIVATE_SLOT(d,
void slotAutoActions(
int percentage))
204 class KProgressDialogPrivate;
205 friend class KProgressDialogPrivate;
206 KProgressDialogPrivate *
const d;
A dialog base class with standard buttons and predefined layouts.
QString buttonText(ButtonCode id) const
Returns the text of any button.
A dialog with a progress bar.
void setButtonText(ButtonCode id, const QString &text)
Sets the text of any button.
KAction * close(const QObject *recvr, const char *slot, QObject *parent)
Close the current document.
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Wed Aug 22 2018 19:31:53 by
doxygen 1.8.14 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.