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

SvgWidget Class Reference

from PyKDE4.plasma import *

Inherits: QGraphicsWidget → QObject
Namespace: Plasma.SvgWidget

Detailed Description


Signals

 clicked (, Qt::MouseButton a0)

Methods

 __init__ (self, QGraphicsItem parent=0, Qt::WindowFlags wFlags=0)
 __init__ (self, Plasma.Svg svg, QString elementID=QString(), QGraphicsItem parent=0, Qt::WindowFlags wFlags=0)
 clicked (self, Qt::MouseButton a0)
QString elementID (self)
 mouseReleaseEvent (self, QGraphicsSceneMouseEvent event)
 paint (self, QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)
 setElementID (self, QString elementID)
 setSvg (self, Plasma.Svg svg)
QSizeF sizeHint (self, Qt::SizeHint which, QSizeF constraint)
Plasma.Svg svg (self)

Method Documentation

__init__ (  self,
QGraphicsItem  parent=0,
Qt::WindowFlags  wFlags=0
)
__init__ (  self,
Plasma.Svg  svg,
QString  elementID=QString(),
QGraphicsItem  parent=0,
Qt::WindowFlags  wFlags=0
)
clicked (  self,
Qt::MouseButton  a0
)
Signal syntax:
QObject.connect(source, SIGNAL("clicked(Qt::MouseButton)"), target_slot)
QString elementID (   self )
mouseReleaseEvent (  self,
QGraphicsSceneMouseEvent  event
)
paint (  self,
QPainter  painter,
QStyleOptionGraphicsItem  option,
QWidget  widget
)
setElementID (  self,
QString  elementID
)
setSvg (  self,
Plasma.Svg  svg
)
QSizeF sizeHint (  self,
Qt::SizeHint  which,
QSizeF  constraint
)
Plasma.Svg svg (   self )
  • 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