Can You tell me whats wrong in my implementation?
Anurag Shukla
A man who never makes mistake is the man who never does anything! Theodre Rosvelt!
I would use a style sheet. almost same as CSS, and it makes it possible to have several styles...
But if your shape is very irregular, the paint might be an easier approach.
For info on style sheets:
http://foss.in/2007/register/slides/...Sheets_484.pdf
http://labs.trolltech.com/blogs/category/labs/styles/
and of course the style sheets examples provided in the docs.
Several of the comments on the blogs in the labs have solutions to some styling as well.
How do I resize push button?
Qt 5.3 Opensource & Creator 3.1.2
Bookmarks