void QGraphicsDropShadowEffect::setBlurRadius(qreal blurRadius) { Q_D(QGraphicsDropShadowEffect); if (qFuzzyCompare(d->filter->blurRadius(), blurRadius)) return; d->filter->setBlurRadius(blurRadius); updateBoundingRect(); emit blurRadiusChanged(blurRadius); }
void ShadowEffect::setBlurRadius(qreal value) { if (qFuzzyCompare(m_blurRadius, value)) { return; } m_blurRadius = value; m_shadow = QImage(); updateBoundingRect(); blurRadiusChanged(m_blurRadius); }
void QGraphicsBlurEffect::setBlurRadius(qreal radius) { Q_D(QGraphicsBlurEffect); if (qFuzzyCompare(d->filter->radius(), radius)) return; d->filter->setRadius(radius); updateBoundingRect(); emit blurRadiusChanged(radius); }