implemented context help button

wilder-pre-rebase
Hugo Pereira Da Costa 11 years ago
parent 2a7e98b20e
commit c6da10c15e
  1. 13
      windec/kdecoration2/breezebutton.cpp

@ -273,6 +273,19 @@ namespace Breeze
break;
}
case KDecoration2::DecorationButtonType::ContextHelp:
{
QPainterPath path;
path.moveTo( 5, 6 );
path.arcTo( QRectF( 5, 3.5, 8, 5 ), 180, -180 );
path.cubicTo( QPointF(12.5, 9.5), QPointF( 9, 7.5 ), QPointF( 9, 11.5 ) );
painter->drawPath( path );
painter->drawPoint( 9, 15 );
break;
}
default: break;
}

Loading…
Cancel
Save