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

#include <ZoomAction.h>

Inheritance diagram for ZoomAction:
Inheritance graph
[legend]

Public Slots

void zoomIn (QPointF zoomCenter)
 
void zoomInCenter ()
 
void zoomOut (QPointF zoomCenter)
 
void zoomOutCenter ()
 
void zoomReset ()
 
- Public Slots inherited from AbstractAction
bool eventFilter (QObject *watched, QEvent *event)
 
virtual bool executeKeyPress (QKeyEvent *keyEvent)
 
void sendExecuteBit ()
 

Public Member Functions

 ZoomAction (GraphScene *scene, QObject *parent)
 
bool executeDoubleClick (QPointF pos)
 
bool executeKeyRelease (QKeyEvent *keyEvent)
 
bool executeMove (QPointF pos)
 
bool executePress (QPointF pos)
 
bool executeRelease (QPointF pos)
 
bool executeWheelEvent (QGraphicsSceneWheelEvent *wEvent)
 
- 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

Definition at line 35 of file ZoomAction.h.

Constructor & Destructor Documentation

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

Definition at line 34 of file ZoomAction.cpp.

Member Function Documentation

bool ZoomAction::executeDoubleClick ( QPointF  pos)
virtual

virtual, executed when a mouse click is released on the scene. pos the position where the release occourred.

Reimplemented from AbstractAction.

Definition at line 94 of file ZoomAction.cpp.

bool ZoomAction::executeKeyRelease ( QKeyEvent *  keyEvent)
virtual

virtual, executed when a keyboard key is released on the scene keyEvent the key event from the scene.

Reimplemented from AbstractAction.

Definition at line 100 of file ZoomAction.cpp.

bool ZoomAction::executeMove ( QPointF  pos)
virtual

Virtual, executed when a mouse move on the scene. pos the position on screen that the mouse is now.

Reimplemented from AbstractAction.

Definition at line 62 of file ZoomAction.cpp.

bool ZoomAction::executePress ( QPointF  pos)
virtual

Virtual, executed when a mouse press occours on the scene. pos the position on screen that the execution will take part.

Reimplemented from AbstractAction.

Definition at line 45 of file ZoomAction.cpp.

bool ZoomAction::executeRelease ( QPointF  pos)
virtual

virtual, executed when a mouse click is released on the scene. pos the position where the release occourred.

Reimplemented from AbstractAction.

Definition at line 83 of file ZoomAction.cpp.

bool ZoomAction::executeWheelEvent ( QGraphicsSceneWheelEvent *  wEvent)
virtual

Reimplemented from AbstractAction.

Definition at line 120 of file ZoomAction.cpp.

void ZoomAction::zoomIn ( QPointF  zoomCenter)
slot

Definition at line 136 of file ZoomAction.cpp.

void ZoomAction::zoomInCenter ( )
slot

Definition at line 131 of file ZoomAction.cpp.

void ZoomAction::zoomOut ( QPointF  zoomCenter)
slot

Definition at line 148 of file ZoomAction.cpp.

void ZoomAction::zoomOutCenter ( )
slot

Definition at line 142 of file ZoomAction.cpp.

void ZoomAction::zoomReset ( )
slot

Definition at line 154 of file ZoomAction.cpp.


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