28 #ifndef RTABMAP_PROGRESSDIALOG_H_
29 #define RTABMAP_PROGRESSDIALOG_H_
31 #include "rtabmap/gui/rtabmap_gui_export.h"
48 ProgressDialog(QWidget *parent = 0, Qt::WindowFlags flags = Qt::WindowFlags());
52 void setValue(
int value);
53 int maximumSteps()
const;
54 void setMaximumSteps(
int steps);
55 void setAutoClose(
bool on,
int delayedClosingTimeSec = -1);
56 void setCancelButtonVisible(
bool visible);
63 virtual void closeEvent(QCloseEvent * event);
66 void appendText(
const QString & text ,
const QColor & color = Qt::black);
67 void incrementStep(
int steps = 1);