#include <plasmaapplet.h>
Public Member Functions | |
PlasmaApplet (QObject *parent, const QVariantList &args) | |
virtual | ~PlasmaApplet () |
void | init () |
virtual void | paintGLInterface (QPainter *painter, const QStyleOptionGraphicsItem *option) |
Protected Slots | |
void | openProject () |
void | setProject (const QModelIndex &index) |
void | doPaint () |
void | startGame () |
void | showGames () |
void | showGameDetails (const QModelIndex &index) |
void | setCamera (GluonGraphics::Camera *camera) |
Protected Member Functions | |
void | resizeEvent (QGraphicsSceneResizeEvent *event) |
Definition at line 51 of file plasmaapplet.h.
PlasmaApplet::PlasmaApplet | ( | QObject * | parent, | |
const QVariantList & | args | |||
) |
Definition at line 46 of file plasmaapplet.cpp.
PlasmaApplet::~PlasmaApplet | ( | ) | [virtual] |
Definition at line 62 of file plasmaapplet.cpp.
void PlasmaApplet::doPaint | ( | ) | [protected, slot] |
Definition at line 111 of file plasmaapplet.cpp.
void PlasmaApplet::init | ( | ) |
Definition at line 75 of file plasmaapplet.cpp.
void PlasmaApplet::openProject | ( | ) | [protected, slot] |
Definition at line 90 of file plasmaapplet.cpp.
void PlasmaApplet::paintGLInterface | ( | QPainter * | painter, | |
const QStyleOptionGraphicsItem * | option | |||
) | [virtual] |
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.
Reimplemented from GluonPlayer::GLFBOApplet.
Definition at line 194 of file plasmaapplet.cpp.
void PlasmaApplet::resizeEvent | ( | QGraphicsSceneResizeEvent * | event | ) | [protected] |
Definition at line 138 of file plasmaapplet.cpp.
void PlasmaApplet::setCamera | ( | GluonGraphics::Camera * | camera | ) | [protected, slot] |
Definition at line 184 of file plasmaapplet.cpp.
void PlasmaApplet::setProject | ( | const QModelIndex & | index | ) | [protected, slot] |
Definition at line 83 of file plasmaapplet.cpp.
void PlasmaApplet::showGameDetails | ( | const QModelIndex & | index | ) | [protected, slot] |
Definition at line 169 of file plasmaapplet.cpp.
void PlasmaApplet::showGames | ( | ) | [protected, slot] |
Definition at line 146 of file plasmaapplet.cpp.
void PlasmaApplet::startGame | ( | ) | [protected, slot] |
Definition at line 117 of file plasmaapplet.cpp.