PDA

View Full Version : glossy look



sylvarant
20th September 2007, 22:22
When I run my application everything looks very squared and stiff, Windows 95 style.
But when I look at the images of the examples at the online reference they look much more modern with a curvy look and glossy button (well sort of)

I'm running qt 4.3 on ubuntu 7.04 in kdevelop

marcel
20th September 2007, 22:37
What is your window manager theme? This has an effect on the look&feel of the app.
If the theme is ok, then have you tried overriding the style?
For instance:
QApplication::setStyle(new QPlastiqueStyle());

sylvarant
20th September 2007, 23:13
thanx got it the plastique them now

Brandybuck
21st September 2007, 19:10
If all Qt4 applications have a win95 look, it may be because of bad configuration. Move your Qt runtime configuration out of the way to see if it helps:

mv ~/.config/Trolltech.conf ~/.config/Trolltech.conf.bak