#include <StatsToolBox.h>
Public Slots | |
void | updateMenu (const QMenu *menu) |
Signals | |
void | plotRequested (const StatItem *, const QString &) |
void | valueChanged (float, float) |
void | valuesChanged (const std::vector< float > &, const std::vector< float > &) |
Public Member Functions | |
void | setValue (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 42 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::plotRequested | ( | const StatItem * | , |
const QString & | |||
) | [signal] |
void rtabmap::StatItem::preparePlotRequest | ( | ) | [private, slot] |
Definition at line 142 of file StatsToolBox.cpp.
void rtabmap::StatItem::setupUi | ( | QGridLayout * | grid | ) | [private] |
Definition at line 91 of file StatsToolBox.cpp.
void rtabmap::StatItem::setValue | ( | float | x, |
float | y | ||
) |
Definition at line 74 of file StatsToolBox.cpp.
void rtabmap::StatItem::setValues | ( | const std::vector< float > & | x, |
const std::vector< float > & | y | ||
) |
Definition at line 80 of file StatsToolBox.cpp.
void rtabmap::StatItem::updateMenu | ( | const QMenu * | menu | ) | [slot] |
Definition at line 129 of file StatsToolBox.cpp.
QString rtabmap::StatItem::value | ( | ) | const |
Definition at line 86 of file StatsToolBox.cpp.
void rtabmap::StatItem::valueChanged | ( | float | , |
float | |||
) | [signal] |
void rtabmap::StatItem::valuesChanged | ( | const std::vector< float > & | , |
const std::vector< float > & | |||
) | [signal] |
QToolButton* rtabmap::StatItem::_button [private] |
Definition at line 68 of file StatsToolBox.h.
QMenu* rtabmap::StatItem::_menu [private] |
Definition at line 72 of file StatsToolBox.h.
QLabel* rtabmap::StatItem::_name [private] |
Definition at line 69 of file StatsToolBox.h.
QLabel* rtabmap::StatItem::_unit [private] |
Definition at line 71 of file StatsToolBox.h.
QLabel* rtabmap::StatItem::_value [private] |
Definition at line 70 of file StatsToolBox.h.