Property specialized to provide getter for booleans. More...
#include <bool_property.h>
Public Slots | |
bool | setBool (bool value) |
Public Member Functions | |
BoolProperty (const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=0, const char *changed_slot=0, QObject *receiver=0) | |
virtual bool | getBool () const |
virtual bool | getDisableChildren () |
If true, the children of this property should set their ItemIsEnabled flag to false. | |
bool | getDisableChildrenIfFalse () |
void | setDisableChildrenIfFalse (bool disable) |
virtual | ~BoolProperty () |
Private Attributes | |
bool | disable_children_if_false_ |
Property specialized to provide getter for booleans.
Definition at line 38 of file bool_property.h.
rviz::BoolProperty::BoolProperty | ( | const QString & | name = QString() , |
bool | default_value = false , |
||
const QString & | description = QString() , |
||
Property * | parent = 0 , |
||
const char * | changed_slot = 0 , |
||
QObject * | receiver = 0 |
||
) |
Definition at line 37 of file bool_property.cpp.
rviz::BoolProperty::~BoolProperty | ( | ) | [virtual] |
Definition at line 48 of file bool_property.cpp.
bool rviz::BoolProperty::getBool | ( | ) | const [virtual] |
Reimplemented in rviz::DisplayVisibilityProperty.
Definition at line 52 of file bool_property.cpp.
bool rviz::BoolProperty::getDisableChildren | ( | ) | [virtual] |
If true, the children of this property should set their ItemIsEnabled flag to false.
Reimplemented from rviz::Property.
Definition at line 67 of file bool_property.cpp.
Definition at line 62 of file bool_property.cpp.
bool rviz::BoolProperty::setBool | ( | bool | value | ) | [inline, slot] |
Definition at line 62 of file bool_property.h.
void rviz::BoolProperty::setDisableChildrenIfFalse | ( | bool | disable | ) |
Definition at line 57 of file bool_property.cpp.
bool rviz::BoolProperty::disable_children_if_false_ [private] |
Definition at line 65 of file bool_property.h.