• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kalzium

Avogadro::ToolGroup

Avogadro::ToolGroup Class Reference

#include <toolgroup.h>

Inheritance diagram for Avogadro::ToolGroup:

Inheritance graph
[legend]

List of all members.


Detailed Description

Manager for GLWidget Tools.

Author:
Donald Ephraim Curtis <donald-curtis@uiowa.edu>
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  ) 

Constructor.

Definition at line 54 of file toolgroup.cpp.

Avogadro::ToolGroup::~ToolGroup (  ) 

Deconstructor.

Definition at line 59 of file toolgroup.cpp.


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

Returns:
the active tool

Definition at line 113 of file toolgroup.cpp.

Tool* Avogadro::ToolGroup::tool ( int  i  )  const

Parameters:
i index of the tool to return

Returns:
tool at index i

const QList< Tool * > & Avogadro::ToolGroup::tools (  )  const

Returns:
constant list of the tools

Definition at line 135 of file toolgroup.cpp.

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]

Parameters:
i index of the tool to set active

Definition at line 118 of file toolgroup.cpp.

void Avogadro::ToolGroup::setActiveTool ( Tool *  tool  )  [slot]

Parameters:
tool pointer to the tool to set active

Definition at line 127 of file toolgroup.cpp.

void Avogadro::ToolGroup::toolActivated ( Tool *  tool  )  [signal]

Parameters:
the activated tool


The documentation for this class was generated from the following files:
  • src/toolgroup.h
  • toolgroup.cpp

kalzium

Skip menu "kalzium"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal