Results 1 to 8 of 8

Thread: SVG and KDE4

  1. #1
    Join Date
    Jan 2008
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default SVG and KDE4

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: SVG and KDE4

    AFAIK you can only display SVG in your application.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: SVG and KDE4

    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.

  4. #4
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: SVG and KDE4

    Quote Originally Posted by wysota View Post
    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

  5. #5
    Join Date
    Jan 2008
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: SVG and KDE4

    Quote Originally Posted by jacek View Post
    AFAIK you can only display SVG in your application.
    But, this is svg:
    http://picasaweb.google.com/mmauder/...42502705462338

    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?

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: SVG and KDE4

    Quote Originally Posted by pierluc View Post
    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.

    Quote Originally Posted by pierluc View Post
    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. 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

  7. #7
    Join Date
    Jan 2008
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: SVG and KDE4

    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/scree...038&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.
    Last edited by pierluc; 11th January 2008 at 14:48.

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: SVG and KDE4

    Quote Originally Posted by pierluc View Post
    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.

    Quote Originally Posted by pierluc View Post
    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" of SVG Tiny.

    Quote Originally Posted by pierluc View Post
    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.