Hi all,
It finally happened - I have a problem.![]()
I want to make a custom QPushButton with three separated areas doing different actions. See the attachment for mock-up.
I managed to draw it (as you can see) and even implement the actions I want, but I'm stuck with the look, I have no idea how to change the state of just one part of the button.
So, the question is: How to create such button with the ability to change the state of each part, without actually splitting it into three (because it will look..weird)?


Reply With Quote

Now I'm at home, so I managed do make one. The first one is hovered state and the second is pressed state.

, I think I managed to do it the way I meant.

Bookmarks