|
|
|
@ -53,6 +53,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 )} ) ); |
|
|
|
@ -144,9 +145,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 )} ); |
|
|
|
@ -181,7 +183,7 @@ namespace Breeze |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//_______________________________________________________________________________
|
|
|
|
//_______________________________________________________________________________
|
|
|
|
|