MeVisLab Scripting Reference
|
This class groups groupable network model items. More...
Inherits MLABNetworkModelItem.
Public Slots | |
Scripting methods | |
QString | groupName () const |
bool | setGroupName (const QString &name) |
QColor | backgroundColor () const |
void | setBackgroundColor (const QColor &color) |
void | remove () |
void | rename () |
QList< MLABModule * > | modules () |
This class groups groupable network model items.
QColor MLABNetworkModelItemGroup::backgroundColor | ( | ) | const [inline, slot] |
Returns the group color.
QString MLABNetworkModelItemGroup::groupName | ( | ) | const [inline, slot] |
Returns the name of the group.
QList<MLABModule*> MLABNetworkModelItemGroup::modules | ( | ) | [slot] |
Returns the modules that are in this group.
void MLABNetworkModelItemGroup::remove | ( | ) | [slot] |
Removes the group (and put the modules/items to the main network).
void MLABNetworkModelItemGroup::rename | ( | ) | [slot] |
Renames the group with a dialog.
void MLABNetworkModelItemGroup::setBackgroundColor | ( | const QColor & | color | ) | [inline, slot] |
Sets the group color.
bool MLABNetworkModelItemGroup::setGroupName | ( | const QString & | name | ) | [slot] |
Sets a new name for the group (returns false if the name is already used by another group and keeps the previous name).