gz/gui/Plugin.hh
STL class.
bool DeleteLaterRequested() const
Get the value of the the delete_later element from the configuration file, which defaults to false.
void PostParentChanges()
Apply changes which should come after the plugin already has a parent.
QQuickItem * CardItem() const
Get the card item which contains this plugin. The item is generated the first time this function is r...
void DeleteLater()
Wait until the plugin has a parent, then close and delete the parent.
std::string configStr
XML configuration.
Definition: gz/gui/Plugin.hh:127
virtual std::string Title() const
Get title.
Definition: gz/gui/Plugin.hh:112
void Load(const tinyxml2::XMLElement *_pluginElem)
Load the plugin with a configuration file. This loads the default parameters and then calls LoadConfi...
std::string title
Title to be displayed on top of plugin.
Definition: gz/gui/Plugin.hh:124
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
virtual std::string ConfigStr()
Get the configuration XML as a string.
QQmlContext * Context() const
Get the QML context where the plugin was created.