Don't override layoutRectForSize

This commit is contained in:
Rick Vogel 2022-09-07 16:18:29 +02:00
parent 532f388156
commit e53d6a2f08
2 changed files with 0 additions and 9 deletions

View File

@ -43,13 +43,6 @@ void BlurredBox::geometryChangeEvent( QskGeometryChangeEvent* e )
update(); update();
} }
QRectF BlurredBox::layoutRectForSize( const QSizeF& size ) const
{
auto padding = paddingHint( Panel );
return { padding.left() / 2, padding.top() / 2, size.width() - padding.right(),
size.height() - padding.bottom() };
}
float BlurredBox::blurDirections() const float BlurredBox::blurDirections() const
{ {
return m_blurDirections; return m_blurDirections;

View File

@ -21,8 +21,6 @@ class BlurredBox : public QskBox
BlurredBox( QQuickItem* parent = nullptr ); BlurredBox( QQuickItem* parent = nullptr );
~BlurredBox() override; ~BlurredBox() override;
QRectF layoutRectForSize( const QSizeF& size ) const override;
QRectF rectOnScreen() const; QRectF rectOnScreen() const;
QRectF rectOfScreen() const; QRectF rectOfScreen() const;