Changeset View
Changeset View
Standalone View
Standalone View
src/statusbar/CompoundProgressBar.h
Show All 39 Lines | 36 | public: | |||
---|---|---|---|---|---|
40 | 40 | | |||
41 | void addProgressBar( ProgressBar *progressBar, QObject *owner ); | 41 | void addProgressBar( ProgressBar *progressBar, QObject *owner ); | ||
42 | 42 | | |||
43 | void incrementProgress( const QObject *owner ); | 43 | void incrementProgress( const QObject *owner ); | ||
44 | void setProgressTotalSteps( const QObject *owner, int value ); | 44 | void setProgressTotalSteps( const QObject *owner, int value ); | ||
45 | void setProgressStatus( const QObject *owner, const QString &text ); | 45 | void setProgressStatus( const QObject *owner, const QString &text ); | ||
46 | void setProgress( const QObject *owner, int steps ); | 46 | void setProgress( const QObject *owner, int steps ); | ||
47 | 47 | | |||
48 | /* reimplemented from QWidget for correct positioning of progressDetailsWidget */ | | |||
49 | virtual void setParent( QWidget *parent ); | | |||
50 | | ||||
51 | /* reimplemented from QWidget to open/close the details widget */ | 48 | /* reimplemented from QWidget to open/close the details widget */ | ||
52 | virtual void mousePressEvent( QMouseEvent *event ); | 49 | virtual void mousePressEvent( QMouseEvent *event ); | ||
53 | 50 | | |||
54 | public Q_SLOTS: | 51 | public Q_SLOTS: | ||
55 | void endProgressOperation( QObject *owner ); | 52 | void endProgressOperation( QObject *owner ); | ||
56 | void slotIncrementProgress(); | 53 | void slotIncrementProgress(); | ||
57 | 54 | | |||
58 | Q_SIGNALS: | 55 | Q_SIGNALS: | ||
Show All 26 Lines |