#include <displays_panel.h>
Public Member Functions | |
DisplaysPanel (QWidget *parent=0) | |
virtual void | load (const Config &config) |
Read state from the given Config. | |
virtual void | onInitialize () |
virtual void | save (Config config) const |
Write state to the given Config object. | |
virtual | ~DisplaysPanel () |
Protected Slots | |
void | onDeleteDisplay () |
Called when the "Remove" button is pressed. | |
void | onNewDisplay () |
Called when the "Add" button is pressed. | |
void | onRenameDisplay () |
Called when the "Rename" button is pressed. | |
void | onSelectionChanged () |
Protected Attributes | |
PropertyTreeWidget * | property_grid_ |
QPushButton * | remove_button_ |
QPushButton * | rename_button_ |
PropertyTreeWithHelp * | tree_with_help_ |
Definition at line 56 of file displays_panel.h.
rviz::DisplaysPanel::DisplaysPanel | ( | QWidget * | parent = 0 | ) |
Definition at line 52 of file displays_panel.cpp.
rviz::DisplaysPanel::~DisplaysPanel | ( | ) | [virtual] |
Definition at line 89 of file displays_panel.cpp.
void rviz::DisplaysPanel::load | ( | const Config & | config | ) | [virtual] |
Read state from the given Config.
Reimplemented from rviz::Panel.
Definition at line 174 of file displays_panel.cpp.
void rviz::DisplaysPanel::onDeleteDisplay | ( | ) | [protected, slot] |
Called when the "Remove" button is pressed.
Definition at line 122 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 93 of file displays_panel.cpp.
void rviz::DisplaysPanel::onNewDisplay | ( | ) | [protected, slot] |
Called when the "Add" button is pressed.
Definition at line 98 of file displays_panel.cpp.
void rviz::DisplaysPanel::onRenameDisplay | ( | ) | [protected, slot] |
Called when the "Rename" button is pressed.
Definition at line 143 of file displays_panel.cpp.
void rviz::DisplaysPanel::onSelectionChanged | ( | ) | [protected, slot] |
Definition at line 133 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 168 of file displays_panel.cpp.
PropertyTreeWidget* rviz::DisplaysPanel::property_grid_ [protected] |
Definition at line 82 of file displays_panel.h.
QPushButton* rviz::DisplaysPanel::remove_button_ [protected] |
Definition at line 84 of file displays_panel.h.
QPushButton* rviz::DisplaysPanel::rename_button_ [protected] |
Definition at line 85 of file displays_panel.h.
PropertyTreeWithHelp* rviz::DisplaysPanel::tree_with_help_ [protected] |
Definition at line 86 of file displays_panel.h.