#include <add_display_dialog.h>
|
| AddDisplayDialog (DisplayFactory *factory, const QString &object_type, const QStringList &disallowed_display_names, const QStringList &disallowed_class_lookup_names, QString *lookup_name_output, QString *display_name_output=nullptr, QString *topic_output=nullptr, QString *datatype_output=nullptr, QWidget *parent=nullptr) |
|
QSize | sizeHint () const override |
|
Definition at line 64 of file add_display_dialog.h.
◆ AddDisplayDialog()
rviz::AddDisplayDialog::AddDisplayDialog |
( |
DisplayFactory * |
factory, |
|
|
const QString & |
object_type, |
|
|
const QStringList & |
disallowed_display_names, |
|
|
const QStringList & |
disallowed_class_lookup_names, |
|
|
QString * |
lookup_name_output, |
|
|
QString * |
display_name_output = nullptr , |
|
|
QString * |
topic_output = nullptr , |
|
|
QString * |
datatype_output = nullptr , |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
Dialog for choosing a new object to load with a pluginlib ClassLoader.
- Parameters
-
disallowed_display_names | set of display names to prevent the user from using. |
disallowed_class_lookup_names | set of class lookup names to prevent the user from selecting. Names found in the class loader which are in this list will appear disabled. |
lookup_name_output | Pointer to a string where dialog will put the class lookup name chosen. |
display_name_output | Pointer to a string where dialog will put the display name entered, or NULL (default) if display name entry field should not be shown. |
Definition at line 167 of file add_display_dialog.cpp.
◆ accept
void rviz::AddDisplayDialog::accept |
( |
| ) |
|
|
overrideslot |
◆ fillTree()
void rviz::AddDisplayDialog::fillTree |
( |
QTreeWidget * |
tree | ) |
|
|
private |
Fill the tree widget with classes from the class loader.
◆ isValid()
bool rviz::AddDisplayDialog::isValid |
( |
| ) |
|
|
private |
Returns true if entered display name is non-empty and unique and if lookup name is non-empty.
Definition at line 308 of file add_display_dialog.cpp.
◆ onDisplaySelected
void rviz::AddDisplayDialog::onDisplaySelected |
( |
SelectionData * |
data | ) |
|
|
privateslot |
◆ onNameChanged
void rviz::AddDisplayDialog::onNameChanged |
( |
| ) |
|
|
privateslot |
◆ onTabChanged
void rviz::AddDisplayDialog::onTabChanged |
( |
int |
index | ) |
|
|
privateslot |
◆ onTopicSelected
void rviz::AddDisplayDialog::onTopicSelected |
( |
SelectionData * |
data | ) |
|
|
privateslot |
◆ setError()
void rviz::AddDisplayDialog::setError |
( |
const QString & |
error_text | ) |
|
|
private |
◆ sizeHint()
QSize rviz::AddDisplayDialog::sizeHint |
( |
| ) |
const |
|
override |
◆ updateDisplay()
void rviz::AddDisplayDialog::updateDisplay |
( |
| ) |
|
|
private |
◆ button_box_
QDialogButtonBox* rviz::AddDisplayDialog::button_box_ |
|
private |
◆ datatype_output_
QString* rviz::AddDisplayDialog::datatype_output_ |
|
private |
◆ description_
QTextBrowser* rviz::AddDisplayDialog::description_ |
|
private |
◆ disallowed_class_lookup_names_
const QStringList& rviz::AddDisplayDialog::disallowed_class_lookup_names_ |
|
private |
◆ disallowed_display_names_
const QStringList& rviz::AddDisplayDialog::disallowed_display_names_ |
|
private |
◆ display_data_
◆ display_name_output_
QString* rviz::AddDisplayDialog::display_name_output_ |
|
private |
◆ display_tab_
int rviz::AddDisplayDialog::display_tab_ |
|
private |
◆ factory_
Factory* rviz::AddDisplayDialog::factory_ |
|
private |
◆ lookup_name_
QString rviz::AddDisplayDialog::lookup_name_ |
|
private |
Current value of selected class-lookup name. Copied to *lookup_name_output_ when "ok" is clicked.
Definition at line 149 of file add_display_dialog.h.
◆ lookup_name_output_
QString* rviz::AddDisplayDialog::lookup_name_output_ |
|
private |
◆ name_editor_
QLineEdit* rviz::AddDisplayDialog::name_editor_ |
|
private |
◆ tab_widget_
QTabWidget* rviz::AddDisplayDialog::tab_widget_ |
|
private |
◆ topic_data_
◆ topic_output_
QString* rviz::AddDisplayDialog::topic_output_ |
|
private |
◆ topic_tab_
int rviz::AddDisplayDialog::topic_tab_ |
|
private |
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:03