42 #ifndef QPROGRESSDIALOG_H 43 #define QPROGRESSDIALOG_H 45 #include <QtGui/qdialog.h> 53 #ifndef QT_NO_PROGRESSDIALOG 77 int minimum,
int maximum,
QWidget *parent = 0,
Qt::WindowFlags flags = 0);
80 void setLabel(
QLabel *label);
84 bool wasCanceled() const;
91 QSize sizeHint() const;
94 int minimumDuration() const;
96 void setAutoReset(
bool reset);
97 bool autoReset() const;
98 void setAutoClose(
bool close);
99 bool autoClose() const;
101 #ifdef Q_NO_USING_KEYWORD 113 void setMaximum(
int maximum);
114 void setMinimum(
int minimum);
115 void setRange(
int minimum,
int maximum);
116 void setValue(
int progress);
118 void setCancelButtonText(
const QString &text);
119 void setMinimumDuration(
int ms);
139 #endif // QT_NO_PROGRESSDIALOG 145 #endif // QPROGRESSDIALOG_H #define QT_END_NAMESPACE
This macro expands to.
The QDialog class is the base class of dialog windows.
Q_CORE_EXPORT QTextStream & reset(QTextStream &s)
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define Q_PRIVATE_SLOT(d, signature)
void showEvent(QShowEvent *)
This event handler can be reimplemented in a subclass to receive widget show events which are passed ...
The QProgressBar widget provides a horizontal or vertical progress bar.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
void resizeEvent(QResizeEvent *)
Reimplemented Function
#define QT_BEGIN_NAMESPACE
This macro expands to.
void closeEvent(QCloseEvent *)
Reimplemented Function
The QResizeEvent class contains event parameters for resize events.
The QShowEvent class provides an event that is sent when a widget is shown.
The QProgressDialog class provides feedback on the progress of a slow operation.
The QLabel widget provides a text or image display.
void open()
Shows the dialog as a window modal dialog, returning immediately.
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
The QTimer class provides repetitive and single-shot timers.
The QEvent class is the base class of all event classes.
The QCloseEvent class contains parameters that describe a close event.