SliceViewDefaultEventHandler
Implementation of an input event handler providing standard mouse, touch, and keyboard interaction with a SliceView.
Extends
Methods
| Method | Description |
|---|---|
| restoreDefaultInputMapping() | Restores the default input event handling |
| limitViewInteractionTo() | Clears the input mapping and activates a single mapping between Left Mouse Button and the given action. |
Inherited from ClassHandle
| Method | Description |
|---|---|
| isAliasOf() | Returns true if this handle and other alias the same underlying C++ object. |
| delete() | Releases this JavaScript handle. |
| deleteLater() | Schedules this handle for deferred deletion and returns this handle. |
| isDeleted() | Returns true if this handle has already been deleted. |
| [dispose]() | Releases this handle when the enclosing scope exits, so a handle can be declared with using instead of calling delete() later manually. |
| clone() | Returns a new JavaScript handle aliasing the same underlying C++ object. |
restoreDefaultInputMapping()
ts
Restores the default input event handling
Returns
void
limitViewInteractionTo()
ts
Clears the input mapping and activates a single mapping between Left Mouse Button and the given action. Use restoreDefaultInputMapping to restore the default mapping.
Parameters
| Parameter | Type |
|---|---|
action | SliceViewAction |
Returns
void