gz/gui/Plugin.hh
Go to the documentation of this file.
void Load(const tinyxml2::XMLElement *_pluginElem)
Load the plugin with a configuration file. This loads the default parameters and then calls LoadConfi...
std::string configStr
XML configuration.
Definition: gz/gui/Plugin.hh:127
virtual void LoadConfig(const tinyxml2::XMLElement *_pluginElem)
Load the plugin with a configuration file. Override this on custom plugins to handle custom configura...
Definition: gz/gui/Plugin.hh:104
QQuickItem * CardItem() const
Get the card item which contains this plugin. The item is generated the first time this function is r...
virtual std::string ConfigStr()
Get the configuration XML as a string.
void PostParentChanges()
Apply changes which should come after the plugin already has a parent.
virtual std::string Title() const
Get title.
Definition: gz/gui/Plugin.hh:112
void DeleteLater()
Wait until the plugin has a parent, then close and delete the parent.
QQmlContext * Context() const
Get the QML context where the plugin was created.
bool DeleteLaterRequested() const
Get the value of the the delete_later element from the configuration file, which defaults to false.