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

#include <ParametersToolBox.h>

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

Signals

void parametersChanged (const QStringList &name)
 

Public Member Functions

const ParametersMapgetParameters () const
 
QWidget * getParameterWidget (const QString &key)
 
 ParametersToolBox (QWidget *parent=0)
 
void setupUi (const ParametersMap &parameters)
 
void updateParameter (const std::string &key, const std::string &value)
 
virtual ~ParametersToolBox ()
 

Private Slots

void changeParameter ()
 
void changeParameter (const QString &value)
 
void changeParameter (const int &value)
 
void resetAllPages ()
 
void resetCurrentPage ()
 

Private Member Functions

void addParameter (QVBoxLayout *layout, const std::string &key, const std::string &value)
 
void addParameter (QVBoxLayout *layout, const QString &key, const QString &value)
 
void addParameter (QVBoxLayout *layout, const QString &key, const int &value)
 
void addParameter (QVBoxLayout *layout, const QString &key, const double &value)
 
void addParameter (QVBoxLayout *layout, const QString &key, const bool &value)
 
void addParameter (QVBoxLayout *layout, const QString &name, QWidget *widget)
 
QStringList resetPage (int index)
 
void updateParametersVisibility ()
 

Private Attributes

QComboBox * comboBox_
 
ParametersMap parameters_
 
QStackedWidget * stackedWidget_
 

Detailed Description

Definition at line 47 of file ParametersToolBox.h.

Constructor & Destructor Documentation

◆ ParametersToolBox()

rtabmap::ParametersToolBox::ParametersToolBox ( QWidget *  parent = 0)

Definition at line 55 of file ParametersToolBox.cpp.

◆ ~ParametersToolBox()

rtabmap::ParametersToolBox::~ParametersToolBox ( )
virtual

Definition at line 71 of file ParametersToolBox.cpp.

Member Function Documentation

◆ addParameter() [1/6]

void rtabmap::ParametersToolBox::addParameter ( QVBoxLayout *  layout,
const std::string key,
const std::string value 
)
private

Definition at line 289 of file ParametersToolBox.cpp.

◆ addParameter() [2/6]

void rtabmap::ParametersToolBox::addParameter ( QVBoxLayout *  layout,
const QString &  key,
const QString &  value 
)
private

Definition at line 321 of file ParametersToolBox.cpp.

◆ addParameter() [3/6]

void rtabmap::ParametersToolBox::addParameter ( QVBoxLayout *  layout,
const QString &  key,
const int &  value 
)
private

Definition at line 420 of file ParametersToolBox.cpp.

◆ addParameter() [4/6]

void rtabmap::ParametersToolBox::addParameter ( QVBoxLayout *  layout,
const QString &  key,
const double &  value 
)
private

Definition at line 345 of file ParametersToolBox.cpp.

◆ addParameter() [5/6]

void rtabmap::ParametersToolBox::addParameter ( QVBoxLayout *  layout,
const QString &  key,
const bool &  value 
)
private

Definition at line 506 of file ParametersToolBox.cpp.

◆ addParameter() [6/6]

void rtabmap::ParametersToolBox::addParameter ( QVBoxLayout *  layout,
const QString &  name,
QWidget *  widget 
)
private

Definition at line 517 of file ParametersToolBox.cpp.

◆ changeParameter [1/3]

void rtabmap::ParametersToolBox::changeParameter ( )
privateslot

Definition at line 542 of file ParametersToolBox.cpp.

◆ changeParameter [2/3]

void rtabmap::ParametersToolBox::changeParameter ( const QString &  value)
privateslot

Definition at line 532 of file ParametersToolBox.cpp.

◆ changeParameter [3/3]

void rtabmap::ParametersToolBox::changeParameter ( const int &  value)
privateslot

Definition at line 567 of file ParametersToolBox.cpp.

◆ getParameters()

const ParametersMap& rtabmap::ParametersToolBox::getParameters ( ) const
inline

Definition at line 58 of file ParametersToolBox.h.

◆ getParameterWidget()

QWidget * rtabmap::ParametersToolBox::getParameterWidget ( const QString &  key)

Definition at line 75 of file ParametersToolBox.cpp.

◆ parametersChanged

void rtabmap::ParametersToolBox::parametersChanged ( const QStringList &  name)
signal

◆ resetAllPages

void rtabmap::ParametersToolBox::resetAllPages ( )
privateslot

Definition at line 148 of file ParametersToolBox.cpp.

◆ resetCurrentPage

void rtabmap::ParametersToolBox::resetCurrentPage ( )
privateslot

Definition at line 140 of file ParametersToolBox.cpp.

◆ resetPage()

QStringList rtabmap::ParametersToolBox::resetPage ( int  index)
private

Definition at line 80 of file ParametersToolBox.cpp.

◆ setupUi()

void rtabmap::ParametersToolBox::setupUi ( const ParametersMap parameters)

Definition at line 205 of file ParametersToolBox.cpp.

◆ updateParameter()

void rtabmap::ParametersToolBox::updateParameter ( const std::string key,
const std::string value 
)

Definition at line 244 of file ParametersToolBox.cpp.

◆ updateParametersVisibility()

void rtabmap::ParametersToolBox::updateParametersVisibility ( )
private

Definition at line 160 of file ParametersToolBox.cpp.

Member Data Documentation

◆ comboBox_

QComboBox* rtabmap::ParametersToolBox::comboBox_
private

Definition at line 83 of file ParametersToolBox.h.

◆ parameters_

ParametersMap rtabmap::ParametersToolBox::parameters_
private

Definition at line 85 of file ParametersToolBox.h.

◆ stackedWidget_

QStackedWidget* rtabmap::ParametersToolBox::stackedWidget_
private

Definition at line 84 of file ParametersToolBox.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