QDoubleCanvasColor Class Reference

#include <QDoubleCanvasColor.h>

List of all members.

Public Member Functions

 QDoubleCanvasColor (QWidget *parent=0)
virtual ~QDoubleCanvasColor ()
void setObjectName (const QString &name)
void setVolBackColorPtr_1 (VVector *v)
void setVolBackColorPtr_2 (VVector *v)
void setTooltip_1 (QString s)
void setTooltip_2 (QString s)
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

QDoubleCanvasColor::QDoubleCanvasColor ( QWidget *  parent = 0  ) 

constructor with given QWidget Pointer

QDoubleCanvasColor::~QDoubleCanvasColor (  )  [virtual]

default destructor


Member Function Documentation

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

method to initialize opengl

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

method for repainting. called in every refresh

void QDoubleCanvasColor::setObjectName ( const QString &  name  ) 

sets the name of the Object

Parameters:
name reference to a QString containing the name

void QDoubleCanvasColor::setVolBackColorPtr_1 ( VVector *  v  ) 

method for setting the pointer to the volumerenderers backgroundcolor No1

Parameters:
v Pointer to VVector

void QDoubleCanvasColor::setVolBackColorPtr_2 ( VVector *  v  ) 

method for setting the pointer to the volumerenderers backgroundcolor No2

Parameters:
v Pointer to VVector

void QDoubleCanvasColor::setTooltip_1 ( QString  s  ) 

method for setting tooltip No1

Parameters:
s is the tooltip string

void QDoubleCanvasColor::setTooltip_2 ( QString  s  ) 

method for setting the tooltip No2

Parameters:
s is the tooltip string

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

method called when window is resized

Parameters:
w width of widget
h height of widget

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

event callback for the paint event

Parameters:
e pointer to QPaintEvent

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

event callback for the mousepressevent

Parameters:
e Pointer to QMouseEvent

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

event callback for the mousereleaseevent

Parameters:
e Pointer to QMouseEvent

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

event callback for the mousemoveevent

Parameters:
e Pointer to QMouseEvent

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

event callback for the mousedoubleclickevent

Parameters:
e Pointer to QMouseEvent

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

event callback for the keypressevent

Parameters:
e Pointer to QKeyEvent

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

event callback for the keyreleaseevent

Parameters:
e Pointer to QKeyEvent

const VMouseEvent QDoubleCanvasColor::getMouseEvent ( QMouseEvent *  e  ) 

Method for creating the current Mousevent

Parameters:
e Pointer to QMouseEvent
Returns:
VMouseEvent

const VKeyboardEvent QDoubleCanvasColor::getKeyboardEvent ( QKeyEvent *  e  ) 

Method for creating the Keybard event

Parameters:
e QKeyEvent
Returns:
VKeyboardEvent

void QDoubleCanvasColor::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