#include <mlabGraphicsHotArea.h>
Inherits QGraphicsWidget.
HotArea graphics view item.
◆ 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.