kalzium
Avogadro::ClickMeasureTool Class Reference
#include <clickmeasuretool.h>

Detailed Description
Definition at line 48 of file clickmeasuretool.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 QUndoCommand * | wheel (GLWidget *widget, const QWheelEvent *event) |
Public Member Functions | |
| ClickMeasureTool (QObject *parent=0) | |
| virtual | ~ClickMeasureTool () |
Description methods | |
| virtual QString | description () const |
| virtual QString | name () const |
Constructor & Destructor Documentation
| Avogadro::ClickMeasureTool::ClickMeasureTool | ( | QObject * | parent = 0 |
) |
| Avogadro::ClickMeasureTool::~ClickMeasureTool | ( | ) | [virtual] |
Member Function Documentation
| virtual QString Avogadro::ClickMeasureTool::description | ( | ) | const [inline, virtual] |
Tool Description (ie. ClickMeasureTools atoms and bonds).
Reimplemented from Avogadro::Tool.
Definition at line 63 of file clickmeasuretool.h.
| QUndoCommand * Avogadro::ClickMeasureTool::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 101 of file clickmeasuretool.cpp.
| QUndoCommand * Avogadro::ClickMeasureTool::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 65 of file clickmeasuretool.cpp.
| QUndoCommand * Avogadro::ClickMeasureTool::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 106 of file clickmeasuretool.cpp.
| virtual QString Avogadro::ClickMeasureTool::name | ( | ) | const [inline, virtual] |
Tool Name (ie ClickMeasureTool).
Implements Avogadro::Tool.
Definition at line 61 of file clickmeasuretool.h.
| bool Avogadro::ClickMeasureTool::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 224 of file clickmeasuretool.cpp.
| QUndoCommand * Avogadro::ClickMeasureTool::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 111 of file clickmeasuretool.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference