Important: Please read the Qt Code of Conduct -

Choosing two radio buttons

  • I have a set 10 buttons, I want to allow the user to check/select two buttons, when he selects the third one of the previous button should get deselected automatically.
    Can anyone suggest a qml component to achieve this?

  • Moderators

    There is no such component, since such behavior is very specific. You would need to implement this behavior yourself. Shouldn't be that hard. You could use a ButtonGroup and ensure that max 2 buttons are checked whenever a button is clicked in the group (see the signal).

Log in to reply