Abstract base class for tools that manipulate (or otherwise interact with) the scene.
More...
|
def | __init__ (self) |
|
def | getExposedProperties (self) |
|
def | setExposedProperties (self, args) |
|
def | event (self, event) |
| Handle an event. More...
|
|
def | getController (self) |
| Convenience function.
|
|
def | getEnabled (self) |
| Get the enabled state of the tool.
|
|
def | getHandle (self) |
| Get the associated handle. More...
|
|
def | setHandle (self, handle) |
| set the associated handle More...
|
|
def | getLockedAxis (self) |
|
def | setLockedAxis (self, axis) |
|
def | getDragPlane (self) |
|
def | setDragPlane (self, plane) |
|
def | getDragStart (self) |
|
def | setDragStart (self, x, y) |
|
def | getDragPosition (self, x, y) |
|
def | getDragVector (self, x, y) |
|
def | __init__ (self) |
|
def | getPluginId (self) |
|
def | setPluginId (self, plugin_id) |
|
Abstract base class for tools that manipulate (or otherwise interact with) the scene.
◆ event()
def UM.Tool.Tool.event |
( |
|
self, |
|
|
|
event |
|
) |
| |
Handle an event.
- Parameters
-
event | Event The event to handle. |
- Returns
- bool true if this event has been handled and requires no further processing.
- See also
- Event
◆ getHandle()
def UM.Tool.Tool.getHandle |
( |
|
self | ) |
|
Get the associated handle.
- Returns
- ToolHandle
◆ setHandle()
def UM.Tool.Tool.setHandle |
( |
|
self, |
|
|
|
handle |
|
) |
| |
set the associated handle
- Parameters
-
◆ operationStarted
UM.Tool.Tool.operationStarted = Signal() |
|
static |
Should be emitted whenever a longer running operation is started, like a drag to scale an object.
- Parameters
-
tool | The tool that started the operation. |
◆ operationStopped
UM.Tool.Tool.operationStopped = Signal() |
|
static |
Should be emitted whenever a longer running operation is stopped.
- Parameters
-
tool | The tool that stopped the operation. |
The documentation for this class was generated from the following file: