Developer Documentation
|
#include <Plugin-VSI/parser/type.hh>
Public Member Functions | |
Type () | |
Constructor. | |
virtual | ~Type () |
Destructor. | |
virtual QStringList | supportedTypes () |
Names of Types. | |
virtual QStringList | supportedHints () |
Hints that may be stored for this type in the xml metadata. | |
virtual bool | canConvertTo (QString _type) |
Can this type be converted to the given type? | |
virtual bool | hasWidget () |
Does this type has a configuration widget. | |
virtual TypeWidget * | widget (QMap< QString, QString >, QString, QWidget *=NULL) |
Returns the configuration widget. | |
Protected Attributes | |
QStringList | types_ |
QStringList | hints_ |
QStringList | convertTypes_ |
Class representing a supported type in the visual scripting interface A Type provides information about supported conversion to other types and an optional configuration widget. This widget allows the user to directly edit an input of this type.