OpenStructure
Public Slots | Public Member Functions
ToolBar Class Reference

#include <tool_bar.hh>

Inherits QToolBar.

Public Slots

void OnActiveGfxNodeChanged (gfx::NodePtrList nodes)
 
void OnToolAdded (const Tool *&tool)
 
void OnAction (QAction *action)
 
void ActivateTool (QAction *action)
 

Public Member Functions

 ToolBar (QWidget *parent=NULL)
 
QAction * AddAction (const QString &text, QIcon &icon)
 

Detailed Description

Definition at line 38 of file tool_bar.hh.

Constructor & Destructor Documentation

◆ ToolBar()

ToolBar ( QWidget *  parent = NULL)

Member Function Documentation

◆ ActivateTool

void ActivateTool ( QAction *  action)
slot

◆ AddAction()

QAction* AddAction ( const QString &  text,
QIcon &  icon 
)

◆ OnAction

void OnAction ( QAction *  action)
slot

◆ OnActiveGfxNodeChanged

void OnActiveGfxNodeChanged ( gfx::NodePtrList  nodes)
slot

update status of all tools based on the active gfx::GfxNodes

◆ OnToolAdded

void OnToolAdded ( const Tool *&  tool)
slot

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