At Visual Basic 6 I can create several option buttons, if one pressed, it is in down state, press it again, it pops up.

Is there a way in QT can do this?