KDE 4.7 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

KSvgRenderer Class Reference

from PyKDE4.kdeui import *

Inherits: QSvgRenderer → QObject

Detailed Description

Thin wrapper around QSvgRenderer with SVGZ support.

Deprecated:
At least since Qt 4.6, QSvgRenderer has built-in SVGZ support, so you can use QSvgRenderer instead of KSvgRenderer in new code, and replace KSvgRenderer by QSvgRenderer in old code without any regressions.


Methods

 __init__ (self, QObject parent=0)
 __init__ (self, QString filename, QObject parent=0)
 __init__ (self, QByteArray contents, QObject parent=0)
bool load (self, QString filename)
bool load (self, QByteArray contents)

Method Documentation

__init__ (  self,
QObject  parent=0
)
__init__ (  self,
QString  filename,
QObject  parent=0
)
__init__ (  self,
QByteArray  contents,
QObject  parent=0
)
bool load (  self,
QString  filename
)
bool load (  self,
QByteArray  contents
)
  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal