51 #include "elementFunction.hh" 53 #include "graphicsScene.hh" 54 #include "sceneElement.hh" 55 #include "../parser/function.hh" 56 #include "../parser/element.hh" 58 #include "baseWidget.hh" 75 connect (scene_, SIGNAL (contentChanged ()),
92 QDomElement main = _doc.createElement(
"function");
93 _root.appendChild(main);
94 main.setAttribute (
"name",function_->
name ());
109 void VSI::ElementFunction::editFunction()
void loadFromXml(QXmlQuery &_xml)
Load from xml.
GraphicsScene * graphicsScene()
Scene.
QString name() const
Name.
static BaseWidget * getBaseWidget()
Returns singleton.
Context * context() const
Context of element.
void saveToXml(QDomDocument &_doc, QDomElement &_root)
Save to xml.
void pushScene(GraphicsScene *_scene)
show a new scene (function) in editor
ElementFunction(Function *_f, SceneElement *_element)
Constructor.
Element * element() const
Element that this function belongs to.
~ElementFunction()
Destructor.
void loadFromXml(QXmlQuery &_xml)
Load from xml.
void saveToXml(QDomDocument &_doc, QDomElement &_root)
Save to xml.