[Qt-interest] radio menu item?

Paul Miller paul at fxtech.com
Mon Sep 14 16:10:59 CEST 2009


Yifei Li wrote:
> thank you for the reply.
> 
> According to the document, QActionGroup is exclusive by default.
> 
> Although the menu items in my QActionGroup behave in a mutual exclusive way,
> they look the same as checkboxes instead of radio buttons

This is standard style though. Normally you don't see 
radio-button-looking items in menus, just simple checks. Put your 
exclusive group in a sub-menu or between some separators and it should 
follow standard style on most platforms.

-- 
Paul Miller | paul at fxtech.com | www.fxtech.com | Got Tivo?




More information about the Qt-interest-old mailing list