Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes
rviz::PanelDockWidget Class Reference

Dock widget class for docking widgets into VisualizationFrame. More...

#include <panel_dock_widget.h>

List of all members.

Public Slots

virtual void overrideVisibility (bool hide)
void setWindowTitle (QString title)

Signals

void closed ()

Public Member Functions

virtual void load (Config config)
 PanelDockWidget (const QString &name)
virtual void save (Config config)
void setCollapsed (bool collapsed)
void setContentWidget (QWidget *child)
void setIcon (QIcon icon)
virtual void setVisible (bool visible)
 Override setVisible to respect the visibility override,.

Protected Member Functions

virtual void closeEvent (QCloseEvent *event)

Private Slots

void onChildDestroyed (QObject *)

Private Attributes

bool collapsed_
bool forced_hidden_
QLabel * icon_label_
bool requested_visibility_
QLabel * title_label_

Detailed Description

Dock widget class for docking widgets into VisualizationFrame.

Use setContentWidget() instead of QDockWidget::setWidget() if you want the PanelDockWidget to be destroyed when the content widget is destroyed.

Definition at line 46 of file panel_dock_widget.h.


Constructor & Destructor Documentation

rviz::PanelDockWidget::PanelDockWidget ( const QString &  name)

Definition at line 41 of file panel_dock_widget.cpp.


Member Function Documentation

void rviz::PanelDockWidget::closed ( ) [signal]
void rviz::PanelDockWidget::closeEvent ( QCloseEvent *  event) [protected, virtual]

Definition at line 127 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::load ( Config  config) [virtual]

Definition at line 142 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::onChildDestroyed ( QObject *  ) [private, slot]

Definition at line 132 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::overrideVisibility ( bool  hide) [virtual, slot]

@ Override the visibility of the widget.

Definition at line 153 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::save ( Config  config) [virtual]

Definition at line 137 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::setCollapsed ( bool  collapsed)

Definition at line 94 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::setContentWidget ( QWidget *  child)

Definition at line 114 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::setIcon ( QIcon  icon)

Definition at line 81 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::setVisible ( bool  visible) [virtual]

Override setVisible to respect the visibility override,.

Definition at line 147 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::setWindowTitle ( QString  title) [slot]

Definition at line 74 of file panel_dock_widget.cpp.


Member Data Documentation

Definition at line 84 of file panel_dock_widget.h.

Definition at line 86 of file panel_dock_widget.h.

Definition at line 87 of file panel_dock_widget.h.

Definition at line 85 of file panel_dock_widget.h.

Definition at line 88 of file panel_dock_widget.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Tue Oct 3 2017 03:19:32