#include <mlabGraphicsMouseArea.h>
Inherits QGraphicsWidget.
MouseArea graphics view item allows to handle mouse events via emitted signals.
◆ attachEventFilter
void MLABGraphicsMouseArea::attachEventFilter |
( |
QGraphicsItem * | item | ) |
|
|
slot |
attach this item as the event filter of the given item (sets this item as "invisible")
◆ attachToWidget
void MLABGraphicsMouseArea::attachToWidget |
( |
QGraphicsWidget * | widget | ) |
|
|
slot |
attach 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 |
enable/disable event handling
◆ setHoverEnabled
void MLABGraphicsMouseArea::setHoverEnabled |
( |
bool | flag | ) |
|
|
slot |
enable/disable hover support (enter/leave and mouse move without mouse press)