Hi all,
arrowbutton.png
Can some body explain how to draw arrow button like this. Its a triangle on QPushButton which changes the bottom shadow color and top shadow color on clicking.
Thanks in Advance,
Boss
Hi all,
arrowbutton.png
Can some body explain how to draw arrow button like this. Its a triangle on QPushButton which changes the bottom shadow color and top shadow color on clicking.
Thanks in Advance,
Boss
No It looks totally different, I want black color to be filled in the triangle. Would you
please tell me how to draw a triangle.
Override paint event, use black brush and QPainter::drawPolygon().
J-P Nurmi
Bookmarks