Moka Ihm Qt
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
GLMultiWindow Class Reference

#include <gl-multi-window.qt.hh>

Inheritance diagram for GLMultiWindow:
GLWindow

Public Member Functions

 GLMultiWindow (QWorkspace *parent, Window *owner, GLWindow *share, SelectBar *selection)
 
virtual ~GLMultiWindow ()
 
TViewId getViewId () const
 
virtual string getViewTypeString () const
 
virtual void closeEvent (QCloseEvent *e)
 
virtual TViewId getCliquedViewId () const
 
virtual TViewId getDoubleCliquedViewId () const
 
- Public Member Functions inherited from GLWindow
 GLWindow (TView AViewType, QWorkspace *parent, Window *owner, SelectBar *selection)
 Constructeur pour une vue non partagee.
 
 GLWindow (TView AViewType, QWorkspace *parent, Window *owner, GLWindow *share, SelectBar *selection)
 Constructeur pour une vue partagee.
 
virtual ~GLWindow ()
 
virtual TView getViewType () const
 

Protected Member Functions

virtual void initializeGL ()
 
virtual void paintGL ()
 
virtual void creation ()
 
virtual void mousePressEvent (QMouseEvent *e)
 
virtual void mouseReleaseEvent (QMouseEvent *e)
 
virtual void mouseMoveEvent (QMouseEvent *e)
 
virtual void mouseDoubleClickEvent (QMouseEvent *e)
 
- Protected Member Functions inherited from GLWindow
virtual void resizeGL (int W, int H)
 

Additional Inherited Members

- Protected Attributes inherited from GLWindow
TViewId FViewId
 
TView FViewType
 
GLWindowFShared
 
bool isShared
 
WindowFOwner
 
SelectBarFSelection
 
int FStartX
 
int FStartY
 
int FCurX
 
int FCurY
 
bool FDragMode
 

Detailed Description

Definition at line 44 of file gl-multi-window.qt.hh.

Constructor & Destructor Documentation

GLMultiWindow::GLMultiWindow ( QWorkspace *  parent,
Window owner,
GLWindow share,
SelectBar selection 
)

Constructeur

Parameters
parentWorkspace parent
ownerFenetre principale
shareVue avec laquelle est partage le contexte OpenGL

Definition at line 48 of file gl-multi-window.qt.cc.

GLMultiWindow::~GLMultiWindow ( )
virtual

Destructeur

Definition at line 64 of file gl-multi-window.qt.cc.

Member Function Documentation

void GLMultiWindow::closeEvent ( QCloseEvent *  e)
virtual

Initialisation de la vue dans le controleur

Reimplemented from GLWindow.

Definition at line 119 of file gl-multi-window.qt.cc.

void GLMultiWindow::creation ( )
protectedvirtual

Initialisation de la vue dans le controleur

Reimplemented from GLWindow.

Definition at line 216 of file gl-multi-window.qt.cc.

TViewId GLMultiWindow::getCliquedViewId ( ) const
virtual

Accesseur sur l'identifiant de la vue cliquee

Returns
L'identifiant de la vue

Reimplemented from GLWindow.

Definition at line 79 of file gl-multi-window.qt.cc.

TViewId GLMultiWindow::getDoubleCliquedViewId ( ) const
virtual

Accesseur sur l'identifiant de la vue double-cliquee

Returns
L'identifiant de la vue

Reimplemented from GLWindow.

Definition at line 86 of file gl-multi-window.qt.cc.

TViewId GLMultiWindow::getViewId ( ) const
virtual

Accesseur sur le type de la vue

Returns
L'identifiant de la vue 0

Reimplemented from GLWindow.

Definition at line 71 of file gl-multi-window.qt.cc.

string GLMultiWindow::getViewTypeString ( ) const
virtual

Accesseur sur le nom du type de la vue

Returns
La chaine caracterisant la vue

Reimplemented from GLWindow.

Definition at line 76 of file gl-multi-window.qt.cc.

void GLMultiWindow::initializeGL ( )
protectedvirtual

Initialisation d'OpenGL

Reimplemented from GLWindow.

Definition at line 175 of file gl-multi-window.qt.cc.

void GLMultiWindow::mouseDoubleClickEvent ( QMouseEvent *  e)
protectedvirtual

Gestion de l'appui d'un des boutons de la souris

Parameters
eEvenement bouton enfonce

Reimplemented from GLWindow.

Definition at line 409 of file gl-multi-window.qt.cc.

void GLMultiWindow::mouseMoveEvent ( QMouseEvent *  e)
protectedvirtual

Gestion des mouvements de souris

Parameters
eEvenement souris bougee

Reimplemented from GLWindow.

Definition at line 368 of file gl-multi-window.qt.cc.

void GLMultiWindow::mousePressEvent ( QMouseEvent *  e)
protectedvirtual

Gestion de l'appui d'un des boutons de la souris

Parameters
eEvenement bouton enfonce

Reimplemented from GLWindow.

Definition at line 277 of file gl-multi-window.qt.cc.

void GLMultiWindow::mouseReleaseEvent ( QMouseEvent *  e)
protectedvirtual

Gestion de relachement d'un des boutons de la souris

Parameters
eEvenement bouton lache

Reimplemented from GLWindow.

Definition at line 389 of file gl-multi-window.qt.cc.

void GLMultiWindow::paintGL ( )
protectedvirtual

Dessin de la scene

Reimplemented from GLWindow.

Definition at line 138 of file gl-multi-window.qt.cc.


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