Inherits MLABFrameControl.
Inherited by MLABHyperLabelControl.
Public Slots | |
script access | |
| void | appendText (const QString &text) |
| void | backward () |
| QTextDocument * | document () |
| void | forward () |
| void | replaceText (const QString &text, const QString &tag) |
| void | scrollToAnchor (const QString &name) |
| void | setText (const QString &title) |
| void | setTextFile (const QString &abspath) |
| void | setTitle (const QString &title) |
Control for showing RichText with click-able anchors.
MDL reference: HyperText
| void MLABHyperTextControl::appendText | ( | const QString & | text | ) | [slot] |
append text
| void MLABHyperTextControl::backward | ( | ) | [slot] |
goto previous file (if possible)
| QTextDocument* MLABHyperTextControl::document | ( | ) | [slot] |
get access to the document (e.g. for printing with MLABPrinter)
| void MLABHyperTextControl::forward | ( | ) | [slot] |
goto next file (if possible)
| void MLABHyperTextControl::replaceText | ( | const QString & | text, | |
| const QString & | tag | |||
| ) | [slot] |
replace text at given tag (tag name must start with "tag" to avoid conficts with normal HTML)
| void MLABHyperTextControl::scrollToAnchor | ( | const QString & | name | ) | [slot] |
| void MLABHyperTextControl::setText | ( | const QString & | title | ) | [slot] |
set text of the control
| void MLABHyperTextControl::setTextFile | ( | const QString & | abspath | ) | [slot] |
set text of the control via a file
| void MLABHyperTextControl::setTitle | ( | const QString & | title | ) | [virtual, slot] |
1.5.8