Hi,
Does anyone know how to implement odd shaped / non-rectangular buttons?
Cheers
Jim
:confused:
Printable View
Hi,
Does anyone know how to implement odd shaped / non-rectangular buttons?
Cheers
Jim
:confused:
On solution is to do the painting yourself from scratch of your odd shape.
But another solution is to use the QWidget::setMask with a mask created from QBitmap or QRegion that provide a lot of drawing facilities.
S.Cascio
Or use style sheets.
http://doc.qt.nokia.com/4.5/stylesheet.html