10 #ifndef PROGRESS_FRAME_H 11 #define PROGRESS_FRAME_H 22 #include <QWinTaskbarButton> 23 #include <QWinTaskbarProgress> 27 class QDialogButtonBox;
29 class QGraphicsOpacityEffect;
30 class QPropertyAnimation;
35 QWidget *top_level_window;
46 #ifdef QWINTASKBARPROGRESS_H 47 void enableTaskbarUpdates(
bool enable =
true) { update_taskbar_ = enable; }
49 static void addToButtonBox(QDialogButtonBox *button_box, QObject *main_window);
50 void captureFileClosing();
53 struct progdlg *showProgress(
bool animate,
bool terminate_is_stop, gboolean *stop_flag,
int value = 0);
54 struct progdlg *showBusy(
bool animate,
bool terminate_is_stop, gboolean *stop_flag);
55 void setValue(
int value);
59 void showRequested(
bool animate,
bool terminate_is_stop, gboolean *stop_flag);
60 void valueChanged(
int value);
61 void maximumValueChanged(
int value);
66 void timerEvent(QTimerEvent *event);
71 struct progdlg progress_dialog_;
74 bool terminate_is_stop_;
77 QGraphicsOpacityEffect *effect_;
78 QPropertyAnimation *animation_;
79 #ifdef QWINTASKBARPROGRESS_H 81 QWinTaskbarProgress *taskbar_progress_;
85 void on_stopButton_clicked();
87 void show(
bool animate,
bool terminate_is_stop, gboolean *stop_flag);
88 void setMaximumValue(
int value);
91 #endif // PROGRESS_FRAME_H Definition: ui_about_dialog.h:291
Definition: progress_frame.h:33
Definition: progress_frame.h:38
Definition: ui_progress_frame.h:70