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