44#ifdef QWINTASKBARPROGRESS_H
45 void enableTaskbarUpdates(
bool enable =
true) { update_taskbar_ = enable; }
47 static void addToButtonBox(QDialogButtonBox *button_box, QObject *main_window);
48 void captureFileClosing();
51 struct progdlg *showProgress(
const QString &title,
bool animate,
bool terminate_is_stop,
bool *stop_flag,
int value = 0);
52 struct progdlg *showBusy(
bool animate,
bool terminate_is_stop,
bool *stop_flag);
53 void setValue(
int value);
57 void showRequested(
bool animate,
bool terminate_is_stop,
bool *stop_flag);
58 void valueChanged(
int value);
59 void maximumValueChanged(
int value);
64 void timerEvent(QTimerEvent *event);
67 Ui::ProgressFrame *ui;
69 struct progdlg progress_dialog_;
72 bool terminate_is_stop_;
75 QGraphicsOpacityEffect *effect_;
76 QPropertyAnimation *animation_;
77#ifdef QWINTASKBARPROGRESS_H
79 QWinTaskbarProgress *taskbar_progress_;
83 void on_stopButton_clicked();
85 void show(
bool animate,
bool terminate_is_stop,
bool *stop_flag);
86 void setMaximumValue(
int value);