Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
rviz::PanelDockWidget Class Reference

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

#include <panel_dock_widget.h>

Inheritance diagram for rviz::PanelDockWidget:
Inheritance graph

Public Slots

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


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,. More...

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 ( )
void rviz::PanelDockWidget::closeEvent ( QCloseEvent *  event)

Definition at line 128 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::load ( Config  config)

Definition at line 143 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::onChildDestroyed ( QObject *  )

Definition at line 133 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::overrideVisibility ( bool  hide)

@ Override the visibility of the widget.

Definition at line 154 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::save ( Config  config)

Definition at line 138 of file panel_dock_widget.cpp.

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

Definition at line 95 of file panel_dock_widget.cpp.

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

Definition at line 115 of file panel_dock_widget.cpp.

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

Definition at line 82 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::setVisible ( bool  visible)

Override setVisible to respect the visibility override,.

Definition at line 148 of file panel_dock_widget.cpp.

void rviz::PanelDockWidget::setWindowTitle ( QString  title)

Definition at line 75 of file panel_dock_widget.cpp.

Member Data Documentation

bool rviz::PanelDockWidget::collapsed_

Definition at line 84 of file panel_dock_widget.h.

bool rviz::PanelDockWidget::forced_hidden_

Definition at line 86 of file panel_dock_widget.h.

QLabel* rviz::PanelDockWidget::icon_label_

Definition at line 87 of file panel_dock_widget.h.

bool rviz::PanelDockWidget::requested_visibility_

Definition at line 85 of file panel_dock_widget.h.

QLabel* rviz::PanelDockWidget::title_label_

Definition at line 88 of file panel_dock_widget.h.

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

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