Inherits MLABNetworkModelItem.
Public Slots | |
Scripting methods | |
| void | addToGroup (const QString &groupName) |
| QColor | backgroundColor () const |
| void | editColorWithDialog () |
| void | editTextWithDialog () |
| QString | groupName () |
| bool | isCollapsed () const |
| void | remove () |
| void | setBackgroundColor (const QColor &color) |
| void | setIsCollapsed (bool collapsed) |
| void | setText (const QString &text) |
| void | setTitle (const QString &title) |
| QString | text () const |
| QString | title () const |
| void | toggleCollapseExpand () |
| void MLABNoteItem::addToGroup | ( | const QString & | groupName | ) | [slot] |
Add 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.
| QColor MLABNoteItem::backgroundColor | ( | ) | const [inline, slot] |
Returns the note's background color.
| void MLABNoteItem::editColorWithDialog | ( | ) | [slot] |
Show color dialog for editing the color.
| void MLABNoteItem::editTextWithDialog | ( | ) | [slot] |
Edit title and text with a dialog.
| QString MLABNoteItem::groupName | ( | ) | [slot] |
Get the name of the group the item is in.
| bool MLABNoteItem::isCollapsed | ( | ) | const [inline, slot] |
Returns if this note item is collapsed (or expanded).
| void MLABNoteItem::remove | ( | ) | [slot] |
Delete the note.
| void MLABNoteItem::setBackgroundColor | ( | const QColor & | color | ) | [inline, slot] |
Sets the background color to the given color.
| void MLABNoteItem::setIsCollapsed | ( | bool | collapsed | ) | [inline, slot] |
Sets if this note item is collapsed (or expanded).
| void MLABNoteItem::setText | ( | const QString & | text | ) | [slot] |
Sets the note's text.
| void MLABNoteItem::setTitle | ( | const QString & | title | ) | [slot] |
Sets the note's title text.
| QString MLABNoteItem::text | ( | ) | const [inline, slot] |
Returns the note's text.
| QString MLABNoteItem::title | ( | ) | const [inline, slot] |
Returns the note's title text.
| void MLABNoteItem::toggleCollapseExpand | ( | ) | [inline, slot] |
Toggles the current state of the collapsed/expanded.
1.5.8