SelectAction Class Reference

The 'Add Node' Action This action holds the 'Add Node' icon and tooltips, and when it's executed, it will place a new node on the QGraphicsView that holds all the items. More...

#include <Select.h>

Inheritance diagram for SelectAction:
AbstractAction

List of all members.

Public Slots

void executePress (QPointF pos)
void executeMove (QPointF pos)
void executeRelease (QPointF pos)

Signals

void ItemSelectedChanged (QGraphicsItem *o)

Public Member Functions

 SelectAction (GraphScene *scene, QObject *parent=0)
 ~SelectAction ()

Detailed Description

The 'Add Node' Action This action holds the 'Add Node' icon and tooltips, and when it's executed, it will place a new node on the QGraphicsView that holds all the items.

Definition at line 38 of file Select.h.


Constructor & Destructor Documentation

SelectAction::SelectAction ( GraphScene scene,
QObject parent = 0 
) [explicit]

Default constructor

Parameters:
parent the Parent QOBject that will hold this action. ( remove it in the future, maybe? )

Definition at line 34 of file Select.cpp.

SelectAction::~SelectAction (  ) 

Default Destructor

Definition at line 44 of file Select.cpp.


Member Function Documentation

void SelectAction::executeMove ( QPointF  pos  )  [virtual, slot]

will be executed when the mouse moves.

Parameters:
pos the current position of the cursor.

Reimplemented from AbstractAction.

Definition at line 57 of file Select.cpp.

void SelectAction::executePress ( QPointF  pos  )  [virtual, slot]

will be executed when the mouse press a button.

Parameters:
pos the position onscreen of the click.

Reimplemented from AbstractAction.

Definition at line 46 of file Select.cpp.

void SelectAction::executeRelease ( QPointF  pos  )  [virtual, slot]

will be executed when the mouse releases a click

Parameters:
pos the position of the cursor.

Reimplemented from AbstractAction.

Definition at line 80 of file Select.cpp.

void SelectAction::ItemSelectedChanged ( QGraphicsItem *  o  )  [signal]

signal sended when the selection changes.


The documentation for this class was generated from the following files:
Generated on Mon Dec 27 13:13:42 2010 for Gluon by  doxygen 1.6.3