Public Member Functions | Protected Slots | Protected Attributes | List of all members
rviz::DisplaysPanel Class Reference

#include <displays_panel.h>

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

Public Member Functions

 DisplaysPanel (QWidget *parent=0)
 
virtual void load (const Config &config)
 Read state from the given Config. More...
 
virtual void onInitialize ()
 
virtual void save (Config config) const
 Write state to the given Config object. More...
 
virtual ~DisplaysPanel ()
 
- Public Member Functions inherited from rviz::Panel
virtual QString getClassId () const
 Return the class identifier which was used to create this instance. This version just returns whatever was set with setClassId(). More...
 
virtual QString getDescription () const
 Return a description of this Panel. More...
 
virtual QString getName () const
 
void initialize (VisualizationManager *manager)
 
 Panel (QWidget *parent=0)
 
virtual void setClassId (const QString &class_id)
 Set the class identifier used to create this instance. Typically this will be set by the factory object which created it. More...
 
virtual void setDescription (const QString &description)
 Set a description of this Panel. Called by the factory which creates it. More...
 
virtual void setName (const QString &name)
 
virtual ~Panel ()
 

Protected Slots

void onDeleteDisplay ()
 Called when the "Remove" button is pressed. More...
 
void onDuplicateDisplay ()
 Called when the "copy" button is pressed. More...
 
void onNewDisplay ()
 Called when the "Add" button is pressed. More...
 
void onRenameDisplay ()
 Called when the "Rename" button is pressed. More...
 
void onSelectionChanged ()
 

Protected Attributes

QPushButton * duplicate_button_
 
PropertyTreeWidgetproperty_grid_
 
QPushButton * remove_button_
 
QPushButton * rename_button_
 
PropertyTreeWithHelptree_with_help_
 
- Protected Attributes inherited from rviz::Panel
VisualizationManagervis_manager_
 

Additional Inherited Members

- Signals inherited from rviz::Panel
void configChanged ()
 Subclasses must emit this whenever a configuration change happens. More...
 

Detailed Description

Definition at line 56 of file displays_panel.h.

Constructor & Destructor Documentation

rviz::DisplaysPanel::DisplaysPanel ( QWidget *  parent = 0)

Definition at line 52 of file displays_panel.cpp.

rviz::DisplaysPanel::~DisplaysPanel ( )
virtual

Definition at line 95 of file displays_panel.cpp.

Member Function Documentation

void rviz::DisplaysPanel::load ( const Config config)
virtual

Read state from the given Config.

Reimplemented from rviz::Panel.

Definition at line 234 of file displays_panel.cpp.

void rviz::DisplaysPanel::onDeleteDisplay ( )
protectedslot

Called when the "Remove" button is pressed.

Definition at line 166 of file displays_panel.cpp.

void rviz::DisplaysPanel::onDuplicateDisplay ( )
protectedslot

Called when the "copy" button is pressed.

Definition at line 137 of file displays_panel.cpp.

void rviz::DisplaysPanel::onInitialize ( )
virtual

Override to do initialization which depends on the VisualizationManager being available. This base implementation does nothing.

Reimplemented from rviz::Panel.

Definition at line 99 of file displays_panel.cpp.

void rviz::DisplaysPanel::onNewDisplay ( )
protectedslot

Called when the "Add" button is pressed.

Definition at line 104 of file displays_panel.cpp.

void rviz::DisplaysPanel::onRenameDisplay ( )
protectedslot

Called when the "Rename" button is pressed.

Definition at line 203 of file displays_panel.cpp.

void rviz::DisplaysPanel::onSelectionChanged ( )
protectedslot

Definition at line 192 of file displays_panel.cpp.

void rviz::DisplaysPanel::save ( Config  config) const
virtual

Write state to the given Config object.

Reimplemented from rviz::Panel.

Definition at line 228 of file displays_panel.cpp.

Member Data Documentation

QPushButton* rviz::DisplaysPanel::duplicate_button_
protected

Definition at line 86 of file displays_panel.h.

PropertyTreeWidget* rviz::DisplaysPanel::property_grid_
protected

Definition at line 84 of file displays_panel.h.

QPushButton* rviz::DisplaysPanel::remove_button_
protected

Definition at line 87 of file displays_panel.h.

QPushButton* rviz::DisplaysPanel::rename_button_
protected

Definition at line 88 of file displays_panel.h.

PropertyTreeWithHelp* rviz::DisplaysPanel::tree_with_help_
protected

Definition at line 89 of file displays_panel.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Wed Aug 28 2019 04:01:52