#include <mlabGraphicsMouseArea.h>
Inherits QGraphicsWidget.
MouseArea graphics view item allows to handle mouse events via emitted signals.
◆ attachEventFilter
| void MLABGraphicsMouseArea::attachEventFilter |
( |
QGraphicsItem * |
item | ) |
|
|
slot |
Attaches this item as the event filter of the given item (sets this item as "invisible").
◆ attachToWidget
| void MLABGraphicsMouseArea::attachToWidget |
( |
QGraphicsWidget * |
widget | ) |
|
|
slot |
Attaches the item to the widget (so that the mouse area's geometry is resized to that of the widget).
◆ detachEventFilter
| void MLABGraphicsMouseArea::detachEventFilter |
( |
| ) |
|
|
slot |
◆ setEnabled
| void MLABGraphicsMouseArea::setEnabled |
( |
bool |
flag | ) |
|
|
slot |
Enables/disables event handling.
◆ setHoverEnabled
| void MLABGraphicsMouseArea::setHoverEnabled |
( |
bool |
flag | ) |
|
|
slot |
Enables/disables hover support (enter/leave and mouse move without mouse press).