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 delayedClosingTimeSec=-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

◆ ProgressDialog()

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

Definition at line 43 of file ProgressDialog.cpp.

◆ ~ProgressDialog()

rtabmap::ProgressDialog::~ProgressDialog ( )
virtual

Definition at line 83 of file ProgressDialog.cpp.

Member Function Documentation

◆ appendText

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

Definition at line 102 of file ProgressDialog.cpp.

◆ cancel

void rtabmap::ProgressDialog::cancel ( )
privateslot

Definition at line 183 of file ProgressDialog.cpp.

◆ canceled

void rtabmap::ProgressDialog::canceled ( )
signal

◆ clear

void rtabmap::ProgressDialog::clear ( )
slot

Definition at line 148 of file ProgressDialog.cpp.

◆ closeDialog

void rtabmap::ProgressDialog::closeDialog ( )
privateslot

Definition at line 162 of file ProgressDialog.cpp.

◆ closeEvent()

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

Definition at line 170 of file ProgressDialog.cpp.

◆ incrementStep

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

Definition at line 138 of file ProgressDialog.cpp.

◆ isCanceled()

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

Definition at line 57 of file ProgressDialog.h.

◆ maximumSteps()

int rtabmap::ProgressDialog::maximumSteps ( ) const

Definition at line 129 of file ProgressDialog.cpp.

◆ resetProgress

void rtabmap::ProgressDialog::resetProgress ( )
slot

Definition at line 155 of file ProgressDialog.cpp.

◆ setAutoClose()

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

Definition at line 88 of file ProgressDialog.cpp.

◆ setCancelButtonVisible()

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

Definition at line 97 of file ProgressDialog.cpp.

◆ setEndMessage()

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

Definition at line 51 of file ProgressDialog.h.

◆ setMaximumSteps()

void rtabmap::ProgressDialog::setMaximumSteps ( int  steps)

Definition at line 133 of file ProgressDialog.cpp.

◆ setValue()

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

Definition at line 112 of file ProgressDialog.cpp.

Member Data Documentation

◆ _cancelButton

QPushButton* rtabmap::ProgressDialog::_cancelButton
private

Definition at line 80 of file ProgressDialog.h.

◆ _canceled

bool rtabmap::ProgressDialog::_canceled
private

Definition at line 84 of file ProgressDialog.h.

◆ _closeButton

QPushButton* rtabmap::ProgressDialog::_closeButton
private

Definition at line 79 of file ProgressDialog.h.

◆ _closeWhenDoneCheckBox

QCheckBox* rtabmap::ProgressDialog::_closeWhenDoneCheckBox
private

Definition at line 81 of file ProgressDialog.h.

◆ _delayedClosingTime

int rtabmap::ProgressDialog::_delayedClosingTime
private

Definition at line 83 of file ProgressDialog.h.

◆ _detailedText

QTextEdit* rtabmap::ProgressDialog::_detailedText
private

Definition at line 77 of file ProgressDialog.h.

◆ _endMessage

QString rtabmap::ProgressDialog::_endMessage
private

Definition at line 82 of file ProgressDialog.h.

◆ _progressBar

QProgressBar* rtabmap::ProgressDialog::_progressBar
private

Definition at line 78 of file ProgressDialog.h.

◆ _text

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 Jan 23 2023 03:39:00