Revision 696394
Go back to digest for 5th August 2007Features in Utilities
Sebastian Sauer committed changes in /trunk/KDE/kdeutils/superkaramba/skapplet:
The PlasmaApplet painter works now.
import PlasmaApplet
svg = PlasmaApplet.widget("Svg")
svg.setImageFile("widgets/clock")
svg.setContentType("ImageSet")
svg.setSize(150.0,150.0)
def paintApplet(painter, rect):
svg.paint( painter, [20.0, 20.0] )
PlasmaApplet.setPainterEnabled(True)
PlasmaApplet.connect("paint(QObject*,QRect)", paintApplet)
File Changes
Modified 2 files
- /trunk/KDE/kdeutils/superkaramba/skapplet
- /skappletadaptor.h
- /skwidgetadaptor.h
2 files changed in total