#include <ParametersToolBox.h>
Signals | |
void | parametersChanged (const QStringList &name) |
Public Member Functions | |
const ParametersMap & | getParameters () const |
QWidget * | getParameterWidget (const QString &key) |
ParametersToolBox (QWidget *parent=0) | |
void | setupUi (const ParametersMap ¶meters) |
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_ |
Definition at line 47 of file ParametersToolBox.h.
rtabmap::ParametersToolBox::ParametersToolBox | ( | QWidget * | parent = 0 | ) |
Definition at line 55 of file ParametersToolBox.cpp.
rtabmap::ParametersToolBox::~ParametersToolBox | ( | ) | [virtual] |
Definition at line 71 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::addParameter | ( | QVBoxLayout * | layout, |
const std::string & | key, | ||
const std::string & | value | ||
) | [private] |
Definition at line 289 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::addParameter | ( | QVBoxLayout * | layout, |
const QString & | key, | ||
const QString & | value | ||
) | [private] |
Definition at line 321 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::addParameter | ( | QVBoxLayout * | layout, |
const QString & | key, | ||
const int & | value | ||
) | [private] |
Definition at line 420 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::addParameter | ( | QVBoxLayout * | layout, |
const QString & | key, | ||
const double & | value | ||
) | [private] |
Definition at line 345 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::addParameter | ( | QVBoxLayout * | layout, |
const QString & | key, | ||
const bool & | value | ||
) | [private] |
Definition at line 506 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::addParameter | ( | QVBoxLayout * | layout, |
const QString & | name, | ||
QWidget * | widget | ||
) | [private] |
Definition at line 517 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::changeParameter | ( | ) | [private, slot] |
Definition at line 540 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::changeParameter | ( | const QString & | value | ) | [private, slot] |
Definition at line 530 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::changeParameter | ( | const int & | value | ) | [private, slot] |
Definition at line 565 of file ParametersToolBox.cpp.
const ParametersMap& rtabmap::ParametersToolBox::getParameters | ( | ) | const [inline] |
Definition at line 58 of file ParametersToolBox.h.
QWidget * rtabmap::ParametersToolBox::getParameterWidget | ( | const QString & | key | ) |
Definition at line 75 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::parametersChanged | ( | const QStringList & | name | ) | [signal] |
void rtabmap::ParametersToolBox::resetAllPages | ( | ) | [private, slot] |
Definition at line 148 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::resetCurrentPage | ( | ) | [private, slot] |
Definition at line 140 of file ParametersToolBox.cpp.
QStringList rtabmap::ParametersToolBox::resetPage | ( | int | index | ) | [private] |
Definition at line 80 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::setupUi | ( | const ParametersMap & | parameters | ) |
Definition at line 205 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::updateParameter | ( | const std::string & | key, |
const std::string & | value | ||
) |
Definition at line 244 of file ParametersToolBox.cpp.
void rtabmap::ParametersToolBox::updateParametersVisibility | ( | ) | [private] |
Definition at line 160 of file ParametersToolBox.cpp.
QComboBox* rtabmap::ParametersToolBox::comboBox_ [private] |
Definition at line 83 of file ParametersToolBox.h.
Definition at line 85 of file ParametersToolBox.h.
QStackedWidget* rtabmap::ParametersToolBox::stackedWidget_ [private] |
Definition at line 84 of file ParametersToolBox.h.