QBackgroundCanvas Class Reference

#include <QBackgroundCanvas.h>

List of all members.

Public Member Functions

 QBackgroundCanvas (QWidget *parent=0)
virtual ~QBackgroundCanvas ()
void setObjectName (const QString &name)
void setVolBackColorPtr (VVector *v)
virtual void resizeGL (int w, int h)
virtual void paintEvent (QPaintEvent *e)
virtual void mousePressEvent (QMouseEvent *e)
virtual void mouseReleaseEvent (QMouseEvent *e)
virtual void mouseMoveEvent (QMouseEvent *e)
virtual void mouseDoubleClickEvent (QMouseEvent *e)
virtual void keyPressEvent (QKeyEvent *e)
virtual void keyReleaseEvent (QKeyEvent *e)
const VMouseEvent getMouseEvent (QMouseEvent *e)
const VKeyboardEvent getKeyboardEvent (QKeyEvent *e)
virtual void redraw ()

Protected Member Functions

virtual void initializeGL ()
virtual void paintGL ()


Detailed Description

class for rendering the color of the background, when clicked it provides the user with a color picker dialog

Constructor & Destructor Documentation

QBackgroundCanvas::QBackgroundCanvas ( QWidget *  parent = 0  ) 

constructor with given QWidget Pointer

QBackgroundCanvas::~QBackgroundCanvas (  )  [virtual]

default destructor


Member Function Documentation

void QBackgroundCanvas::initializeGL (  )  [protected, virtual]

method to initialize opengl

void QBackgroundCanvas::paintGL (  )  [protected, virtual]

method for repainting. called in every refresh

void QBackgroundCanvas::setObjectName ( const QString &  name  ) 

sets the name of the Object

Parameters:
name reference to a QString containing the name

void QBackgroundCanvas::setVolBackColorPtr ( VVector *  v  ) 

method for setting the pointer to the volumerenderers backgroundcolor

Parameters:
v Pointer to VVector

void QBackgroundCanvas::resizeGL ( int  w,
int  h 
) [virtual]

method called when window is resized

Parameters:
w width of widget
h height of widget

void QBackgroundCanvas::paintEvent ( QPaintEvent *  e  )  [virtual]

event callback for the paint event

Parameters:
e pointer to QPaintEvent

void QBackgroundCanvas::mousePressEvent ( QMouseEvent *  e  )  [virtual]

event callback for the mousepressevent

Parameters:
e Pointer to QMouseEvent

void QBackgroundCanvas::mouseReleaseEvent ( QMouseEvent *  e  )  [virtual]

event callback for the mousereleaseevent

Parameters:
e Pointer to QMouseEvent

void QBackgroundCanvas::mouseMoveEvent ( QMouseEvent *  e  )  [virtual]

event callback for the mousemoveevent

Parameters:
e Pointer to QMouseEvent

void QBackgroundCanvas::mouseDoubleClickEvent ( QMouseEvent *  e  )  [virtual]

event callback for the mousedoubleclickevent

Parameters:
e Pointer to QMouseEvent

void QBackgroundCanvas::keyPressEvent ( QKeyEvent *  e  )  [virtual]

event callback for the keypressevent

Parameters:
e Pointer to QKeyEvent

void QBackgroundCanvas::keyReleaseEvent ( QKeyEvent *  e  )  [virtual]

event callback for the keyreleaseevent

Parameters:
e Pointer to QKeyEvent

const VMouseEvent QBackgroundCanvas::getMouseEvent ( QMouseEvent *  e  ) 

Method for creating the current Mousevent

Parameters:
e Pointer to QMouseEvent
Returns:
VMouseEvent

const VKeyboardEvent QBackgroundCanvas::getKeyboardEvent ( QKeyEvent *  e  ) 

Method for creating the Keybard event

Parameters:
e QKeyEvent
Returns:
VKeyboardEvent

void QBackgroundCanvas::redraw (  )  [virtual]

method called when Canvas is readrawn. Calls paintGl


The documentation for this class was generated from the following files:

Generated on Tue Jun 3 21:15:49 2008 for Hierarchical Edge Bundles by  doxygen 1.5.6