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

Hi,
I noticed today that I can color tables. Isn't that weird? So far, it's the only thing I can color.
Btw, I can change fonts of anything.

2007/1/2, Ian Bull < irbull@xxxxxxxxx>:
Since you don't know what eSWT is, I assume you are just using normal
SWT on your Ubuntu machine.  Basically, SWT doesn't actually use QT it
uses GTK.  But just as you can run the Gimp on KDE you can also run
Eclipse (it uses your current gnome theme).  I just did some tests and
it seems that some GTK themes cannot be coloured (as Stef pointed out)
AluminumAlloy-Smog is one example.  Try running gnome-theme-manager and
changing your gnome theme (Simple theme seems to allow button colour
customization).

Cheers,
Ian

Otto wrote:
> I'm a bit lost with those eSWT, Qt/E, QVFB, etc (no idea what they mean).
> Is that a problem of SWT itself or with my environment?
>
> I have tested several widget styles (motif, etc) but got the same result.
>
> 2007/1/2, David Whiteman < dlwhiteman@xxxxxxxxxxxxxxx
> <mailto: dlwhiteman@xxxxxxxxxxxxxxx>>:
>
>     Tuesday, January 2, 2007, 5:05:13 PM, Stef van Dijk wrote:
>
>     > Yeah, I'm afraid I don't know about that environment. When I
>     worked on
>     > this a few years ago, we were building on top of Qt/E and Qtopia
>     (I assume
>     > the eSWT at eclipse.org <http://eclipse.org > still does) and
>     running either on a device (ie,
>     > Sharp Zaurus or the Mainstone) or within QVFB. What we observed
>     was that
>     > certain themes would not "support" changing the color of widgets
>     such as
>     > buttons whereas some themes would. Presumably the theme was
>     superceding
>     > any color settings the application tried to make.
>     > Sorry, but that's about all I have to offer.
>
>     >     Stef
>
>     I can confirm this. For instance, some of the Qt widgets in
>     the Windows style don't support changing the background
>     color. So it would depend on what version of Qt you were
>     using, and what style is being used for you within eSWT. I
>     don't think eSWT is going to give you a way to pick a
>     different style, but you could try hacking the eSWT code
>     yourself to do so to see if that's the problem. I recall the
>     Windows 95 style was a bit more forgiving than the XP one
>     when it comes to covers.
>
>     --
>     Regards,
>     David
>     mailto: dlwhiteman@xxxxxxxxxxxxxxx <mailto:dlwhiteman@xxxxxxxxxxxxxxx>
>     news://news.eclipse.org/eclipse.platform.swt
>     http://www.eclipse.org/newsportal/thread.php?group=eclipse.platform.swt
>
>
>     _______________________________________________
>     platform-swt-dev mailing list
>     platform-swt-dev@xxxxxxxxxxx <mailto:platform-swt-dev@xxxxxxxxxxx>
>     https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>

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


Back to the top