18#ifndef DIAGRAMEVENTADDIMAGE_H
19#define DIAGRAMEVENTADDIMAGE_H
41 void wheelEvent (QGraphicsSceneWheelEvent *event)
override;
The DiagramEventAddImage class This diagram event, handle the adding of an image in a diagram.
Definition diagrameventaddimage.h:31
bool m_is_added
Definition diagrameventaddimage.h:48
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) override
DiagramEventAddImage::mouseDoubleClickEvent This method is used only to overwrite double click....
Definition diagrameventaddimage.cpp:115
bool isNull() const
DiagramEventAddImage::isNull.
Definition diagrameventaddimage.cpp:143
void openDialog()
DiagramEventAddImage::openDialog Open dialog to select the image to add.
Definition diagrameventaddimage.cpp:153
void wheelEvent(QGraphicsSceneWheelEvent *event) override
DiagramEventAddImage::wheelEvent Action when mouse wheel is rotated.
Definition diagrameventaddimage.cpp:124
DiagramImageItem * m_image
Definition diagrameventaddimage.h:47
void mouseMoveEvent(QGraphicsSceneMouseEvent *event) override
DiagramEventAddImage::mouseMoveEvent Action when mouse move.
Definition diagrameventaddimage.cpp:87
void mousePressEvent(QGraphicsSceneMouseEvent *event) override
DiagramEventAddImage::mousePressEvent Action when mouse is pressed.
Definition diagrameventaddimage.cpp:58
~DiagramEventAddImage() override
DiagramEventAddImage::~DiagramEventAddImage.
Definition diagrameventaddimage.cpp:41
The DiagramEventInterface class isRunning() return true if action is running (do something)....
Definition diagrameventinterface.h:47
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition diagram.h:56
Definition diagramimageitem.h:31