Developer Documentation
VSI::Type Class Reference

#include <Plugin-VSI/parser/type.hh>

Inheritance diagram for VSI::Type:
VSI::TypeAny VSI::TypeBool VSI::TypeFilename VSI::TypeMatrix4x4 VSI::TypeNumber VSI::TypeObjectId VSI::TypeSelection VSI::TypeString VSI::TypeVec3D VSI::TypeVec4D

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 TypeWidgetwidget (QMap< QString, QString >, QString, QWidget *=NULL)
 Returns the configuration widget.
 

Protected Attributes

QStringList types_
 
QStringList hints_
 
QStringList convertTypes_
 

Detailed Description

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.

Definition at line 71 of file type.hh.


The documentation for this class was generated from the following files: