Posted by: Anonymous
[ip: 68.144.80.2]
on October 07, 2008 08:19 PM
"Plasma allows SVG theming, but is essentially a new toolkit (based on QT's canvas)"
Plasma is a component system built on top of the toolkit. we have been careful not to create "a new toolkit" and do not actually re-implement the widgetry or what not.
"This means that to take advantage of SVG theming you'd need to completely rewrite your application to use Plasma."
there are two classes that are useful here: Plasma::Svg and Plasma::Theme. neither have any knowledge of or assumptions about widgets. we do provide some ready-made themed widgets for use on the canvas that mate Plasma::Svg with, say, QPushButton.
so you don't need to rewrite your app to use Plasma, you'd just need to have an app that uses QGraphicsView or else handle the painting of Svg->widgets yourself, as you describe being necessary with Manju. the Svgs themselves just sit on the disk under desktoptheme/ so anything could source them .. again, like Manju.
in other words, you are going through and reinventing some of the work we've already done. that's completely cool and totally up to you; the goal with plasma has never been to be a "theme every pixel in every application" project, which is what manju is trying to do.
but it would be nice to (a) actually get plasma's role correct when you talk about it and (b) maybe look at existing art and see where we can cooperate/coordinate.
it would be a shame to see Manju come out with its own definitions of where svg files should be and what they should be named and have plasma and its svg's sitting there as well. there is a pattern that is very evident in projects that start out in the gtk/gnome world wherein there is a tacit dismissal of other work out there without really bothering to understand it and then reinventing the whole vehicle starting with the shape of the wheels.
Re: New Manju project plans to redraw desktop art
Posted by: Anonymous [ip: 68.144.80.2] on October 07, 2008 08:19 PMPlasma is a component system built on top of the toolkit. we have been careful not to create "a new toolkit" and do not actually re-implement the widgetry or what not.
"This means that to take advantage of SVG theming you'd need to completely rewrite your application to use Plasma."
there are two classes that are useful here: Plasma::Svg and Plasma::Theme. neither have any knowledge of or assumptions about widgets. we do provide some ready-made themed widgets for use on the canvas that mate Plasma::Svg with, say, QPushButton.
so you don't need to rewrite your app to use Plasma, you'd just need to have an app that uses QGraphicsView or else handle the painting of Svg->widgets yourself, as you describe being necessary with Manju. the Svgs themselves just sit on the disk under desktoptheme/ so anything could source them .. again, like Manju.
in other words, you are going through and reinventing some of the work we've already done. that's completely cool and totally up to you; the goal with plasma has never been to be a "theme every pixel in every application" project, which is what manju is trying to do.
but it would be nice to (a) actually get plasma's role correct when you talk about it and (b) maybe look at existing art and see where we can cooperate/coordinate.
it would be a shame to see Manju come out with its own definitions of where svg files should be and what they should be named and have plasma and its svg's sitting there as well. there is a pattern that is very evident in projects that start out in the gtk/gnome world wherein there is a tacit dismissal of other work out there without really bothering to understand it and then reinventing the whole vehicle starting with the shape of the wheels.
#