Search code examples
qtqt-designer

How can I change the name of a QButtonGroup in QT designer?


I know how to add buttons to a buttongroup, but I can't find anywhere to change the buttongroup


Solution

  • Highlight the buttons, right click and select "Assign to Button Group -> New Button Group". This creates a new QButtonGroup in the object inspector pane (usually top right). There, you can change the name of the group by double clicking on the left cell titled "Object".

    enter image description here