Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Protected Member Functions
OOVisualization::VOOReference Class Reference
Inheritance diagram for OOVisualization::VOOReference:
Core::Reflect< Base >

Public Member Functions

 VOOReference (Item *parent, NodeType *node, const StyleType *style=itemStyles().get())
 
virtual bool setText (const QString &newText) override
 Fails as it should not be called. More...
 

Protected Member Functions

virtual QString currentText () override
 

Additional Inherited Members

- Protected Types inherited from Core::Reflect< Base >
using Super = Reflect< Base >
 

Constructor & Destructor Documentation

◆ VOOReference()

OOVisualization::VOOReference::VOOReference ( Item *  parent,
NodeType *  node,
const StyleType *  style = itemStyles().get() 
)

Member Function Documentation

◆ currentText()

QString OOVisualization::VOOReference::currentText ( )
overrideprotectedvirtual

◆ setText()

bool OOVisualization::VOOReference::setText ( const QString &  newText)
overridevirtual

Fails as it should not be called.

This method is normally called from the handler, but we don't allow the standard text handler to modify references.