• 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
DeleteHandAction Class Reference

#include <DeleteHandAction.h>

Inheritance diagram for DeleteHandAction:
Inheritance graph
[legend]

Public Slots

bool executeKeyRelease (QKeyEvent *keyEvent)
 
- 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 executeRelease (QPointF pos)
 
virtual bool executeWheelEvent (QGraphicsSceneWheelEvent *wEvent)
 
void sendExecuteBit ()
 

Public Member Functions

 DeleteHandAction (GraphScene *scene, QObject *parent)
 
bool executePress (QPointF pos)
 
- 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

Activation this action enables the Delete Mode for the GraphScene.

Definition at line 32 of file DeleteHandAction.h.

Constructor & Destructor Documentation

DeleteHandAction::DeleteHandAction ( GraphScene *  scene,
QObject *  parent 
)

default constructor scene the graph scene parent the mainwindow

Definition at line 34 of file DeleteHandAction.cpp.

Member Function Documentation

bool DeleteHandAction::executeKeyRelease ( QKeyEvent *  keyEvent)
slot

when somebody press the delete key, the system will try to delete all selected nodes. keyEvent the key to be processed.

Definition at line 64 of file DeleteHandAction.cpp.

bool DeleteHandAction::executePress ( QPointF  pos)
virtual

start the node deletion algorithm on the specified point. pos the position of the click.

Reimplemented from AbstractAction.

Definition at line 44 of file DeleteHandAction.cpp.


The documentation for this class was generated from the following files:
  • DeleteHandAction.h
  • DeleteHandAction.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