#include <displays_panel.h>
Public Member Functions | |
DisplaysPanel (QWidget *parent=nullptr) | |
void | load (const Config &config) override |
Read state from the given Config. More... | |
void | onInitialize () override |
void | save (Config config) const override |
Write state to the given Config object. More... | |
~DisplaysPanel () override | |
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=nullptr) | |
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) |
~Panel () override | |
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_ |
PropertyTreeWidget * | property_grid_ |
QAction * | remove_action_ |
QPushButton * | remove_button_ |
QAction * | rename_action_ |
QPushButton * | rename_button_ |
PropertyTreeWithHelp * | tree_with_help_ |
Protected Attributes inherited from rviz::Panel | |
VisualizationManager * | vis_manager_ |
Additional Inherited Members | |
Signals inherited from rviz::Panel | |
void | configChanged () |
Subclasses must emit this whenever a configuration change happens. More... | |
Definition at line 56 of file displays_panel.h.
rviz::DisplaysPanel::DisplaysPanel | ( | QWidget * | parent = nullptr | ) |
Definition at line 53 of file displays_panel.cpp.
|
override |
Definition at line 111 of file displays_panel.cpp.
|
overridevirtual |
Read state from the given Config.
Reimplemented from rviz::Panel.
Definition at line 252 of file displays_panel.cpp.
|
protectedslot |
Called when the "Remove" button is pressed.
Definition at line 188 of file displays_panel.cpp.
|
protectedslot |
Called when the "copy" button is pressed.
Definition at line 147 of file displays_panel.cpp.
|
overridevirtual |
Override to do initialization which depends on the VisualizationManager being available. This base implementation does nothing.
Reimplemented from rviz::Panel.
Definition at line 115 of file displays_panel.cpp.
|
protectedslot |
Called when the "Add" button is pressed.
Definition at line 120 of file displays_panel.cpp.
|
protectedslot |
Called when the "Rename" button is pressed.
Definition at line 225 of file displays_panel.cpp.
|
protectedslot |
Definition at line 211 of file displays_panel.cpp.
|
overridevirtual |
Write state to the given Config object.
Reimplemented from rviz::Panel.
Definition at line 246 of file displays_panel.cpp.
|
protected |
Definition at line 86 of file displays_panel.h.
|
protected |
Definition at line 84 of file displays_panel.h.
|
protected |
Definition at line 89 of file displays_panel.h.
|
protected |
Definition at line 87 of file displays_panel.h.
|
protected |
Definition at line 90 of file displays_panel.h.
|
protected |
Definition at line 88 of file displays_panel.h.
|
protected |
Definition at line 91 of file displays_panel.h.