[Qt-interest] QCheckBox as editor in QTreeView

Daniele Esposti expo at expobrain.net
Tue Jun 21 13:04:17 CEST 2011


If you use a QCheckBox as an item editor in a QTreeView under Mac OS X
is not possible to change the check state by mouse left click.

I attached a small Qt Creator project ti reproduce the issue.

If you run the project, double click on an item, tick the check box,
under Mac OS X it will remove the editor without changing the item's
value; it works if during edit you use the space bar to tick the check
box.

No problems at all under Ubuntu 11.04 and Windows 7.

-- 
Daniele Esposti

My Blog http://www.expobrain.net
LinkedIn http://www.linkedin.com/in/danieleesposti
Twitter http://www.twitter.com/#!/expobrain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: checkbox.zip
Type: application/zip
Size: 4896 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110621/9704ce7c/attachment.zip 


More information about the Qt-interest-old mailing list