Public Slots | Public Member Functions | Protected Attributes
rviz::DisplayVisibilityProperty Class Reference

#include <display_visibility_property.h>

Inheritance diagram for rviz::DisplayVisibilityProperty:
Inheritance graph
[legend]

List of all members.

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_
Displaydisplay_
uint32_t vis_bit_

Detailed Description

Definition at line 56 of file display_visibility_property.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Parameters:
column0 for left column, 1 for right column.
Returns:
The Qt::ItemFlags for the given column of this property, including Qt::ItemIsSelectable, Qt::ItemIsEditable, etc.

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.

Parameters:
new_valueThe new value to store.
Returns:
Returns true if new_value is different from current value, false if they are the same.

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.

Reimplemented in rviz::DisplayGroupVisibilityProperty.

Definition at line 61 of file display_visibility_property.cpp.


Member Data Documentation

Definition at line 85 of file display_visibility_property.h.

Definition at line 84 of file display_visibility_property.h.

Definition at line 83 of file display_visibility_property.h.


The documentation for this class was generated from the following files:


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Thu Aug 27 2015 15:02:28