MeVisLab Scripting Reference
MLABGraphicsHotArea Class Reference

Inherits QGraphicsWidget.

Public Slots

Scripting


void startShowing ()
 
void startHiding ()
 
void setExitMargin (int margin)
 
void setEnterArea (Qt::Alignment alignment, int size)
 
void setEnterAreaItem (Qt::Alignment alignment, QGraphicsItem *item)
 
void setTransitionAlignment (Qt::Alignment alignment)
 
void setTransitionEasingCurve (QEasingCurve::Type type)
 
void updateSizeHints ()
 
void setTransitions (Transition enter, Transition exit)
 
void setTransition (Transition enterExit)
 
void setTransitionDuration (int ms)
 
void setHideDelay (int ms)
 
void setHideOnLeave (bool flag)
 

Detailed Description

HotArea graphics view item.

Member Function Documentation

◆ setEnterArea

void MLABGraphicsHotArea::setEnterArea ( Qt::Alignment  alignment,
int  size 
)
slot

Sets the placement of the enter area and its size (either its width or height or both, depending on the alignment).

◆ setEnterAreaItem

void MLABGraphicsHotArea::setEnterAreaItem ( Qt::Alignment  alignment,
QGraphicsItem *  item 
)
slot

Sets the item that is used as the enter area.

◆ setExitMargin

void MLABGraphicsHotArea::setExitMargin ( int  margin)
slot

Sets the margin of the exit zone (how much bigger the zone is).

◆ setHideDelay

void MLABGraphicsHotArea::setHideDelay ( int  ms)
slot

Sets the delay before the area is hidden when it is exited.

◆ setHideOnLeave

void MLABGraphicsHotArea::setHideOnLeave ( bool  flag)
slot

Sets whether the contained widget is hidden if the area is exited.

◆ setTransition

void MLABGraphicsHotArea::setTransition ( Transition  enterExit)
slot

Sets the same enter and exit transition.

◆ setTransitionAlignment

void MLABGraphicsHotArea::setTransitionAlignment ( Qt::Alignment  alignment)
slot

Sets from where the fly transition is taking place (default is to use the above alignments.

◆ setTransitionDuration

void MLABGraphicsHotArea::setTransitionDuration ( int  ms)
slot

Sets the transition duration.

◆ setTransitionEasingCurve

void MLABGraphicsHotArea::setTransitionEasingCurve ( QEasingCurve::Type  type)
slot

Sets the easing curve to use for the transition.

◆ setTransitions

void MLABGraphicsHotArea::setTransitions ( Transition  enter,
Transition  exit 
)
slot

Sets the separate enter and exit transitions.

◆ startHiding

void MLABGraphicsHotArea::startHiding ( )
slot

Starts hiding of the area.

◆ startShowing

void MLABGraphicsHotArea::startShowing ( )
slot

Starts showing of the area.

◆ updateSizeHints

void MLABGraphicsHotArea::updateSizeHints ( )
slot

Updates the size hints from the inner widget.