MLABTextViewControl Class Reference
[GUI Controls]

TextView control. More...

Inherits MLABWidgetControl.

Inherited by MLABGLSLTextViewControl.

List of all members.

Public Slots

void appendText (const QString &text)
QPoint getCursorPosition ()
void insert (const QString &text)
QString selectedText ()
void setCursorPosition (int para, int index)
void setText (const QString &text)
QString text ()


Detailed Description

TextView control.

This control shows an (editable) TextView.

MDL reference: TextView


Member Function Documentation

void MLABTextViewControl::appendText ( const QString &  text  )  [slot]

append text to textview

QPoint MLABTextViewControl::getCursorPosition (  )  [slot]

get the cursor-position (as QPoint)

void MLABTextViewControl::insert ( const QString &  text  )  [slot]

insert text at current cursor-position (replaces the current selection!)

QString MLABTextViewControl::selectedText (  )  [slot]

get the currently selected text (which may be empty)

void MLABTextViewControl::setCursorPosition ( int  para,
int  index 
) [slot]

set the cursor-position

void MLABTextViewControl::setText ( const QString &  text  )  [slot]

set text of textview, set with empty string to clear the textview

QString MLABTextViewControl::text (  )  [slot]

get text of textview


Generated on Sat Sep 3 18:38:03 2011 for MeVisLab Scripting Reference by  doxygen 1.5.8