Go to the documentation of this file.
32 #include <QHBoxLayout>
33 #include <QTextBrowser>
40 : error_message_(error_message)
44 QTextBrowser* error_display =
new QTextBrowser;
45 error_display->setHtml(
"The class required for this panel, '" +
getClassId() +
48 QHBoxLayout* layout =
new QHBoxLayout;
49 layout->addWidget(error_display);
virtual void setClassId(const QString &class_id)
Set the class identifier used to create this instance. Typically this will be set by the factory obje...
bool isValid() const
Returns true if the internal Node reference is valid, false if not. Same as (getType() !...
virtual QString getClassId() const
Return the class identifier which was used to create this instance. This version just returns whateve...
void save(Config config) const override
Copy Config data into config equivalent to the last which was sent to load().
void load(const Config &config) override
Store the given Config data for later, so we can return it with save() when someone writes this back ...
FailedPanel(const QString &desired_class_id, const QString &error_message)
virtual void load(const Config &config)
Override to load configuration data. This version loads the name of the panel.
virtual void save(Config config) const
Override to save configuration data. This version saves the name and class ID of the panel.
Configuration data storage class.
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:02