18#ifndef ELEMENTS_MOVER_H
19#define ELEMENTS_MOVER_H
Definition conductortextitem.h:30
Definition diagramcontent.h:47
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition diagram.h:56
Definition elementsmover.h:41
QPointF m_current_movement
Definition elementsmover.h:59
ElementsMover()
ElementsMover::ElementsMover Constructor.
Definition elementsmover.cpp:37
int beginMovement(Diagram *, QGraphicsItem *=nullptr)
ElementsMover::beginMovement Start a new movement.
Definition elementsmover.cpp:61
bool isReady() const
ElementsMover::isReady.
Definition elementsmover.cpp:49
void endMovement()
ElementsMover::endMovement Ended the current movement by creating an undo added to the undostack of t...
Definition elementsmover.cpp:169
void continueMovement(const QPointF &)
ElementsMover::continueMovement Add a move to the current movement.
Definition elementsmover.cpp:116
QPointer< QStatusBar > m_status_bar
Definition elementsmover.h:63
bool m_movement_running
Definition elementsmover.h:58
ElementsMover(const ElementsMover &)
Diagram * m_diagram
Definition elementsmover.h:60
DiagramContent m_moved_content
Definition elementsmover.h:62
virtual ~ElementsMover()
ElementsMover::~ElementsMover Destructor.
Definition elementsmover.cpp:42
QGraphicsItem * m_movement_driver
Definition elementsmover.h:61