Re: Unchecking QRadioButton
Quote:
Originally Posted by
gruszczy
I would like to make QRadioButton, that would function as QCheckBox (for aesthetic reasons).
You mean "unintuitive"?
Quote:
Could anyone tell me, which method should I subclass?
Subclass QCheckBox and reimplement paintEvent. Use QStyle API to draw the button as it would be a radio button.
Re: Unchecking QRadioButton
Why not use Qt Style Sheets? You can make the QCheckBox look like a QRadioButton I think...
But reimplementing it is also a way.
Re: Unchecking QRadioButton
Oh, by the way. Before you do anything complicated try changing the "autoExclusive" property of the radio button to false. I think it should get you your holy grail.