Hi,
Does anyone know how to implement odd shaped / non-rectangular buttons?
Cheers
Jim
Hi,
Does anyone know how to implement odd shaped / non-rectangular buttons?
Cheers
Jim
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
jimiq (17th September 2009)
Or use style sheets.
http://doc.qt.nokia.com/4.5/stylesheet.html
jimiq (17th September 2009)
Bookmarks