Vuo  0.4
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
VuoDataEditor Class Referenceabstract

Description

Interface for data editors.

To create a custom data editor, implement a derived class of this class. A data editor provides the dialog for editing a constant value on an input port. Each class of data editor handles one type of input port data (e.g. VuoInteger, VuoText).

Public Member Functions

virtual QString getType ()=0
 Implement this method to return the name of the data type that this data editor lets you edit.
 
virtual void setValue (QString valueAsString)=0
 Implement this method to initialize your data editor with the serialized value valueAsString.
 
virtual QString getValue ()=0
 Implement this method to return a serialized copy of data editor's value.
 
virtual QWidget * getWidget ()=0
 Implement this method to return a widget for editing data.
 

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