|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef ELEMENTS_MOVER_H
19 #define ELEMENTS_MOVER_H
int beginMovement(Diagram *, QGraphicsItem *=nullptr)
ElementsMover::beginMovement Start a new movement.
Definition: elementsmover.cpp:65
virtual ~ElementsMover()
ElementsMover::~ElementsMover Destructor.
Definition: elementsmover.cpp:46
QPointF current_movement_
Definition: elementsmover.h:56
The DynamicElementTextItem class This class provide a simple text field of element who can be added o...
Definition: dynamicelementtextitem.h:39
void setProperties(const ConductorProperties &property)
Conductor::setProperties Set property as current property of conductor.
Definition: conductor.cpp:1538
void updatePath(const QRectF &=QRectF())
Definition: conductor.cpp:161
bool isReady() const
ElementsMover::isReady.
Definition: elementsmover.cpp:54
Definition: diagramcontent.h:46
void clear()
DiagramContent::clear Remove all items from the diagram content.
Definition: diagramcontent.cpp:227
Definition: elementsmover.h:38
QList< Element * > m_elements
Definition: diagramcontent.h:69
QList< Conductor * > m_conductors_to_update
Definition: diagramcontent.h:73
void endMovement()
ElementsMover::endMovement Ended the current movement by creating an undo added to the undostack of t...
Definition: elementsmover.cpp:150
void numerate()
ConductorAutoNumerotation::numerate execute the automatic numerotation.
Definition: conductorautonumerotation.cpp:56
ElementsMover(const ElementsMover &)
void continueMovement(const QPointF &)
ElementsMover::continueMovement Add a move to the current movement.
Definition: elementsmover.cpp:112
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition: diagram.h:56
bool movement_running_
Definition: elementsmover.h:55
QIcon Conductor
Definition: qeticons.cpp:35
QList< QPair< Terminal *, Terminal * > > AlignedFreeTerminals() const
Element::AlignedFreeTerminals.
Definition: element.cpp:1480
ElementsMover()
ElementsMover::ElementsMover Constructor.
Definition: elementsmover.cpp:33
QSet< ElementTextItemGroup * > m_texts_groups
Definition: diagramcontent.h:78
The AddItemCommand class This command add an item in a diagram The item to add is template,...
Definition: diagramcommands.h:42
ConductorProperties properties
Definition: conductor.h:48
int count(int=All) const
DiagramContent::count.
Definition: diagramcontent.cpp:401
The MoveElementsCommand class This command moves some content on a particular diagram.
Definition: diagramcommands.h:132
The ConductorAutoNumerotation class.
Definition: conductorautonumerotation.h:33
QSet< DynamicElementTextItem * > m_element_texts
Definition: diagramcontent.h:77
The ElementTextItemGroup class This class represent a group of element text Texts in the group can be...
Definition: elementtextitemgroup.h:36
QSet< Conductor * > relatedPotentialConductors(const bool all_diagram=true, QList< Terminal * > *t_list=nullptr)
Conductor::relatedPotentialConductors Return all conductors at the same potential of this conductor,...
Definition: conductor.cpp:1647
The ConductorProperties class This class represents the functional properties of a particular conduct...
Definition: conductorproperties.h:68
QList< QGraphicsItem * > items(int=All) const
DiagramContent::items.
Definition: diagramcontent.cpp:374
int removeNonMovableItems()
DiagramContent::removeNonMovableItems Remove all non movable item.
Definition: diagramcontent.cpp:247
QGraphicsItem * m_movement_driver
Definition: elementsmover.h:58
Definition: conductor.h:43
Diagram * diagram_
Definition: elementsmover.h:57
Definition: conductortextitem.h:30
QIcon tr
Definition: qeticons.cpp:206
DiagramContent m_moved_content
Definition: elementsmover.h:59