Unifying GTK & QT Theme Engines 405
An anonymous reader writes "Some guy on kde-look recently released code that
makes gtk apps use the current qt theme. Seems
this would be a major development for unifying
the 2 environments. From the URL:
This GTK theme engine uses the currently selected QT style to do it's drawing. Basically, it makes your GTK apps look like QT ones. "
The finbe print . . . (Score:5, Informative)
Currently the code is very buggy and incomplete - a few widgets do not yet use the QT drawing code. However it is still perfectly usable. This theme is slightly slower than that of most native GTK themes, but the difference is hardly noticed on a fast machine.
Known bugs: * Menus do not have borders
* The background colour doesn't change when text is highlighted
* Colours are incorrect when using certain styles (eg. Keramik)
* Buttons, and other widgets, may be the wrong size
* Scrollbars sometimes misbehave
This is a 0.x release - do don't expect it to work perfectly
That some guy is... (Score:5, Informative)
Re:Bluecurve (Score:5, Informative)
This theme engine uses the actual qt theme and thus does not require any duplicate work when creating a theme.
I wonder if the reverse could also be done (a qt engine that uses the gtk engine for its theme) or is gtk more flexible in this regard?
Jeroen
Re:Bluecurve (Score:5, Informative)
No. Bluecurve is one widget style under QT and another under GTK, that have been designed to look the same as one another.
This system is quite different to that, it gets GTK to effectively draw widgets in the same style as the QT theme, regardless of which QT theme you're using.
Re:Why do we need two widgets? (Score:2, Informative)
Don't know what you mean with the application framework, but if you look at QT/KDE as a competitor to GTK/Gnome, the KDE framework provides everything from common dialogs, clipboard handling, a component model (KParts) and vfs (kio-slaves) to IPC (DCOP), XML UI definitions, plug-in support and common components like a HTML rendering engine, a JS interpreter or a spell checker, that applications can use.
Also applications can expose interfaces for use with scripting languages and tons of other features.
Check http://developer.kde.org/ if you want to learn more. (Though I guess you already know these things and still like to troll.)
Re:ummmmm... (Score:2, Informative)
This may not be useful to you but if you think that someday you might like an engine that lets QT programs fit in better with your GTK desktop then you can see that this is good for people who are in the opposite position.
It may not help everyone, but it helps some of them. That's still good, right?
Re:Accountability Problems (Score:3, Informative)
WTF are you talking about? KDE is free. Maybe you should specifically state what leads you to say something like the above.
Re:Okay, now... (Score:4, Informative)
Re:Accountability Problems (Score:3, Informative)
Yeah, just like the linux kernel
For other software, they are just like any other commecrial software company.
Btw. it seems you are talking about QT, not KDE. I sense you should inform yourself about KDE and what some people (rightly or wrongly) suppose to be its problems. Funnily, the FSF should be [gnu.org] more satisfied with QT's licensing than with GTK's, but what do I know.
Re:Accountability Problems (Score:1, Informative)
Yeah, still debatable. Not that it particularly matters.
Re:Thank Goodness (Score:3, Informative)
Right now, IIRC, the color is part of the theme in gnome, and you need to find an "auvergine-brushed-metal" somewhere.
On KDE, the widget look and the color are separate, and can be configured at will.
Re:Lawsuits by Canopy? (Score:2, Informative)
Yes, as one of those employees I can assure you that this idea of Canopy having some sort of influence over Trolltech is entirely absurd.
Re:Thank Goodness (Score:2, Informative)
Uh, unless you use pixmaps to texture things, you can override the theme engine's default colors in GTK+. At least that was how it was in GTK+ 1.x, probably so also in 2.x as well...
I used to use a slate blue NeXT theme, until I acknowledged that Gray is the Only True NeXT color =)
Re:Why do we need two widgets? (Score:3, Informative)
What do you mean by smaller and more efficient?
Code Size? Virtually all valid ansi C will compile to the same object code when compiled under a C++ compiler. It's possible in this case that the C++ code image still might be marginally larger because of start up code, libraries, etc, though I would doubt that this would matter except in rare situations. In embedded systems, for example, there are efforts to control these size increases.
Code Speed? Unless there are paging effects caused by the rare problem discussed above, the C code compiled under the C++ compiler will be the same speed as under the C compiler. However, is some situations, the C++ compiler can produce faster code: a common example is the C function-pointer qsort method versus the C++ stl sort using functors.
Source Code Size? C++ will blow away C in this department.
Developer efficiency? Libraries make a world of difference, but with the standard libs for both, C++ will blow away C in this department.
Of course, there are ways to write bad C++ that will eliminate any of these advantages, but that's the nature of powerful tools.
HAND
Re:Okay, now... (Score:1, Informative)
Re:Just a style (Score:1, Informative)
It is strange because there was a lot of GNOME flamage about how KDEs approach was so inferior and antiquated (CORBA is the future, remember? it will always be ;-), yet KDEs component framework
is the successful one, go figure!
Read this, and understand it: GNOME is not demphasising Bonobo, Corba or anything like it. CORBA, BTW, also runs many enterprise systems the size of which KDE developers cannot even imagine. I'd suggest doing a bit of research before spewing your gibberish in future.
Hehe (Score:4, Informative)
Anyway, 0.2 should fix some problems people have been having.
Re:Unification in the *nix world (Score:2, Informative)
Re:Unification in the *nix world (Score:4, Informative)
In a word: Windows has NO consistancy at all! And it really fucks up my productivity.
Re:Unification in the *nix world (Score:3, Informative)
Re:Unification (Score:4, Informative)
Windows programs probably use many times more toolkits than Unix. Except for GTK, ALL the Unix toolkits have a Windows version, plus there are dozens of Windows-only toolkits. Therefore there are more Windows toolkits than Unix. I can confirm that quite a few different ones are being used for Windows programs. Also high-end 3D software and other production software like Avid like to use their own in-house toolkits, so that they can access widgets that don't exist anywhere else.
Yet idiots keep posting here their belief that Windows has a single toolkit and that is why it is "unified". That is FALSE. The reason there is unification is because of toolkits copying each other, something that is finally happening in Linux as well.
Re:Unification (Score:2, Informative)
There's also a Windows version of GTK. It's not too commonly used, but the Windows ports of gAIM, the GIMP, and probably some other programs do use it. And just like on Linux, GTK-Win32 is themable.