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;
168 void setButtonText(
const QString &text);
173 QString buttonText()
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.
A dialog with a progress bar.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.