Hi,

I'm trying to make my own QPushButton with customized shape (circle, triangle etc of various dimension and color).
I started by writing a class inheriting from QPushButton and rewriting the paintEvent, but I'm not managing to getting it to work properly. It doesn't look like a button anymore, cannot be clicked etc...

Could anyone send some advice on how to do this.

Cheers
Anyes