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

Widget for selecting a display by topic. More...

#include <add_display_dialog.h>

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

Signals

void itemActivated (QTreeWidgetItem *item, int column)
 
void itemChanged (SelectionData *selection)
 

Public Member Functions

void fill (DisplayFactory *factory)
 
 TopicDisplayWidget ()
 

Private Slots

void onComboBoxClicked (QTreeWidgetItem *curr)
 
void onCurrentItemChanged (QTreeWidgetItem *curr)
 
void stateChanged (int state)
 

Private Member Functions

void findPlugins (DisplayFactory *)
 
QTreeWidgetItem * insertItem (const QString &topic, bool disabled)
 

Private Attributes

QMultiMap< QString, QString > datatype_plugins_
 
QCheckBox * enable_hidden_box_
 
QTreeWidget * tree_
 

Detailed Description

Widget for selecting a display by topic.

Definition at line 170 of file add_display_dialog.h.

Constructor & Destructor Documentation

◆ TopicDisplayWidget()

rviz::TopicDisplayWidget::TopicDisplayWidget ( )

Definition at line 421 of file add_display_dialog.cpp.

Member Function Documentation

◆ fill()

void rviz::TopicDisplayWidget::fill ( DisplayFactory factory)

Definition at line 496 of file add_display_dialog.cpp.

◆ findPlugins()

void rviz::TopicDisplayWidget::findPlugins ( DisplayFactory factory)
private

Definition at line 551 of file add_display_dialog.cpp.

◆ insertItem()

QTreeWidgetItem * rviz::TopicDisplayWidget::insertItem ( const QString &  topic,
bool  disabled 
)
private

Insert a topic into the tree

Parameters
topicTopic to be inserted
disabledIf true, set all created widgets as disabled

Definition at line 571 of file add_display_dialog.cpp.

◆ itemActivated

void rviz::TopicDisplayWidget::itemActivated ( QTreeWidgetItem *  item,
int  column 
)
signal

◆ itemChanged

void rviz::TopicDisplayWidget::itemChanged ( SelectionData selection)
signal

◆ onComboBoxClicked

void rviz::TopicDisplayWidget::onComboBoxClicked ( QTreeWidgetItem *  curr)
privateslot

Definition at line 480 of file add_display_dialog.cpp.

◆ onCurrentItemChanged

void rviz::TopicDisplayWidget::onCurrentItemChanged ( QTreeWidgetItem *  curr)
privateslot

Definition at line 449 of file add_display_dialog.cpp.

◆ stateChanged

void rviz::TopicDisplayWidget::stateChanged ( int  state)
privateslot

Definition at line 485 of file add_display_dialog.cpp.

Member Data Documentation

◆ datatype_plugins_

QMultiMap<QString, QString> rviz::TopicDisplayWidget::datatype_plugins_
private

Definition at line 201 of file add_display_dialog.h.

◆ enable_hidden_box_

QCheckBox* rviz::TopicDisplayWidget::enable_hidden_box_
private

Definition at line 197 of file add_display_dialog.h.

◆ tree_

QTreeWidget* rviz::TopicDisplayWidget::tree_
private

Definition at line 196 of file add_display_dialog.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:04