MLABHyperTextControl Class Reference
[GUI ControlsCommon GUI Controls]

HyperText control. More...

Inherits MLABFrameControl.

Inherited by MLABHyperLabelControl.

List of all members.

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)


Detailed Description

HyperText control.

Control for showing RichText with click-able anchors.

MDL reference: HyperText


Member Function Documentation

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]

scroll to the given anchor in the text, anchors can be defined using the tag in the text

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]

set text of the control (same as setText)

Reimplemented from MLABWidgetControl.


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