QElectroTech 0.100.0-dev
|
#include "qgraphicsitemutility.h"
#include "../diagram.h"
#include "element.h"
#include <QDebug>
#include <QGraphicsItem>
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) |