|
MeVisLab Scripting Reference
|
#include <mlabNetworkModelItemGroup.h>
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 () |
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 |
This class groups groupable network model items.
|
inlineslot |
Returns the group color.
|
inlineslot |
Returns the name of the group.
|
slot |
Returns the modules that are in this group.
|
slot |
Removes the group and puts the modules/items into the main network.
|
slot |
Renames the group with a dialog.
|
inlineslot |
Sets the group color.
|
slot |
Sets a new name for the group. Returns false if the name is already used by another group; in this case, the previous name is kept.