Tucano  0.1
A library for rapid prototyping with modern OpenGL and GLSL
Tucano::QtPlainWidget Class Reference

A plain QtWidget. More...

#include <qtplainwidget.hpp>

Inheritance diagram for Tucano::QtPlainWidget:

Public Member Functions

 QtPlainWidget (QWidget *parent)
 
virtual ~QtPlainWidget ()
 
virtual void initializeGL (void)
 Initializes openGL and GLEW. More...
 
virtual void resizeGL (void)
 Resize callback for the widget. More...
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event)
 Callback for key press event. More...
 

Detailed Description

A plain QtWidget.

Extends QGLWidget class to include common methods for using ShaderLib This widget is empty, only has initialization methods, such as GLEW.

Constructor & Destructor Documentation

Tucano::QtPlainWidget::QtPlainWidget ( QWidget *  parent)
inlineexplicit
virtual Tucano::QtPlainWidget::~QtPlainWidget ( )
inlinevirtual

Member Function Documentation

virtual void Tucano::QtPlainWidget::initializeGL ( void  )
inlinevirtual

Initializes openGL and GLEW.

void Tucano::QtPlainWidget::keyPressEvent ( QKeyEvent *  event)
inlineprotected

Callback for key press event.

Parameters
eventThe key event that triggered the callback.
virtual void Tucano::QtPlainWidget::resizeGL ( void  )
inlinevirtual

Resize callback for the widget.


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