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

GLApplet Class Reference

from PyKDE4.plasma import *

Inherits: Plasma.Applet → QGraphicsWidget → QObject
Namespace: Plasma.GLApplet

Detailed Description

GLApplet plasma/glapplet.h <Plasma/GLApplet>

Plasma Applet that is fully rendered using OpengGL


Methods

 __init__ (self, QGraphicsItem parent, QString serviceId, int appletId)
 __init__ (self, QObject parent, QVariantList args)
GLuint bindTexture (self, QImage image, GLenum target=GL_TEXTURE_2D)
 deleteTexture (self, GLuint texture_id)
 makeCurrent (self)
 paintGLInterface (self, QPainter painter, QStyleOptionGraphicsItem option)

Method Documentation

__init__ (  self,
QGraphicsItem  parent,
QString  serviceId,
int  appletId
)
__init__ (  self,
QObject  parent,
QVariantList  args
)
GLuint bindTexture (  self,
QImage  image,
GLenum  target=GL_TEXTURE_2D
)
deleteTexture (  self,
GLuint  texture_id
)
makeCurrent (   self )
paintGLInterface (  self,
QPainter  painter,
QStyleOptionGraphicsItem  option
)

Reimplement this method to render using OpenGL. QPainter passed to this method will always use OpenGL engine and rendering using OpenGL api directly is supported.

  • 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