Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
rtabmap::ProgressDialog Class Reference

#include <ProgressDialog.h>

Inheritance diagram for rtabmap::ProgressDialog:
Inheritance graph
[legend]

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.

rtabmap::ProgressDialog::~ProgressDialog ( )
virtual

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 ( )
privateslot

Definition at line 183 of file ProgressDialog.cpp.

void rtabmap::ProgressDialog::canceled ( )
signal
void rtabmap::ProgressDialog::clear ( )
slot

Definition at line 148 of file ProgressDialog.cpp.

void rtabmap::ProgressDialog::closeDialog ( )
privateslot

Definition at line 162 of file ProgressDialog.cpp.

void rtabmap::ProgressDialog::closeEvent ( QCloseEvent *  event)
protectedvirtual

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.

int rtabmap::ProgressDialog::maximumSteps ( ) const

Definition at line 129 of file ProgressDialog.cpp.

void rtabmap::ProgressDialog::resetProgress ( )
slot

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.

void rtabmap::ProgressDialog::setCancelButtonVisible ( bool  visible)

Definition at line 97 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 133 of file ProgressDialog.cpp.

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

Definition at line 112 of file ProgressDialog.cpp.

Member Data Documentation

QPushButton* rtabmap::ProgressDialog::_cancelButton
private

Definition at line 80 of file ProgressDialog.h.

bool rtabmap::ProgressDialog::_canceled
private

Definition at line 84 of file ProgressDialog.h.

QPushButton* rtabmap::ProgressDialog::_closeButton
private

Definition at line 79 of file ProgressDialog.h.

QCheckBox* rtabmap::ProgressDialog::_closeWhenDoneCheckBox
private

Definition at line 81 of file ProgressDialog.h.

int rtabmap::ProgressDialog::_delayedClosingTime
private

Definition at line 83 of file ProgressDialog.h.

QTextEdit* rtabmap::ProgressDialog::_detailedText
private

Definition at line 77 of file ProgressDialog.h.

QString rtabmap::ProgressDialog::_endMessage
private

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 Mon Dec 14 2020 03:37:09