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 *factory)
 
QTreeWidgetItem * insertItem (const QString &topic, bool disabled)
 

Private Attributes

QMap< 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 424 of file add_display_dialog.cpp.

Member Function Documentation

◆ fill()

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

Definition at line 505 of file add_display_dialog.cpp.

◆ findPlugins()

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

Definition at line 561 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 581 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 489 of file add_display_dialog.cpp.

◆ onCurrentItemChanged

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

Definition at line 458 of file add_display_dialog.cpp.

◆ stateChanged

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

Definition at line 494 of file add_display_dialog.cpp.

Member Data Documentation

◆ datatype_plugins_

QMap<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
autogenerated on Sat May 27 2023 02:06:26