Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Protected Member Functions
Comments::VCommentText Class Reference

The VCommentText class provides the visualization of the CommentText class. More...

Inheritance diagram for Comments::VCommentText:
Core::Reflect< Base >

Public Member Functions

 VCommentText (Item *parent, NodeType *node, const StyleType *style=itemStyles().get())
 
virtual bool moveCursor (CursorMoveDirection dir=MoveDefault, QRect reference={}, CursorMoveOptions options=None) override
 
virtual bool setText (const QString &newText) override
 

Protected Member Functions

virtual QString currentText () override
 

Additional Inherited Members

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

Detailed Description

The VCommentText class provides the visualization of the CommentText class.

Constructor & Destructor Documentation

◆ VCommentText()

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

Member Function Documentation

◆ currentText()

QString Comments::VCommentText::currentText ( )
overrideprotectedvirtual

◆ moveCursor()

bool Comments::VCommentText::moveCursor ( CursorMoveDirection  dir = MoveDefault,
QRect  reference = {},
CursorMoveOptions  options = None 
)
overridevirtual

◆ setText()

bool Comments::VCommentText::setText ( const QString &  newText)
overridevirtual