30 #ifndef RVIZ_NEW_OBJECT_DIALOG_H 31 #define RVIZ_NEW_OBJECT_DIALOG_H 38 class QTreeWidgetItem;
41 class QDialogButtonBox;
66 const QString& object_type,
67 const QStringList& disallowed_display_names,
68 const QStringList& disallowed_class_lookup_names,
69 QString* lookup_name_output,
70 QString* display_name_output =
nullptr,
71 QWidget* parent =
nullptr);
92 void setError(
const QString& error_text);
116 #endif // RVIZ_NEW_OBJECT_DIALOG_H QSize sizeHint() const override
NewObjectDialog(Factory *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, QWidget *parent=nullptr)
void onDisplaySelected(QTreeWidgetItem *selected_item)
QString * lookup_name_output_
const QStringList & disallowed_display_names_
QString * display_name_output_
QTextBrowser * description_
void setError(const QString &error_text)
const QStringList & disallowed_class_lookup_names_
Abstract superclass representing the ability to get a list of class IDs and the ability to get name...
QDialogButtonBox * button_box_
void fillTree(QTreeWidget *tree)