MainWindow Class Reference

the main re-sizable window which contains a GLWindow widget used to hold our basic gl applications More...

#include <MainWindow.h>

Collaboration diagram for MainWindow:
Collaboration graph
[legend]

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.
void keyReleaseEvent (QKeyEvent *_event)
void resizeEvent (QResizeEvent *_event)
 override the resizeEvent inherited from QObject so we can handle key presses.

Private Attributes

GLWindowm_gl
 here we add our GLWindow extending the base functionality of our class

Detailed Description

the main re-sizable window which contains a GLWindow widget used to hold our basic gl applications

Definition at line 16 of file MainWindow.h.


Constructor & Destructor Documentation

MainWindow::MainWindow ( QWidget *  _parent = 0  ) 

constructor

Parameters:
_parent the parent window the for this window
MainWindow::~MainWindow (  ) 

dtor free up the GLWindow and all resources


Member Function Documentation

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

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

Parameters:
[in] _event the event to process
void MainWindow::keyReleaseEvent ( QKeyEvent *  _event  )  [protected]
void MainWindow::resizeEvent ( QResizeEvent *  _event  )  [protected]

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

Parameters:
[in] _event the event to process

Member Data Documentation

here we add our GLWindow extending the base functionality of our class

our gl window created in GLWindow.h

Definition at line 47 of file MainWindow.h.


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

Generated on 16 Aug 2013 for Multi-AgentSystem by  doxygen 1.6.1