Public Member Functions
rviz::ViewControllerContainer Class Reference

Container property for ViewControllers which gets the drag/drop right for the funky way Current-View is always the first entry. More...

#include <view_manager.h>

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

List of all members.

Public Member Functions

virtual void addChild (Property *child, int index=-1)
 Add a child ViewController.
void addChildToFront (Property *child)
Qt::ItemFlags getViewFlags (int column) const
 Return item flags appropriate for the given column (0 or 1) for this Property.

Detailed Description

Container property for ViewControllers which gets the drag/drop right for the funky way Current-View is always the first entry.

Definition at line 144 of file view_manager.h.


Member Function Documentation

void rviz::ViewControllerContainer::addChild ( Property child,
int  index = -1 
) [virtual]

Add a child ViewController.

Parameters:
childThe child to add.
index[optional] The index at which to add the child. If less than 0 or greater than the number of child properties, the child will be added at the end.

This notifies the model about the addition.

This is overridden from Property to keep saved ViewControllers from being added at index 0, where the Current view belongs.

Reimplemented from rviz::Property.

Definition at line 282 of file view_manager.cpp.

Definition at line 291 of file view_manager.cpp.

Qt::ItemFlags rviz::ViewControllerContainer::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 277 of file view_manager.cpp.


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:29