ToolManager Class Reference

#include <tool_manager.hh>

Inherits PyQt4::QtCore::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

void ActiveToolChanged ( Tool  )  [signal]
void AddTool ( Tool tool  ) 

add tool to tool manager

The ToolManager takes ownership of the tool.

Tool* FindToolByName ( const String name  )  const
Tool* GetActiveTool (  )  const
const ToolList& GetTools (  )  const
static ToolManager& Instance (  )  [static]
void SetActiveTool ( Tool tool  ) 
void ToolAdded ( Tool  )  [signal]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 10 Nov 2016 for OpenStructure by  doxygen 1.6.1