Searched refs:newParentRect (Results 1 – 8 of 8) sorted by relevance
/dports/science/kst2/kst-plot-38eddb5322a1d557f9d86ea95d456d76272941e3/src/libkstapp/ |
H A D | lineitem.cpp | 356 void LineItem::updateChildGeometry(const QRectF &oldParentRect, const QRectF &newParentRect) { in updateChildGeometry() argument 367 qreal newDx = cos(theta)*oldL*newParentRect.width()/oldParentRect.width(); in updateChildGeometry() 368 qreal newDy = sin(theta)*oldL*newParentRect.height()/oldParentRect.height(); in updateChildGeometry() 378 setPos(relativeCenter().x() * newParentRect.width() + newParentRect.x(), in updateChildGeometry() 379 relativeCenter().y() * newParentRect.height()+ newParentRect.y()); in updateChildGeometry() 383 setRelativeWidth(newWidth / newParentRect.width()); in updateChildGeometry()
|
H A D | labelitem.cpp | 461 void LabelItem::updateChildGeometry(const QRectF &oldParentRect, const QRectF &newParentRect) { in updateChildGeometry() argument 467 QPointF newBottomLeft = newParentRect.topLeft() + in updateChildGeometry() 468 QPointF(newParentRect.width() * _parentRelativeLeft.x(), in updateChildGeometry() 469 newParentRect.height() * _parentRelativeLeft.y()); in updateChildGeometry() 475 QPointF newBottomRight = newParentRect.topLeft() + in updateChildGeometry() 476 QPointF(newParentRect.width() * _parentRelativeRight.x(), in updateChildGeometry() 477 newParentRect.height() * _parentRelativeRight.y()); in updateChildGeometry()
|
H A D | lineitem.h | 69 virtual void updateChildGeometry(const QRectF &oldParentRect, const QRectF &newParentRect);
|
H A D | labelitem.h | 65 virtual void updateChildGeometry(const QRectF &oldParentRect, const QRectF &newParentRect);
|
H A D | viewitem.cpp | 2052 void ViewItem::updateChildGeometry(const QRectF &oldParentRect, const QRectF &newParentRect) { in updateChildGeometry() argument 2060 qreal newHeight = relativeHeight() * newParentRect.height(); in updateChildGeometry() 2061 qreal newWidth = relativeWidth() * newParentRect.width(); in updateChildGeometry() 2074 …QPointF newCenter = newParentRect.topLeft() + QPointF(newParentRect.width() * _parentRelativeCente… in updateChildGeometry() 2082 qreal newHeight = relativeHeight() * newParentRect.height(); in updateChildGeometry() 2083 qreal newWidth = relativeWidth() * newParentRect.width(); in updateChildGeometry() 2085 QPointF newTopLeft = newParentRect.topLeft() - itemRect.topLeft() + in updateChildGeometry() 2086 QPointF(newParentRect.width() * _parentRelativePosition.x(), in updateChildGeometry() 2087 newParentRect.height() * _parentRelativePosition.y()); in updateChildGeometry()
|
H A D | viewitem.h | 365 virtual void updateChildGeometry(const QRectF &oldParentRect, const QRectF &newParentRect);
|
H A D | plotitem.h | 292 virtual void updateChildGeometry(const QRectF &oldParentRect, const QRectF &newParentRect);
|
H A D | plotitem.cpp | 3560 void PlotItem::updateChildGeometry(const QRectF &oldParentRect, const QRectF &newParentRect) { in updateChildGeometry() argument 3561 ViewItem::updateChildGeometry(oldParentRect, newParentRect); in updateChildGeometry()
|