MeVisLab Scripting Reference
MLABNetworkModelItem Class Reference

#include <mlabNetworkModelItem.h>

Inherits QObject.

Inherited by MLABBaseConnectionContainerItem, MLABConnectionContainerItemGroup, MLABConnectorItem, MLABModuleItem, MLABNetworkModelItemGroup, MLABNetworkModelRootItem, and MLABNoteItem.

Public Slots

Scripting methods


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
 

Detailed Description

This is an item that is layouted in a network layout.

Member Function Documentation

◆ frame

virtual QRect MLABNetworkModelItem::frame ( ) const
inlinevirtualslot

Returns the layout item frame (= position + size).

◆ setFrame

virtual void MLABNetworkModelItem::setFrame ( const QRect & frame,
bool notifyParent = true )
virtualslot

Sets the layout item frame (= position + size).

◆ translateChildrenFrames

void MLABNetworkModelItem::translateChildrenFrames ( const QPoint & delta,
bool selectedOnly,
bool notifyParent = true )
slot

Moves the child item frames by delta (if they are selected).

◆ translateFrame

virtual void MLABNetworkModelItem::translateFrame ( const QPoint & delta,
bool notifyParent = true )
virtualslot

Moves the network model item frame by delta.