No, it's another thing, I'm speaking about QTreeView (and QTableView is
affected too, I think).
I'm pretty sure this is a bug and it affects all Qt applications. And
it's easy to reproduce. It's more noticeable on the Mac because the gray
background is more pronounced. But the same happens in Windows, simply
the color contrasts less.
Obvious example on the Mac:

1) Run the Qt example "Standarg dialogs"
2) Uncheck "Use native dialog"
3) click on QFileDialog::getOpenFileNames()
4) Select "File of type *.txt", to gray out non txt files (something
standard under OS X, not Windows).
5) Switch to "Detail View" (top right button in the dialog)

Result: the background of all non .txt stuff is gray and this is not
normal.
If you switch back to "List view", then the display is correct. Items
appear correctly disabled.

Philippe

On Sat, 28 Nov 2009 15:56:17 +0100
Bastian Bense <[email protected]> wrote:

> I guess you are talking about the standard QGraphics*Item classes.This should 
> not be true for your own implementation of graphic items.
> 
> 
> 2009/11/9 Philippe <[email protected]>
> I hope it's a bug and not a modified feature, because it does not look
> >  right:
> > 
> >  In items views, the background of disabled items is grey (and much too dark
> >  grey IMHO, if this is meant to be a feature), while it was white before
> >  (ie. the normal window background).
> > 
> >  This is under Windows and OSX.
> > 
> >  As an example under OSX, run the Qt sample QFileDialog::
> >  getOpenFileName(), (non-native one!), and use the *.txt filter. All
> >  disabled items will look as I said.
> > 
> >  Philippe
> >  _______________________________________________
> >  Qt4-preview-feedback mailing list
> > [email protected]
> > http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
> 
> 
> 
> 
> -- 
> Best regards,
> Bastian Bense
> 
> 
> 


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

Reply via email to