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

rocs/VisualEditor

Public Slots | Public Member Functions | List of all members
SelectMoveHandAction Class Reference

#include <SelectMoveHandAction.h>

Inheritance diagram for SelectMoveHandAction:
Inheritance graph
[legend]

Public Slots

bool executeKeyPress (QKeyEvent *keyEvent)
 
bool executeKeyRelease (QKeyEvent *keyEvent)
 
bool executeMove (QPointF pos)
 
bool executePress (QPointF pos)
 
bool executeRelease (QPointF pos)
 
- Public Slots inherited from AbstractAction
bool eventFilter (QObject *watched, QEvent *event)
 
virtual bool executeDoubleClick (QPointF pos)
 
virtual bool executeKeyPress (QKeyEvent *keyEvent)
 
virtual bool executeKeyRelease (QKeyEvent *keyEvent)
 
virtual bool executeMove (QPointF pos)
 
virtual bool executePress (QPointF pos)
 
virtual bool executeRelease (QPointF pos)
 
virtual bool executeWheelEvent (QGraphicsSceneWheelEvent *wEvent)
 
void sendExecuteBit ()
 

Public Member Functions

 SelectMoveHandAction (GraphScene *scene, QObject *parent=0)
 
 ~SelectMoveHandAction ()
 
- Public Member Functions inherited from AbstractAction
 AbstractAction (GraphScene *scene, QObject *parent)
 
const QString & name () const
 

Additional Inherited Members

- Protected Attributes inherited from AbstractAction
GraphScene * _graphScene
 
QString _name
 

Detailed Description

This action holds the 'Move Node' icon and tooltips, and when it's executed, it will move the selected node around the screen.

Definition at line 38 of file SelectMoveHandAction.h.

Constructor & Destructor Documentation

SelectMoveHandAction::SelectMoveHandAction ( GraphScene *  scene,
QObject *  parent = 0 
)
explicit

Default constructor.

Parameters
sceneis the graphics scene that contains the data elements
parentthe parent QObject that holds this action

Definition at line 36 of file SelectMoveHandAction.cpp.

SelectMoveHandAction::~SelectMoveHandAction ( )

Default Destructor.

Definition at line 50 of file SelectMoveHandAction.cpp.

Member Function Documentation

bool SelectMoveHandAction::executeKeyPress ( QKeyEvent *  keyEvent)
slot

Executed when a key is pressed.

Parameters
keyEventthe key press event

Definition at line 131 of file SelectMoveHandAction.cpp.

bool SelectMoveHandAction::executeKeyRelease ( QKeyEvent *  keyEvent)
slot

Executed when a key is released.

Parameters
keyEventthe key press event

Definition at line 188 of file SelectMoveHandAction.cpp.

bool SelectMoveHandAction::executeMove ( QPointF  pos)
slot

Executed when the mouse is moved at the scene scene.

Parameters
posthe current onscreen position of the mouse

Definition at line 92 of file SelectMoveHandAction.cpp.

bool SelectMoveHandAction::executePress ( QPointF  pos)
slot

Executed when the left mouse button is pressed at the scene.

Parameters
posthe onscreen position of the click

Definition at line 54 of file SelectMoveHandAction.cpp.

bool SelectMoveHandAction::executeRelease ( QPointF  pos)
slot

Executed when the left mouse button is released.

Parameters
posthe onscreen position of the mouse

Definition at line 109 of file SelectMoveHandAction.cpp.


The documentation for this class was generated from the following files:
  • SelectMoveHandAction.h
  • SelectMoveHandAction.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

rocs/VisualEditor

Skip menu "rocs/VisualEditor"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal