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

set the placement of the enter area and it's size (either it's 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

set the delay before the area is hidden when it is exited

◆ setHideOnLeave

void MLABGraphicsHotArea::setHideOnLeave ( bool  flag)
slot

sets if the contained widget is hidden if the area is exited

◆ setTransition

void MLABGraphicsHotArea::setTransition ( Transition  enterExit)
slot

set 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

set 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

set the separate enter and exit transitions

◆ startHiding

void MLABGraphicsHotArea::startHiding ( )
slot

start hiding of the area

◆ startShowing

void MLABGraphicsHotArea::startShowing ( )
slot

start showing of the area

◆ updateSizeHints

void MLABGraphicsHotArea::updateSizeHints ( )
slot

update the size hints from the inner widget