Important: Please read the Qt Code of Conduct -

Button as exclusive group

  • Hi there,

    is something possible like the following code snipped in qt quick:

    @ ButtonRow {
    checkedButton: b2
    Button {
    id: b1
    text: "b1"

         Button {
             id: b2
             text: "b2"
         Button {
             id: b3
             text: "b3"

    The ButtonRow's exclusive property is not set, so it is true by default, and thus its child buttons are checkable. In addition, the 'b2' button is set to checked.

  • Moderators


    Trying to understand. What is ButtonRow ?

Log in to reply