I have a QButtonGroup of 5 QRadioButtons. The selection is exclusive by default, so I was expecting to only be able to select one of them at a time. Indeed, as a user I can only select one at a time - selecting another button deselects the first; however, if I call setDown() on one of the buttons, it does not deselect the currently selected button and I end up with two selected.
So, my question is, how can I programmatically select buttons so that the behaviour is as if the user had pressed them?
My code is here - in the UiController::displayRoute() method' at the end, I want to make it so that the first button is selected (and only the first button). The table is created here in the Ui::setUpUi() method (nothing much to see, but anyway).
Using Qt4.6.2 on Maemo5.