kalzium
Avogadro::AlignTool Class Reference
#include <aligntool.h>

Detailed Description
Definition at line 41 of file aligntool.h.
Tool Methods | |
| virtual QUndoCommand * | mouseMove (GLWidget *widget, const QMouseEvent *event) |
| virtual QUndoCommand * | mousePress (GLWidget *widget, const QMouseEvent *event) |
| virtual QUndoCommand * | mouseRelease (GLWidget *widget, const QMouseEvent *event) |
| virtual bool | paint (GLWidget *widget) |
| virtual QWidget * | settingsWidget () |
| virtual QUndoCommand * | wheel (GLWidget *widget, const QWheelEvent *event) |
| void | align () |
| void | alignChanged (int align) |
| void | axisChanged (int axis) |
Public Member Functions | |
| AlignTool (QObject *parent=0) | |
| virtual | ~AlignTool () |
Description methods | |
| virtual QString | description () const |
| virtual QString | name () const |
Constructor & Destructor Documentation
| Avogadro::AlignTool::AlignTool | ( | QObject * | parent = 0 |
) |
| Avogadro::AlignTool::~AlignTool | ( | ) | [virtual] |
Member Function Documentation
| void Avogadro::AlignTool::align | ( | ) | [slot] |
Definition at line 184 of file aligntool.cpp.
| void Avogadro::AlignTool::alignChanged | ( | int | align | ) | [slot] |
Definition at line 339 of file aligntool.cpp.
| void Avogadro::AlignTool::axisChanged | ( | int | axis | ) | [slot] |
Definition at line 333 of file aligntool.cpp.
| virtual QString Avogadro::AlignTool::description | ( | ) | const [inline, virtual] |
Tool Description (i.e. Align molecules).
Reimplemented from Avogadro::Tool.
Definition at line 56 of file aligntool.h.
| QUndoCommand * Avogadro::AlignTool::mouseMove | ( | GLWidget * | widget, | |
| const QMouseEvent * | event | |||
| ) | [virtual] |
Response to mouse movement.
- Parameters:
-
widget the GLWidget where the even occurred event the mouse event information
Implements Avogadro::Tool.
Definition at line 108 of file aligntool.cpp.
| QUndoCommand * Avogadro::AlignTool::mousePress | ( | GLWidget * | widget, | |
| const QMouseEvent * | event | |||
| ) | [virtual] |
Callback methods for ui.actions on the canvas.
List of hits from initial click
Implements Avogadro::Tool.
Definition at line 75 of file aligntool.cpp.
| QUndoCommand * Avogadro::AlignTool::mouseRelease | ( | GLWidget * | widget, | |
| const QMouseEvent * | event | |||
| ) | [virtual] |
Response to mouse release.
- Parameters:
-
widget the GLWidget where the even occurred event the mouse event information
Implements Avogadro::Tool.
Definition at line 113 of file aligntool.cpp.
| virtual QString Avogadro::AlignTool::name | ( | ) | const [inline, virtual] |
| bool Avogadro::AlignTool::paint | ( | GLWidget * | widget | ) | [virtual] |
Called by the GLWidget allowing overlay painting by the tool.
Tools get painted last in the overall scheme.
- Parameters:
-
widget the GLWidget to paint to
Reimplemented from Avogadro::Tool.
Definition at line 142 of file aligntool.cpp.
| QWidget * Avogadro::AlignTool::settingsWidget | ( | ) | [virtual] |
- Returns:
- the settings widget for the tool.
Reimplemented from Avogadro::Tool.
Definition at line 271 of file aligntool.cpp.
| QUndoCommand * Avogadro::AlignTool::wheel | ( | GLWidget * | widget, | |
| const QWheelEvent * | event | |||
| ) | [virtual] |
Response to mouse wheel movement.
- Parameters:
-
widget the GLWidget where the even occurred event the mouse wheel event information
Implements Avogadro::Tool.
Definition at line 118 of file aligntool.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference