79340396

Date: 2025-01-08 18:41:01
Score: 2
Natty:
Report link

Using a stylesheet you can specify the colors you want when the button is in a disabled state, e.g., myBtn.setStyleSheet("QPushButton:disabled{background-color: mycolor;}).

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: crubow