OpenStructure
Signals | Public Member Functions | Static Public Member Functions
ToolManager Class Reference

#include <tool_manager.hh>

Inherits QObject.

Signals

void ToolAdded (Tool *)
 
void ActiveToolChanged (Tool *)
 

Public Member Functions

void AddTool (Tool *tool)
 
void SetActiveTool (Tool *tool)
 
ToolFindToolByName (const String &name) const
 
ToolGetActiveTool () const
 
const ToolListGetTools () const
 

Static Public Member Functions

static ToolManagerInstance ()
 

Detailed Description

Definition at line 35 of file tool_manager.hh.

Member Function Documentation

◆ ActiveToolChanged

void ActiveToolChanged ( Tool )
signal

◆ AddTool()

void AddTool ( Tool tool)

add tool to tool manager

The ToolManager takes ownership of the tool.

◆ FindToolByName()

Tool* FindToolByName ( const String name) const

◆ GetActiveTool()

Tool* GetActiveTool ( ) const

◆ GetTools()

const ToolList& GetTools ( ) const

◆ Instance()

static ToolManager& Instance ( )
static

◆ SetActiveTool()

void SetActiveTool ( Tool tool)

◆ ToolAdded

void ToolAdded ( Tool )
signal

The documentation for this class was generated from the following file: