[Qt-interest] radio menu item?
R. Reucher
rene.reucher at batcom-it.net
Mon Sep 14 15:55:45 CEST 2009
On Mon, 14 Sep 2009 09:37:37 -0400, Yifei Li wrote:
> I use QActionGroup::addAction, but the menu items are made like
> checkboxes.
Sure you didn't use QActionGroup::setExclusive(false)? Because judging
from the docs, if exclusive == true (default), radio buttons should be
used... I've not tried it myself, though.
See http://qt.nokia.com/doc/4.5/qactiongroup.html#details
HTH, René
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
More information about the Qt-interest-old
mailing list