Hallo everybody,
I've a question about QPushbutton states transition.

I derived a class, say it MyQPushButton, from QPushButton.
For it I set some visual properties through stylesheet:

Qt Code:
  1. MyQPushButton
  2. {
  3. background-color: transparent;
  4. border-image: url(<InstallationPath>/Resources/Images/Buttons/MyQPushButton_a.png);
  5. }
  7. MyQPushButton:pressed {
  8. background-color: transparent;
  9. border-image: url(<InstallationPath>/Resources/Images/Buttons/MyQPushButton_b.png);
  10. }
  12. MyQPushButton:disabled {
  13. background-color: transparent;
  14. border-image: url(<InstallationPath>/Resources/Images/Buttons/MyQPushButton_d.png);
  15. }
  17. MyQPushButton:checked {
  18. background-color: transparent;
  19. border-image: url(<InstallationPath>/Resources/Images/Buttons/MyQPushButton_c.png);
  20. }
To copy to clipboard, switch view to plain text mode 

Interacting with a checkable MyQPushButton instance, image "MyQPushButton_b" (pressed state) appears for a while only by clicking on it on unchecked state, during the transition from unchecked to checked.
I would expect to see the same image for a while also by clicking on it on checked state (reverse transition) as in the documentation http://doc.qt.io/qt-5/qabstractbutton.html is reported:

When the user clicks a toggle button to check it, the button is first pressed then released into the checked state. When the user clicks it again (to uncheck it), the button moves first to the pressed state, then to the unchecked state.

Is my interpretation wrong?
Conversely, how could I "force" the pressed state corresponding image to be shown during the checked-unchecked transition?

Thank you!!!