Plasma
glapplet.cpp
Go to the documentation of this file.
void setAlphaBufferSize(int size)
QSize size() const
int width() const
QPointF currentPosition() const
qreal x() const
qreal y() const
void closeSubpath()
QSizeF size() const
qreal y() const
QGLFormat defaultFormat()
void lineTo(const QPointF &endPoint)
QRectF normalized() const
void addRect(const QRectF &rectangle)
void arcMoveTo(const QRectF &rectangle, qreal angle)
const QMatrix & worldMatrix() const
bool isNull() const
QRect mapRect(const QRect &rectangle) const
void setSampleBuffers(bool enable)
GLuint bindTexture(const QImage &image, GLenum target=GL_TEXTURE_2D)
Definition: glapplet.cpp:96
static QPainterPath headerPath(const QRectF &r, int roundness, int headerHeight=10)
Definition: glapplet.cpp:118
void setFailedToLaunch(bool failed, const QString &reason=QString())
Call this method when the applet fails to launch properly.
Definition: applet.cpp:366
void drawImage(const QRectF &target, const QImage &image, const QRectF &source, QFlags< Qt::ImageConversionFlag > flags)
qreal width() const
GLApplet(QGraphicsItem *parent, const QString &serviceId, int appletId)
Definition: glapplet.cpp:67
int height() const
qreal height() const
bool hasOpenGLPbuffers()
bool hasFailedToLaunch() const
If for some reason, the applet fails to get up on its feet (the library couldn't be loaded...
void arcTo(const QRectF &rectangle, qreal startAngle, qreal sweepLength)
virtual QRectF boundingRect() const
virtual void paintGLInterface(QPainter *painter, const QStyleOptionGraphicsItem *option)
Reimplement this method to render using OpenGL.
Definition: glapplet.cpp:111
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.