QBackgroundCanvas Class Reference
#include <QBackgroundCanvas.h>
List of all members.
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] | 
        
      
 
 
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:
 - 
  
 
 
 
      
        
          | 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:
 - 
  
 
 
 
      
        
          | void QBackgroundCanvas::mousePressEvent            | 
          ( | 
          QMouseEvent *  | 
           e           | 
           )  | 
           [virtual] | 
        
      
 
event callback for the mousepressevent 
- Parameters:
 - 
  
 
 
 
      
        
          | void QBackgroundCanvas::mouseReleaseEvent            | 
          ( | 
          QMouseEvent *  | 
           e           | 
           )  | 
           [virtual] | 
        
      
 
event callback for the mousereleaseevent 
- Parameters:
 - 
  
 
 
 
      
        
          | void QBackgroundCanvas::mouseMoveEvent            | 
          ( | 
          QMouseEvent *  | 
           e           | 
           )  | 
           [virtual] | 
        
      
 
event callback for the mousemoveevent 
- Parameters:
 - 
  
 
 
 
      
        
          | void QBackgroundCanvas::mouseDoubleClickEvent            | 
          ( | 
          QMouseEvent *  | 
           e           | 
           )  | 
           [virtual] | 
        
      
 
event callback for the mousedoubleclickevent 
- Parameters:
 - 
  
 
 
 
      
        
          | void QBackgroundCanvas::keyPressEvent            | 
          ( | 
          QKeyEvent *  | 
           e           | 
           )  | 
           [virtual] | 
        
      
 
event callback for the keypressevent 
- Parameters:
 - 
  
 
 
 
      
        
          | void QBackgroundCanvas::keyReleaseEvent            | 
          ( | 
          QKeyEvent *  | 
           e           | 
           )  | 
           [virtual] | 
        
      
 
event callback for the keyreleaseevent 
- Parameters:
 - 
  
 
 
 
      
        
          | const VMouseEvent QBackgroundCanvas::getMouseEvent            | 
          ( | 
          QMouseEvent *  | 
           e           | 
           )  | 
           | 
        
      
 
Method for creating the current Mousevent 
- Parameters:
 - 
  
 
- Returns:
 - VMouseEvent 
 
 
 
      
        
          | const VKeyboardEvent QBackgroundCanvas::getKeyboardEvent            | 
          ( | 
          QKeyEvent *  | 
           e           | 
           )  | 
           | 
        
      
 
Method for creating the Keybard event 
- Parameters:
 - 
  
 
- 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:
- D:/Uni/InfoVis/LU/src/QBackgroundCanvas.h
 - D:/Uni/InfoVis/LU/src/QBackgroundCanvas.cpp