Widget for selecting a display by topic. More...
#include <add_display_dialog.h>
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 | |
QMap< QString, QString > | datatype_plugins_ |
QCheckBox * | enable_hidden_box_ |
QTreeWidget * | tree_ |
Widget for selecting a display by topic.
Definition at line 169 of file add_display_dialog.h.
Definition at line 431 of file add_display_dialog.cpp.
void rviz::TopicDisplayWidget::fill | ( | DisplayFactory * | factory | ) |
Definition at line 513 of file add_display_dialog.cpp.
void rviz::TopicDisplayWidget::findPlugins | ( | DisplayFactory * | factory | ) | [private] |
Definition at line 570 of file add_display_dialog.cpp.
QTreeWidgetItem * rviz::TopicDisplayWidget::insertItem | ( | const QString & | topic, |
bool | disabled | ||
) | [private] |
Insert a topic into the tree
topic | Topic to be inserted |
disabled | If true, set all created widgets as disabled |
Definition at line 590 of file add_display_dialog.cpp.
void rviz::TopicDisplayWidget::itemActivated | ( | QTreeWidgetItem * | item, |
int | column | ||
) | [signal] |
void rviz::TopicDisplayWidget::itemChanged | ( | SelectionData * | selection | ) | [signal] |
void rviz::TopicDisplayWidget::onComboBoxClicked | ( | QTreeWidgetItem * | curr | ) | [private, slot] |
Definition at line 497 of file add_display_dialog.cpp.
void rviz::TopicDisplayWidget::onCurrentItemChanged | ( | QTreeWidgetItem * | curr | ) | [private, slot] |
Definition at line 466 of file add_display_dialog.cpp.
void rviz::TopicDisplayWidget::stateChanged | ( | int | state | ) | [private, slot] |
Definition at line 502 of file add_display_dialog.cpp.
QMap<QString, QString > rviz::TopicDisplayWidget::datatype_plugins_ [private] |
Definition at line 199 of file add_display_dialog.h.
QCheckBox* rviz::TopicDisplayWidget::enable_hidden_box_ [private] |
Definition at line 195 of file add_display_dialog.h.
QTreeWidget* rviz::TopicDisplayWidget::tree_ [private] |
Definition at line 194 of file add_display_dialog.h.