QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Namespaces | Functions
qgraphicsitemutility.cpp File Reference
#include "qgraphicsitemutility.h"
#include "../diagram.h"
#include "element.h"
#include <QDebug>
#include <QGraphicsItem>
Include dependency graph for qgraphicsitemutility.cpp:

Namespaces

namespace  QGIUtility
 

Functions

bool QGIUtility::centerToParentBottom (QGraphicsItem *item)
 centerToParentBottom Center the item at the bottom of is parent.
 
bool QGIUtility::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_follow, and add offset.
 
void QGIUtility::drawBoundingRectSelection (QGraphicsItem *item, QPainter *painter)