13 #include <QDomDocument> 28 virtual const char*
name()
const = 0;
47 virtual bool xmlSaveState(QDomDocument& doc, QDomElement& parent_element)
const 60 QDomElement plugin_elem = doc.createElement(
"plugin");
61 plugin_elem.setAttribute(
"ID", this->
name());
68 static std::vector<QAction*> empty;
virtual bool xmlSaveState(QDomDocument &doc, QDomElement &parent_element) const
Override this method to save the status of the plugin to XML.
virtual bool xmlLoadState(const QDomElement &parent_element)
Override this method to load the status of the plugin from XML.
virtual bool isDebugPlugin()
virtual QWidget * optionsWidget()
optionsWidget pointer to a persistent widget used to set the plugin options .
virtual const std::vector< QAction * > & availableActions()
virtual const char * name() const =0
Name of the plugin type, NOT the particular instance.
PlotJugglerPlugin()=default
QDomElement xmlSaveState(QDomDocument &doc) const
The PlotJugglerPlugin is the base class of all the plugins.