I was able with qt3 to add exclusive buttons in a toolbar with designer by using QActionGroup, but I can't find how do this with qt4, did I Miss Something?
Thanks
Printable View
I was able with qt3 to add exclusive buttons in a toolbar with designer by using QActionGroup, but I can't find how do this with qt4, did I Miss Something?
Thanks
I'm afraid you will have to do it in the code.
It's not a good news :(
Thanks
Oh, come on, it's not that bad:
But I guess that the Trolls could improve Action Editor to include action grouping.Code:
group->addAction( ui.action1 ); group->addAction( ui.action2 ); group->addAction( ui.action3 ); ... _ui.action1->setChecked( true );
Oh, yes I can do it directly in the code, but I think it's cleaner to do it in the designer. Waiting for the trolls ... :)
Thanks