|
|
|
@ -40,6 +40,7 @@ namespace Breeze |
|
|
|
// mask
|
|
|
|
// mask
|
|
|
|
setMask( QRegion( QVector<QPoint>{ |
|
|
|
setMask( QRegion( QVector<QPoint>{ |
|
|
|
QPoint( 0, GripSize ), |
|
|
|
QPoint( 0, GripSize ), |
|
|
|
|
|
|
|
QPoint( 0, 0 ), |
|
|
|
QPoint( GripSize, 0 ), |
|
|
|
QPoint( GripSize, 0 ), |
|
|
|
QPoint( GripSize, GripSize ), |
|
|
|
QPoint( GripSize, GripSize ), |
|
|
|
QPoint( 0, GripSize )} ) ); |
|
|
|
QPoint( 0, GripSize )} ) ); |
|
|
|
@ -131,9 +132,10 @@ namespace Breeze |
|
|
|
painter.setPen( Qt::NoPen ); |
|
|
|
painter.setPen( Qt::NoPen ); |
|
|
|
painter.setBrush( backgroundColor ); |
|
|
|
painter.setBrush( backgroundColor ); |
|
|
|
|
|
|
|
|
|
|
|
// polygon
|
|
|
|
// polygon -- should really use a rectangle here
|
|
|
|
painter.drawPolygon( QVector<QPoint> { |
|
|
|
painter.drawPolygon( QVector<QPoint> { |
|
|
|
QPoint( 0, GripSize ), |
|
|
|
QPoint( 0, GripSize ), |
|
|
|
|
|
|
|
QPoint( 0, 0), |
|
|
|
QPoint( GripSize, 0 ), |
|
|
|
QPoint( GripSize, 0 ), |
|
|
|
QPoint( GripSize, GripSize ), |
|
|
|
QPoint( GripSize, GripSize ), |
|
|
|
QPoint( 0, GripSize )} ); |
|
|
|
QPoint( 0, GripSize )} ); |
|
|
|
|