Hierarchical Edge Bundle 1.0
|
#include <OpenGLWidget.h>
Public Member Functions | |
OpenGLWidget (QWidget *parent=0) | |
~OpenGLWidget () | |
Static Public Attributes | |
static QGLContext * | context |
static QGLFormat * | format |
Protected Member Functions | |
void | initializeGL () |
void | resizeGL (int width, int height) |
void | paintGL () |
void | mousePressEvent (QMouseEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | keyPressEvent (QKeyEvent *event) |
void | keyReleaseEvent (QKeyEvent *event) |
This class renders the tree, using the Renderimplementation class.
OpenGLWidget::OpenGLWidget | ( | QWidget * | parent = 0 | ) |
Constructor which initialize this widget
OpenGLWidget::~OpenGLWidget | ( | ) |
Standarddeconstructor
void OpenGLWidget::initializeGL | ( | ) | [protected] |
This method initialize OpenGL
void OpenGLWidget::keyPressEvent | ( | QKeyEvent * | event | ) | [protected] |
This metod gets called, if a keyboard button is pressed.
event | Mouse Event |
void OpenGLWidget::keyReleaseEvent | ( | QKeyEvent * | event | ) | [protected] |
This metod gets called, if a keyboard button is released.
event | Mouse Event |
void OpenGLWidget::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected] |
This metod gets called, if the mouse is moved.
event | Mouse Event |
void OpenGLWidget::mousePressEvent | ( | QMouseEvent * | event | ) | [protected] |
This metod gets called, if the mouse is pressed.
event | Mouse Event |
void OpenGLWidget::mouseReleaseEvent | ( | QMouseEvent * | event | ) | [protected] |
This metod gets called, if the mouse is released.
event | Mouse Event |
void OpenGLWidget::paintGL | ( | ) | [protected] |
This method paints the acutual frame
void OpenGLWidget::resizeGL | ( | int | width, |
int | height | ||
) | [protected] |
This method resize the OpengGL window
width[int] | width of the window |
height[int] | height of the window |
QGLContext* OpenGLWidget::context [static] |
QGLFormat* OpenGLWidget::format [static] |