Inherits MLABWidgetControl.
Inherited by MLABGLSLTextViewControl.
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 () |
This control shows an (editable) TextView.
MDL reference: TextView
| 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
1.5.8