Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Coloring widgets on Qt

SWT currently doesn't have a port to QT.  When you run an SWT application under KDE, it's actually using GTK+ widgets to render itself.  It sounds like there's a problem with your libgtkqt libraries.  What distro and version of KDE are you using?

Daniel

On 1/1/07, Otto <ottoptr@xxxxxxxxx> wrote:
Hi,

Has anybody tried coloring widgets on Qt? I'm trying to do that without success.
The code below:

Color color = new Color(new RGB(255, 0, 0));
Label label = new Label(shell, SWT.NONE);
label.setText ("Testing");
label.setBackground(color);

Runs, but does not color anything.

Any ideas?

Thank you
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top