Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
How to gray out a switch button?
myButton->setEnabled(false);
Of course this also makes it unresponsive. It's disabled.
what is the difference between setenabled and setDisabled, can they be used interchangebly with change in bool value
@Shines said in graying out:
Yes, I think so.