Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes
rtabmap::ProgressDialog Class Reference

#include <ProgressDialog.h>

List of all members.

Public Slots

void appendText (const QString &text, const QColor &color=Qt::black)
void clear ()
void incrementStep (int steps=1)
void resetProgress ()

Signals

void canceled ()

Public Member Functions

bool isCanceled () const
int maximumSteps () const
 ProgressDialog (QWidget *parent=0, Qt::WindowFlags flags=0)
void setAutoClose (bool on, int delayedClosingTimeMsec=-1)
void setCancelButtonVisible (bool visible)
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 cancel ()
void closeDialog ()

Private Attributes

QPushButton * _cancelButton
bool _canceled
QPushButton * _closeButton
QCheckBox * _closeWhenDoneCheckBox
int _delayedClosingTime
QTextEdit * _detailedText
QString _endMessage
QProgressBar * _progressBar
QLabel * _text

Detailed Description

Definition at line 43 of file ProgressDialog.h.


Constructor & Destructor Documentation

rtabmap::ProgressDialog::ProgressDialog ( QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

Definition at line 43 of file ProgressDialog.cpp.

Definition at line 83 of file ProgressDialog.cpp.


Member Function Documentation

void rtabmap::ProgressDialog::appendText ( const QString &  text,
const QColor &  color = Qt::black 
) [slot]

Definition at line 102 of file ProgressDialog.cpp.

void rtabmap::ProgressDialog::cancel ( ) [private, slot]

Definition at line 183 of file ProgressDialog.cpp.

Definition at line 148 of file ProgressDialog.cpp.

void rtabmap::ProgressDialog::closeDialog ( ) [private, slot]

Definition at line 162 of file ProgressDialog.cpp.

void rtabmap::ProgressDialog::closeEvent ( QCloseEvent *  event) [protected, virtual]

Definition at line 170 of file ProgressDialog.cpp.

void rtabmap::ProgressDialog::incrementStep ( int  steps = 1) [slot]

Definition at line 138 of file ProgressDialog.cpp.

bool rtabmap::ProgressDialog::isCanceled ( ) const [inline]

Definition at line 57 of file ProgressDialog.h.

Definition at line 129 of file ProgressDialog.cpp.

Definition at line 155 of file ProgressDialog.cpp.

void rtabmap::ProgressDialog::setAutoClose ( bool  on,
int  delayedClosingTimeMsec = -1 
)

Definition at line 88 of file ProgressDialog.cpp.

Definition at line 97 of file ProgressDialog.cpp.

void rtabmap::ProgressDialog::setEndMessage ( const QString &  message) [inline]

Definition at line 51 of file ProgressDialog.h.

Definition at line 133 of file ProgressDialog.cpp.

void rtabmap::ProgressDialog::setValue ( int  value)

Definition at line 112 of file ProgressDialog.cpp.


Member Data Documentation

Definition at line 80 of file ProgressDialog.h.

Definition at line 84 of file ProgressDialog.h.

QPushButton* rtabmap::ProgressDialog::_closeButton [private]

Definition at line 79 of file ProgressDialog.h.

Definition at line 81 of file ProgressDialog.h.

Definition at line 83 of file ProgressDialog.h.

Definition at line 77 of file ProgressDialog.h.

Definition at line 82 of file ProgressDialog.h.

QProgressBar* rtabmap::ProgressDialog::_progressBar [private]

Definition at line 78 of file ProgressDialog.h.

QLabel* rtabmap::ProgressDialog::_text [private]

Definition at line 76 of file ProgressDialog.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:42