[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-cygwin
Subject: RE: Qt3/Win Free: qtoolbar problem?
From: "Chris January" <chris () atomice ! net>
Date: 2005-01-19 9:25:16
Message-ID: 20050119092523.26439.qmail () ktown ! kde ! org
[Download RAW message or body]
> 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, "");
> button.setEnabled(false);
>
> a.setMainWidget( &toolbar );
> toolbar.show();
> 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.
Chris
_______________________________________________
kde-cygwin mailing list
kde-cygwin@kde.org
https://mail.kde.org/mailman/listinfo/kde-cygwin
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic