#include <mlabGraphicsHotArea.h>
Inherits QGraphicsWidget.
HotArea graphics view item.
◆ 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 |
◆ startShowing
void MLABGraphicsHotArea::startShowing |
( |
| ) |
|
|
slot |
start showing of the area
◆ updateSizeHints
void MLABGraphicsHotArea::updateSizeHints |
( |
| ) |
|
|
slot |
update the size hints from the inner widget