uncrustified
This commit is contained in:
parent
1900adbabb
commit
7ca1e2f261
|
@ -80,8 +80,10 @@ inline constexpr QskHctColor QskHctColor::toned( qreal tone ) const noexcept
|
|||
}
|
||||
|
||||
#ifndef QT_NO_DEBUG_STREAM
|
||||
|
||||
class QDebug;
|
||||
QSK_EXPORT QDebug operator<<( QDebug, const QskHctColor& );
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -236,12 +236,15 @@ QRectF QskSliderSkinlet::handleRect(
|
|||
QRectF QskSliderSkinlet::rippleRect(
|
||||
const QskSlider* slider, const QRectF& rect ) const
|
||||
{
|
||||
const auto rippleSize = slider->strutSizeHint( QskSlider::Ripple );
|
||||
const auto handleSize = slider->strutSizeHint( QskSlider::Handle );
|
||||
|
||||
const auto w = ( rippleSize.width() - handleSize.width() ) / 2;
|
||||
const auto h = ( rippleSize.height() - handleSize.height() ) / 2;
|
||||
|
||||
auto r = handleRect( slider, rect );
|
||||
auto rippleSize = slider->strutSizeHint( QskSlider::Ripple );
|
||||
auto handleSize = slider->strutSizeHint( QskSlider::Handle );
|
||||
auto w = ( rippleSize.width() - handleSize.width() ) / 2,
|
||||
h = ( rippleSize.height() - handleSize.height() ) / 2;
|
||||
r = r.marginsAdded( { w, h, w, h } );
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue