MeVisLab Scripting Reference
|
#include <mlabNoteItem.h>
Inherits MLABNetworkModelItem.
Public Slots | |
Scripting methods | |
| |
void | setText (const QString &text) |
void | setReSTText (const QString &text, const QString &richText=QString()) |
void | setTitle (const QString &title) |
QColor | backgroundColor () const |
void | setBackgroundColor (const QColor &color) |
QString | text () const |
QString | title () const |
void | setIsCollapsed (bool collapsed) |
bool | isCollapsed () const |
void | setTitleFrame (const QRect &titleFrame) |
QRect | titleFrame () const |
void | toggleCollapseExpand () |
void | editTextWithDialog () |
void | editColorWithDialog () |
void | remove () |
QString | groupName () |
void | addToGroup (const QString &groupName) |
void | setDrawAsComment (bool drawAsComment) |
bool | drawAsComment () const |
QString | richText () const |
Public Slots inherited from MLABNetworkModelItem | |
virtual void | translateFrame (const QPoint &delta, bool notifyParent=true) |
void | translateChildrenFrames (const QPoint &delta, bool selectedOnly, bool notifyParent=true) |
virtual void | setFrame (const QRect &frame, bool notifyParent=true) |
virtual QRect | frame () const |
A network model item that is used for putting notes onto a network.
|
slot |
Adds the item to the given group (if groupName is empty, the item is removed from any group it was in) If groupName does not yet exist, a new group with that name is created.
|
inlineslot |
Returns the note's background color.
|
inlineslot |
Returns if the note should be drawn as comment.
|
slot |
Shows color dialog for editing the color.
|
slot |
Edits title and text with a dialog.
|
slot |
Returns the name of the group the item is in.
|
inlineslot |
Returns whether this note item is collapsed (or expanded).
|
slot |
Deletes the note.
|
inlineslot |
Returns the note's generated rich text.
|
inlineslot |
Sets the background color to the given color.
|
slot |
Sets if the note should be drawn as comment.
|
inlineslot |
Sets whether this note item is collapsed (or expanded).
|
slot |
Sets the note's text in ReST/Sphinx format. If richText is empty, it will be generated by Sphinx.
|
slot |
Sets the note's plain text.
|
slot |
Sets the note's title text.
|
inlineslot |
Sets the title frame.
|
inlineslot |
Returns the note's text.
|
inlineslot |
Returns the note's title text.
|
inlineslot |
Returns the title frame.
|
inlineslot |
Toggles the current state of the collapsed/expanded.