MeVisLab Scripting Reference
MLABGraphicsHotAreaLayer Class Reference

#include <mlabGraphicsHotAreaLayer.h>

Inherits QGraphicsWidget.

Public Slots

Scripting


MLABGraphicsHotAreaaddHotArea (QGraphicsWidget *widget, Qt::Alignment alignment, int enterAreaSize)
 
MLABGraphicsHotAreaaddHotArea (QGraphicsWidget *widget, Qt::Alignment alignment, QGraphicsItem *enterAreaItem)
 

Detailed Description

A layer to contain hot areas.

Member Function Documentation

◆ addHotArea [1/2]

MLABGraphicsHotArea * MLABGraphicsHotAreaLayer::addHotArea ( QGraphicsWidget * widget,
Qt::Alignment alignment,
int enterAreaSize )
slot

add a new hot area that shows/hides the given widget, the area is placed at the given alignment and has a size of enterAreaSize pixels.

◆ addHotArea [2/2]

MLABGraphicsHotArea * MLABGraphicsHotAreaLayer::addHotArea ( QGraphicsWidget * widget,
Qt::Alignment alignment,
QGraphicsItem * enterAreaItem )
slot

add a new hot area that shows/hides the given widget, the area is placed at the given alignment and the enterAreaItem is used as the activation area.