#include <display_visibility_property.h>

Public Slots | |
| virtual bool | setValue (const QVariant &new_value) |
| Set the new value for this property. Returns true if the new value is different from the old value, false if same. | |
Public Member Functions | |
| DisplayVisibilityProperty (uint32_t vis_bit, Display *display, 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 |
| Qt::ItemFlags | getViewFlags (int column) const |
| Return item flags appropriate for the given column (0 or 1) for this Property. | |
| virtual void | update () |
| virtual | ~DisplayVisibilityProperty () |
Protected Attributes | |
| bool | custom_name_ |
| Display * | display_ |
| uint32_t | vis_bit_ |
Definition at line 56 of file display_visibility_property.h.
| rviz::DisplayVisibilityProperty::DisplayVisibilityProperty | ( | uint32_t | vis_bit, |
| Display * | display, | ||
| 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 41 of file display_visibility_property.cpp.
Definition at line 57 of file display_visibility_property.cpp.
| bool rviz::DisplayVisibilityProperty::getBool | ( | ) | const [virtual] |
Reimplemented from rviz::BoolProperty.
Definition at line 89 of file display_visibility_property.cpp.
| Qt::ItemFlags rviz::DisplayVisibilityProperty::getViewFlags | ( | int | column | ) | const [virtual] |
Return item flags appropriate for the given column (0 or 1) for this Property.
| column | 0 for left column, 1 for right column. |
Reimplemented from rviz::Property.
Definition at line 98 of file display_visibility_property.cpp.
| bool rviz::DisplayVisibilityProperty::setValue | ( | const QVariant & | new_value | ) | [virtual, slot] |
Set the new value for this property. Returns true if the new value is different from the old value, false if same.
| new_value | The new value to store. |
If the new value is different from the old value, this emits aboutToChange() before changing the value and emits changed() after.
If the value set is an invalid QVariant (QVariant::isValid() returns false), the value will not be editable in a PropertyTreeWidget.
Reimplemented from rviz::Property.
Definition at line 79 of file display_visibility_property.cpp.
| void rviz::DisplayVisibilityProperty::update | ( | ) | [virtual] |
Reimplemented in rviz::DisplayGroupVisibilityProperty.
Definition at line 61 of file display_visibility_property.cpp.
bool rviz::DisplayVisibilityProperty::custom_name_ [protected] |
Definition at line 85 of file display_visibility_property.h.
Display* rviz::DisplayVisibilityProperty::display_ [protected] |
Definition at line 84 of file display_visibility_property.h.
uint32_t rviz::DisplayVisibilityProperty::vis_bit_ [protected] |
Definition at line 83 of file display_visibility_property.h.