18#ifndef DIAGRAM_CONTENT_H
19#define DIAGRAM_CONTENT_H
91 QList<QGraphicsItem *>
items(
int =
All)
const;
Definition conductor.h:43
Definition diagramcontent.h:47
QList< DiagramTextItem * > selectedTexts() const
DiagramContent::selectedTexts.
Definition diagramcontent.cpp:135
void clear()
DiagramContent::clear Remove all items from the diagram content.
Definition diagramcontent.cpp:233
QList< Element * > m_elements
Definition diagramcontent.h:71
int removeNonMovableItems()
DiagramContent::removeNonMovableItems Remove all non movable item.
Definition diagramcontent.cpp:254
QList< ElementTextItemGroup * > selectedTextsGroup() const
DiagramContent::selectedTextsGroup.
Definition diagramcontent.cpp:155
QList< Conductor * > m_conductors_to_update
Definition diagramcontent.h:75
QList< QGraphicsItem * > items(int=All) const
DiagramContent::items.
Definition diagramcontent.cpp:381
QSet< DynamicElementTextItem * > m_element_texts
Definition diagramcontent.h:79
QList< Conductor * > conductors(int=AnyConductor) const
DiagramContent::conductors.
Definition diagramcontent.cpp:172
QVector< TerminalStripItem * > m_terminal_strip
Definition diagramcontent.h:83
QList< Conductor * > m_potential_conductors
Definition diagramcontent.h:78
QList< Conductor * > m_other_conductors
Definition diagramcontent.h:77
int count(int=All) const
DiagramContent::count.
Definition diagramcontent.cpp:409
DiagramContent & operator+=(const DiagramContent &other)
Definition diagramcontent.cpp:285
QList< Conductor * > m_conductors_to_move
Definition diagramcontent.h:76
DiagramContent()
DiagramContent::DiagramContent.
Definition diagramcontent.cpp:38
Filter
Used to filter the different items carried by this container.
Definition diagramcontent.h:54
@ Elements
Definition diagramcontent.h:55
@ ConductorsToUpdate
Definition diagramcontent.h:60
@ Shapes
Definition diagramcontent.h:63
@ AnyConductor
Definition diagramcontent.h:62
@ SelectedOnly
Definition diagramcontent.h:68
@ Tables
Definition diagramcontent.h:65
@ ConductorsToMove
Definition diagramcontent.h:59
@ TextFields
Definition diagramcontent.h:56
@ All
Definition diagramcontent.h:67
@ ElementTextFields
Definition diagramcontent.h:57
@ TextGroup
Definition diagramcontent.h:64
@ OtherConductors
Definition diagramcontent.h:61
@ Images
Definition diagramcontent.h:58
QSet< IndependentTextItem * > m_text_fields
Definition diagramcontent.h:72
QSet< ElementTextItemGroup * > m_texts_groups
Definition diagramcontent.h:80
QString sentence(int=All) const
DiagramContent::sentence.
Definition diagramcontent.cpp:448
~DiagramContent()
Definition diagramcontent.cpp:125
bool potentialIsManaged(QList< Conductor * >conductors)
DiagramContent::potentialIsManaged.
Definition diagramcontent.cpp:348
QSet< QetShapeItem * > m_shapes
Definition diagramcontent.h:74
QVector< QetGraphicsTableItem * > m_tables
Definition diagramcontent.h:82
bool hasTextEditing()
DiagramContent::hasTextEditing.
Definition diagramcontent.cpp:365
bool hasCopiableItems() const
DiagramContent::hasCopiableItems.
Definition diagramcontent.cpp:219
QList< QGraphicsItem * > m_selected_items
Definition diagramcontent.h:81
bool hasDeletableItems() const
DiagramContent::hasDeletableItems.
Definition diagramcontent.cpp:195
QSet< DiagramImageItem * > m_images
Definition diagramcontent.h:73
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition diagram.h:56
Definition diagramimageitem.h:31
Definition diagramtextitem.h:34
The DynamicElementTextItem class This class provide a simple text field of element who can be added o...
Definition dynamicelementtextitem.h:40
The ElementTextItemGroup class This class represent a group of element text Texts in the group can be...
Definition elementtextitemgroup.h:36
Definition independenttextitem.h:28
The QetGraphicsTableItem class This item display a table destined to represent the content of a QAbst...
Definition qetgraphicstableitem.h:43
The QetShapeItem class this class is used to draw a basic shape (line, rectangle, ellipse) into a dia...
Definition qetshapeitem.h:37
The TerminalStrip class This class hold all the datas and configurations of a terminal strip (but the...
Definition terminalstrip.h:45
Definition terminalstripitem.h:30
QDebug & operator<<(QDebug, DiagramContent &)
operator << Use to debug a diagram content
Definition diagramcontent.cpp:478