I just downloaded the 4.5tp1, built it and built my app against it.

I've got a QTreeView that uses a custom item delegate to customize the  
rendering.  This was working fine with the snapshots up through 09/11,  
but with tp1 I have severe drawing problems, which seem to be clipping  
related.  If I stop using the custom item delegate, the clipping  
problems go away.

I have worked around this by adding the following as the first line in  
my custom item delegate's paint(...) method.

     painter->setClipRect(option.rect);

I also have a similar a QAbstractScrollArea subclass.  I have to  
explicitly clip to the QAbstractScrollArea's content bounds as the  
first thing in the paintEvent().

This is not a huge problem for me, as I obviously have a workaround,  
but...well, now you know.



_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to