OpenStructure
|
#include <tool_manager.hh>
Inherits QObject.
Signals | |
void | ToolAdded (Tool *) |
void | ActiveToolChanged (Tool *) |
Public Member Functions | |
void | AddTool (Tool *tool) |
void | SetActiveTool (Tool *tool) |
Tool * | FindToolByName (const String &name) const |
Tool * | GetActiveTool () const |
const ToolList & | GetTools () const |
Static Public Member Functions | |
static ToolManager & | Instance () |
Definition at line 35 of file tool_manager.hh.
|
signal |
void AddTool | ( | Tool * | tool | ) |
add tool to tool manager
The ToolManager takes ownership of the tool.
Tool* GetActiveTool | ( | ) | const |
const ToolList& GetTools | ( | ) | const |
|
static |
void SetActiveTool | ( | Tool * | tool | ) |
|
signal |