|
|
Helge Preuss a écrit :
Maybe I don't get what you want to achieve there, but I wonder why you
use a QCheckBox at all. Why don't you use setCheckable(),
setItemChecked( int id, bool check ) and isItemChecked( int id )
instead? Then toggle the checked status of the "Enabled" item every
time you select the item...
HTH, Hel
This context menu have both checkables item and non-checkables items. By
using the functionn setCheckable() all items become checkable or
non-checkable.
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|