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

kalzium

Avogadro::AlignTool

Avogadro::AlignTool Class Reference

#include <aligntool.h>

Inheritance diagram for Avogadro::AlignTool:

Inheritance graph
[legend]

List of all members.


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  ) 

Constructor.

Definition at line 51 of file aligntool.cpp.

Avogadro::AlignTool::~AlignTool (  )  [virtual]

Destructor.

Definition at line 71 of file aligntool.cpp.


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]

Tool Name (i.e. Align).

Implements Avogadro::Tool.

Definition at line 54 of file aligntool.h.

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:
  • aligntool.h
  • aligntool.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
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
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