This commit is contained in:
Marco Martin 2014-06-09 19:44:52 +02:00
parent fa95680a51
commit d3f73c59f3

View File

@ -101,7 +101,18 @@ public:
*/ */
qreal devicePixelRatio(); qreal devicePixelRatio();
/**
* Set a color group for the Svg.
* if the Svg uses stylesheets and has elements
* that are eithe TextColor or BackgroundColor class,
* make them use ButtonTextColor/ButtonBackgroundColor
* or ViewTextColor/ViewBackgroundColor
*/
void setColorGroup(ColorGroup group); void setColorGroup(ColorGroup group);
/**
* @return the color group for this Svg
*/
ColorGroup colorGroup() const; ColorGroup colorGroup() const;
/** /**