GluonPlayer::PlasmaApplet Class Reference

#include <plasmaapplet.h>

Inheritance diagram for GluonPlayer::PlasmaApplet:
GluonPlayer::GLFBOApplet

List of all members.

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)

Detailed Description

Definition at line 51 of file plasmaapplet.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Mon Dec 27 13:13:44 2010 for Gluon by  doxygen 1.6.3