#include <ProgressDialog.h>
Public Slots | |
void | appendText (const QString &text, const QColor &color=Qt::black) |
void | clear () |
void | incrementStep () |
void | resetProgress () |
Public Member Functions | |
int | maximumSteps () const |
ProgressDialog (QWidget *parent=0, Qt::WindowFlags flags=0) | |
void | setAutoClose (bool on, int delayedClosingTimeMsec=-1) |
void | setEndMessage (const QString &message) |
void | setMaximumSteps (int steps) |
void | setValue (int value) |
virtual | ~ProgressDialog () |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *event) |
Private Slots | |
void | closeDialog () |
Private Attributes | |
QPushButton * | _closeButton |
QCheckBox * | _closeWhenDoneCheckBox |
int | _delayedClosingTime |
QTextEdit * | _detailedText |
QString | _endMessage |
QProgressBar * | _progressBar |
QLabel * | _text |
Definition at line 43 of file ProgressDialog.h.
rtabmap::ProgressDialog::ProgressDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | flags = 0 |
||
) |
Definition at line 43 of file ProgressDialog.cpp.
rtabmap::ProgressDialog::~ProgressDialog | ( | ) | [virtual] |
Definition at line 76 of file ProgressDialog.cpp.
void rtabmap::ProgressDialog::appendText | ( | const QString & | text, |
const QColor & | color = Qt::black |
||
) | [slot] |
Definition at line 90 of file ProgressDialog.cpp.
void rtabmap::ProgressDialog::clear | ( | ) | [slot] |
Definition at line 135 of file ProgressDialog.cpp.
void rtabmap::ProgressDialog::closeDialog | ( | ) | [private, slot] |
Definition at line 149 of file ProgressDialog.cpp.
void rtabmap::ProgressDialog::closeEvent | ( | QCloseEvent * | event | ) | [protected, virtual] |
Definition at line 157 of file ProgressDialog.cpp.
void rtabmap::ProgressDialog::incrementStep | ( | ) | [slot] |
Definition at line 125 of file ProgressDialog.cpp.
int rtabmap::ProgressDialog::maximumSteps | ( | ) | const |
Definition at line 116 of file ProgressDialog.cpp.
void rtabmap::ProgressDialog::resetProgress | ( | ) | [slot] |
Definition at line 143 of file ProgressDialog.cpp.
void rtabmap::ProgressDialog::setAutoClose | ( | bool | on, |
int | delayedClosingTimeMsec = -1 |
||
) |
Definition at line 81 of file ProgressDialog.cpp.
void rtabmap::ProgressDialog::setEndMessage | ( | const QString & | message | ) | [inline] |
Definition at line 51 of file ProgressDialog.h.
void rtabmap::ProgressDialog::setMaximumSteps | ( | int | steps | ) |
Definition at line 120 of file ProgressDialog.cpp.
void rtabmap::ProgressDialog::setValue | ( | int | value | ) |
Definition at line 99 of file ProgressDialog.cpp.
QPushButton* rtabmap::ProgressDialog::_closeButton [private] |
Definition at line 73 of file ProgressDialog.h.
QCheckBox* rtabmap::ProgressDialog::_closeWhenDoneCheckBox [private] |
Definition at line 74 of file ProgressDialog.h.
int rtabmap::ProgressDialog::_delayedClosingTime [private] |
Definition at line 76 of file ProgressDialog.h.
QTextEdit* rtabmap::ProgressDialog::_detailedText [private] |
Definition at line 71 of file ProgressDialog.h.
QString rtabmap::ProgressDialog::_endMessage [private] |
Definition at line 75 of file ProgressDialog.h.
QProgressBar* rtabmap::ProgressDialog::_progressBar [private] |
Definition at line 72 of file ProgressDialog.h.
QLabel* rtabmap::ProgressDialog::_text [private] |
Definition at line 70 of file ProgressDialog.h.