kalzium
Avogadro::ToolGroup Class Reference
#include <toolgroup.h>
Inheritance diagram for Avogadro::ToolGroup:

Detailed Description
Manager for GLWidget Tools.This class is a collection of Tools which allow manipulation of the GLWidget area.
Definition at line 44 of file src/toolgroup.h.
Public Slots | |
| void | setActiveTool (int i) |
| void | setActiveTool (Tool *tool) |
Signals | |
| void | toolActivated (Tool *tool) |
Public Member Functions | |
| ToolGroup (QObject *parent=0) | |
| ~ToolGroup () | |
| void | load () |
| Tool * | activeTool () const |
| Tool * | tool (int i) const |
| const QList< Tool * > & | tools () const |
| const QActionGroup * | activateActions () const |
Constructor & Destructor Documentation
| Avogadro::ToolGroup::ToolGroup | ( | QObject * | parent = 0 |
) |
| Avogadro::ToolGroup::~ToolGroup | ( | ) |
Member Function Documentation
| void Avogadro::ToolGroup::load | ( | ) |
Search and load plugins from the following paths: /usr/lib/avogadro/tools /usr/local/lib/avogadro/tools.
You can set the AVOGADRO_PATH to designate a path at runtime.
Definition at line 64 of file toolgroup.cpp.
| Tool * Avogadro::ToolGroup::activeTool | ( | ) | const |
| Tool* Avogadro::ToolGroup::tool | ( | int | i | ) | const |
- Parameters:
-
i index of the tool to return
- Returns:
- tool at index i
| const QActionGroup * Avogadro::ToolGroup::activateActions | ( | ) | const |
- Returns:
- constant QActionGroup of all the tool select actions
Definition at line 140 of file toolgroup.cpp.
| void Avogadro::ToolGroup::setActiveTool | ( | int | i | ) | [slot] |
| void Avogadro::ToolGroup::setActiveTool | ( | Tool * | tool | ) | [slot] |
| void Avogadro::ToolGroup::toolActivated | ( | Tool * | tool | ) | [signal] |
- Parameters:
-
the activated tool
The documentation for this class was generated from the following files:
KDE 4.0 API Reference