#include <StatsToolBox.h>
Public Slots | |
void | updateMenu (const QMenu *menu) |
Signals | |
void | plotRequested (const StatItem *, const QString &) |
void | valueAdded (float) |
void | valueAdded (float, float) |
void | valuesChanged (const std::vector< float > &, const std::vector< float > &) |
Public Member Functions | |
void | addValue (float y) |
void | addValue (float x, float y) |
void | setValues (const std::vector< float > &x, const std::vector< float > &y) |
StatItem (const QString &name, const std::vector< float > &x, const std::vector< float > &y, const QString &unit=QString(), const QMenu *menu=0, QGridLayout *grid=0, QWidget *parent=0) | |
QString | value () const |
virtual | ~StatItem () |
Private Slots | |
void | preparePlotRequest () |
Private Member Functions | |
void | setupUi (QGridLayout *grid) |
Private Attributes | |
QToolButton * | _button |
QMenu * | _menu |
QLabel * | _name |
QLabel * | _unit |
QLabel * | _value |
Definition at line 44 of file StatsToolBox.h.
rtabmap::StatItem::StatItem | ( | const QString & | name, |
const std::vector< float > & | x, | ||
const std::vector< float > & | y, | ||
const QString & | unit = QString() , |
||
const QMenu * | menu = 0 , |
||
QGridLayout * | grid = 0 , |
||
QWidget * | parent = 0 |
||
) |
Definition at line 47 of file StatsToolBox.cpp.
rtabmap::StatItem::~StatItem | ( | ) | [virtual] |
Definition at line 69 of file StatsToolBox.cpp.
void rtabmap::StatItem::addValue | ( | float | y | ) |
Definition at line 74 of file StatsToolBox.cpp.
void rtabmap::StatItem::addValue | ( | float | x, |
float | y | ||
) |
Definition at line 80 of file StatsToolBox.cpp.
void rtabmap::StatItem::plotRequested | ( | const StatItem * | , |
const QString & | |||
) | [signal] |
void rtabmap::StatItem::preparePlotRequest | ( | ) | [private, slot] |
Definition at line 148 of file StatsToolBox.cpp.
void rtabmap::StatItem::setupUi | ( | QGridLayout * | grid | ) | [private] |
Definition at line 97 of file StatsToolBox.cpp.
void rtabmap::StatItem::setValues | ( | const std::vector< float > & | x, |
const std::vector< float > & | y | ||
) |
Definition at line 86 of file StatsToolBox.cpp.
void rtabmap::StatItem::updateMenu | ( | const QMenu * | menu | ) | [slot] |
Definition at line 135 of file StatsToolBox.cpp.
QString rtabmap::StatItem::value | ( | ) | const |
Definition at line 92 of file StatsToolBox.cpp.
void rtabmap::StatItem::valueAdded | ( | float | ) | [signal] |
void rtabmap::StatItem::valueAdded | ( | float | , |
float | |||
) | [signal] |
void rtabmap::StatItem::valuesChanged | ( | const std::vector< float > & | , |
const std::vector< float > & | |||
) | [signal] |
QToolButton* rtabmap::StatItem::_button [private] |
Definition at line 72 of file StatsToolBox.h.
QMenu* rtabmap::StatItem::_menu [private] |
Definition at line 76 of file StatsToolBox.h.
QLabel* rtabmap::StatItem::_name [private] |
Definition at line 73 of file StatsToolBox.h.
QLabel* rtabmap::StatItem::_unit [private] |
Definition at line 75 of file StatsToolBox.h.
QLabel* rtabmap::StatItem::_value [private] |
Definition at line 74 of file StatsToolBox.h.