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