Hi,


Is there any way to include an ampersand (&) character in a QCheckBox text? For example I want to do something like this, but having the "&" to actually show up "as is" in my application:
Qt Code:
  1. QCheckBox* myCheck = new QCheckBox("Include Comments & Notes");
To copy to clipboard, switch view to plain text mode 
With the above code the "&" will just be ignored.

I've tried to do this in several ways but haven't succeeded. I know that a work-around could be to create an "empty" checkbox and just add a QLabel after, but I'd prefer to just use the QCheckBox, if possible.

Thanks!