45 #include "elementFunction.hh" 47 #include "graphicsScene.hh" 48 #include "sceneElement.hh" 49 #include "../parser/function.hh" 50 #include "../parser/element.hh" 52 #include "baseWidget.hh" 69 connect (scene_, SIGNAL (contentChanged ()),
86 QDomElement main = _doc.createElement(
"function");
87 _root.appendChild(main);
88 main.setAttribute (
"name",function_->
name ());
103 void VSI::ElementFunction::editFunction()
void loadFromXml(QXmlQuery &_xml)
Load from xml.
void loadFromXml(QXmlQuery &_xml)
Load from xml.
ElementFunction(Function *_f, SceneElement *_element)
Constructor.
QString name() const
Name.
Context * context() const
Context of element.
~ElementFunction()
Destructor.
Element * element() const
Element that this function belongs to.
GraphicsScene * graphicsScene()
Scene.
void saveToXml(QDomDocument &_doc, QDomElement &_root)
Save to xml.
void saveToXml(QDomDocument &_doc, QDomElement &_root)
Save to xml.