[Qt-interest] Bug in QColumnView..

Scott Aron Bloom Scott.Bloom at onshorecs.com
Sat Oct 23 03:13:12 CEST 2010


I have a QColumnView tied to a custom model.

 

The model looks absolutely fine as a QTreeView..

 

However, presentation wide, it just looks really great as a QColumnView

 

Except for one bug.  When a QMOdelIndex has no children, and I click on
it, a new column SHOULD NOT be created.

 

I could understand if my hasChildren() returned true, or my rowCount()
or columnCount() returned >0, they don't.

 

I don't have a previewWidgetSet, so there is simply no reason for this
extra column.

 

Is there any way to turn it off?

 

Thanks in advance.

Scott

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101022/cf230d8a/attachment.html 


More information about the Qt-interest-old mailing list