44 #ifndef VSI_ELEMENTINPUT_HH 45 #define VSI_ELEMENTINPUT_HH 50 #include <QDomDocument> 51 #include <QDomElement> 54 #include "elementInOut.hh" 55 #include "../parser/input.hh" 81 void setValid (
bool _value) { valid_ = _value; };
90 QString
value ()
const {
return value_; };
111 unsigned int state ();
114 void saveToXml (QDomDocument &_doc, QDomElement &_root);
void setValid(bool _value)
Sets the valid flag (needed during code generation)
bool valid()
Returns state of valid flag (needed during code generation)
void removeConnection(Connection *_conn)
Remove connection.
void setValue(QString _value)
Set to a user value.
unsigned int state()
VSI::Input state passthrough.
void setForceAsk(bool _set)
"ForceAsk" flag to mark an optional input for asking during script execution
QString value() const
Returns value set by user.
~ElementInput()
Destructor.
void saveToXml(QDomDocument &_doc, QDomElement &_root)
Save to xml.
bool isSet()
Return "set" flag.
Type type() const
Type (=Input)
ElementInput(Input *_in, SceneElement *_parent)
Constructor.
void addConnection(Connection *_conn)
Add connection.
bool isForceAskSet() const
Return "ForceAsk" flag.
void loadFromXml(QXmlQuery &_xml)
Load from xml.