MainWindow Class Reference

our main UI window and contains a GLWindow widget used to hold our basic gl applications More...

#include <MainWindow.h>

List of all members.

Public Member Functions

 MainWindow (QWidget *parent=0)
 constructor
 ~MainWindow ()
 dtor free up the GLWindow and all resources

Protected Member Functions

void keyPressEvent (QKeyEvent *_event)
 override the keyPressEvent inherited from QObject so we can handle key presses.

Detailed Description

our main UI window and contains a GLWindow widget used to hold our basic gl applications


Constructor & Destructor Documentation

MainWindow::MainWindow ( QWidget *  parent = 0  ) 

constructor

Parameters:
[in] parent the parent window the for this window
MainWindow::~MainWindow (  ) 

dtor free up the GLWindow and all resources

virtual function to release the mainwindow


Member Function Documentation

void MainWindow::keyPressEvent ( QKeyEvent *  _event  )  [protected]

override the keyPressEvent inherited from QObject so we can handle key presses.

this method is called every time the main window receives a key event. we then switch on the key value and set the camera in the GLWindow

Parameters:
[in] _event the event to process

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions
Generated on Fri Aug 19 09:42:55 2011 for quad.pro by  doxygen 1.6.3