Qt3/Win Free: qtoolbar problem?
chris at atomice.net
Wed Jan 19 10:25:16 CET 2005
> here's my second little bug report. Actually, I'm not sure
> that this is a bug report at all. Perhaps what I'm going to
> describe is actually an example of the difference between
> native looks on Windows and linux?
> Anyway, the report. This demo program
> int main(int argc, char * argv)
> QApplication a( argc, argv );
> QPixmap image( (const char **) image_data );
> QToolBar toolbar;
> toolbar.resize( 100, 30 );
> QToolButton button(image, "Stop!", "", 0, 0, &toolbar, "");
> a.setMainWidget( &toolbar );
> return a.exec();
> Does not display the icon of the disabled button at all on
> Windows. On linux, the pixmap is greyed out so that its
> outline is still visible.
> Attached are (small) screenshots showing the behaviour on
> Windows and on linux Also attached is the demo program which
> I compiled with
> $ g++ -Iqt3/include -o trial2 trial2.C Lqt3/lib -lqt-mt
> I hope that's enough to get to the bottom of this problem too.
Is this using latest CVS?
I committed some code for monochrome bitmaps (which weren't supported
correctly) which fixed disabled pixmaps on my system. I will try your test
case out as soon as I have time and see if I can reproduce the problem.
More information about the kde-cygwin