2

In c# I can apply this property on RadioButton

enter image description here

So the RadioButton is displayed like a PushButton but it's still a radio button.

Is there a way to do that with Qt in c++ ? maybe programmaticaly.

amdev
  • 3,010
  • 3
  • 35
  • 47

1 Answers1

2

Use QPushButton and setCheckable( true ). This will get you the same behaviour as a QRadioButton.

davepmiller
  • 2,620
  • 3
  • 33
  • 61