|  | QElectroTech
    0.8-dev
    | 
 
 
 
Go to the documentation of this file.
   18 #ifndef QGRAPHICSITEMUTILITY_H 
   19 #define QGRAPHICSITEMUTILITY_H 
   27 #endif // QGRAPHICSITEMUTILITY_H 
  
bool centerToBottomDiagram(QGraphicsItem *item_to_center, Element *element_to_follow, qreal offset=0)
centerToBottomDiagram Set item pos to the bottom of diagram and centered vertically to element_to_fol...
Definition: qgraphicsitemutility.cpp:54
bool centerToParentBottom(QGraphicsItem *item)
centerToParentBottom Center the item at the bottom of is parent.
Definition: qgraphicsitemutility.cpp:30
bool centerToBottomDiagram(QGraphicsItem *item_to_center, Element *element_to_follow, qreal offset)
centerToBottomDiagram Set item pos to the bottom of diagram and centered vertically to element_to_fol...
Definition: qgraphicsitemutility.cpp:54
bool centerToParentBottom(QGraphicsItem *item)
centerToParentBottom Center the item at the bottom of is parent.
Definition: qgraphicsitemutility.cpp:30
QRectF boundingRect() const override
Definition: element.cpp:222