Schim
Public Member Functions | List of all members
OpInsertLine Class Reference

A scene operation that is triggered when the user wants to insert a line. More...

#include <operations.h>

Inheritance diagram for OpInsertLine:
[legend]
Collaboration diagram for OpInsertLine:
[legend]

Public Member Functions

void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 Process a mousePressEvent. The base implementation does nothing.
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event) override
 Process a mouseMoveEvent. The base implementation does nothing.
 
- Public Member Functions inherited from SceneOperation
 SceneOperation (SheetScene *scene)
 Construct a scene operation in the specified scene.
 
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 Process a mouseReleaseEvent. The base implementation does nothing.
 
virtual void keyPressEvent (QKeyEvent *event)
 Process a keyPressEvent. The base implementation does nothing.
 
virtual void cancel ()
 Cancel the operation. More...
 

Additional Inherited Members

- Signals inherited from SceneOperation
void finished ()
 Emitted when the operation has finished, either successfully or not.
 

Detailed Description

A scene operation that is triggered when the user wants to insert a line.


The documentation for this class was generated from the following file: