18 #ifndef DIAGRAM_CONTENT_H 19 #define DIAGRAM_CONTENT_H 84 QList<QGraphicsItem *>
items(
int =
All)
const;
QList< Conductor * > m_potential_conductors
bool hasCopiableItems() const
DiagramContent::hasCopiableItems.
The DynamicElementTextItem class This class provide a simple text field of element who can be added o...
QList< DiagramTextItem * > selectedTexts() const
DiagramContent::selectedTexts.
QSet< QetShapeItem * > m_shapes
QString sentence(int=All) const
DiagramContent::sentence.
Filter
Used to filter the different items carried by this container.
QList< Conductor * > m_conductors_to_move
QDebug & operator<<(QDebug, DiagramContent &)
operator << Use to debug a diagram content
bool potentialIsManaged(QList< Conductor *>conductors)
DiagramContent::potentialIsManaged.
QList< QGraphicsItem * > items(int=All) const
DiagramContent::items.
QSet< IndependentTextItem * > m_text_fields
int removeNonMovableItems()
DiagramContent::removeNonMovableItems Remove all non movable item.
QList< Conductor * > m_other_conductors
QSet< DynamicElementTextItem * > m_element_texts
QList< ElementTextItemGroup * > selectedTextsGroup() const
DiagramContent::selectedTextsGroup.
The ElementTextItemGroup class This class represent a group of element text Texts in the group can be...
QList< Element * > m_elements
QList< Conductor * > m_conductors_to_update
The QetShapeItem class this class is used to draw a basic shape (line, rectangle, ellipse) into a dia...
QList< QGraphicsItem * > m_selected_items
DiagramContent()
DiagramContent::DiagramContent.
bool hasTextEditing()
DiagramContent::hasTextEditing.
void clear()
DiagramContent::clear Remove all items from the diagram content.
QSet< DiagramImageItem * > m_images
bool hasDeletableItems() const
DiagramContent::hasDeletableItems.
QList< Conductor * > conductors(int=AnyConductor) const
DiagramContent::conductors.
int count(int=All) const
DiagramContent::count.
QSet< ElementTextItemGroup * > m_texts_groups
DiagramContent & operator+=(const DiagramContent &other)