PDA

View Full Version : SVG and KDE4



pierluc
9th January 2008, 15:05
Hello, I'me new on QT Center and I'me a french Québéçois. So, my english is not the best...

I have a question about KDE4 and the SVG. Can we create a GUI desing on inkscape (SVG software) or can we only use SVG picture on the a GUI who are create on a programmers software?

Tank you,
Pier Luc

jacek
9th January 2008, 15:16
AFAIK you can only display SVG in your application.

wysota
9th January 2008, 15:26
Since Qt 4.3 you can create SVG files using QSvgGenerator. But be aware that KDE4.0 might depend on Qt4.2 and not 4.3, so the class might not be available.

ChristianEhrlicher
9th January 2008, 16:18
But be aware that KDE4.0 might depend on Qt4.2 and not 4.3, so the class might not be available.
@wyosota: kde4 will need at least Qt4.3.3 afaik

pierluc
10th January 2008, 17:47
AFAIK you can only display SVG in your application.
But, this is svg:
http://picasaweb.google.com/mmauder/KDE400/photo#5152342502705462338

So, I think we have a lot of new possibility en KDE4. It's not just a change PNG to SVG, it's very bigger.

To build this desing, if you use inkscape only for icones. How can you create a very beautiful desing like that without using a desing software like inkscape?

jacek
10th January 2008, 21:34
It's not just a change PNG to SVG, it's very bigger.
Yes, of course, but still it's just a matter of displaying SVG. You still need some code to make things work.


To build this desing, if you use inkscape only for icones. How can you create a very beautiful desing like that without using a desing software like inkscape?
The thing you saw on these screenshots is called Plasma (http://plasma.kde.org/). It's a mixture of QGraphicsView, SVG and other cool graphics stuff from Qt.

You might find these links interesting:
http://zrusin.blogspot.com/
http://labs.trolltech.com/page/Graphics/About/Dojo

pierluc
11th January 2008, 14:25
Can we use plasma to buld the complete GUI of a software or it's juste for the compute open/close/reset window and clock on the desktop?

I see that we can animate the SVG picture. So is it possible to dray a graphic on the svg?
http://sourceforge.net/project/screenshots.php?group_id=146038&ssid=21739

This graphic change when we change the gamma value.
This is the version for kt3. It's not very beautiful.

I would like to know if I can draw a very dynamic GUI desing on a desing software and give it to a programmer to build a "plasma" software for KDE4.

edit: If we build a desing with plasma ans we use the same style than oxygene default style and the user change the style to an other, is the colors of the our desing will change? Or, it will keep the style oxygène?

It will not be very beautiful if the user is a women who like pink and the style of the software is black.

jacek
12th January 2008, 19:16
Can we use plasma to buld the complete GUI of a software or it's juste for the compute open/close/reset window and clock on the desktop?
Plasma is meant for desktop widgets.


I see that we can animate the SVG picture. So is it possible to dray a graphic on the svg?
Currently Qt supports only "static features" (http://www.w3.org/Graphics/SVG/feature/1.2/#SVG-static) of SVG Tiny.


If we build a desing with plasma ans we use the same style than oxygene default style and the user change the style to an other, is the colors of the our desing will change? Or, it will keep the style oxygène?
You can enforce the application's style, but users might not like it.