View Full Version : odd shaped buttons
jimiq
16th September 2009, 16:35
Hi,
Does anyone know how to implement odd shaped / non-rectangular buttons?
Cheers
Jim
:confused:
scascio
16th September 2009, 17:03
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
profoX
16th September 2009, 19:50
Or use style sheets.
http://doc.qt.nokia.com/4.5/stylesheet.html
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.