I need to create a button which has three states:
- unclicked
- intermediate
- clicked
The logic I want to implement with this button is that whenever this button is clicked, I want the system to go to the intermediate state and wait for an event.
In other way when the state transition is unclicked --> intermediate -- > clicked and then clicked --> intermediate -->unclicked.
Does Qt support implementing this kind of button? If so, how?