Qt 5.10 Book Examples
Public Member Functions | Protected Member Functions | List of all members
OGLDraw Class Reference

#include <OGLDraw.h>

Inheritance diagram for OGLDraw:

Public Member Functions

 OGLDraw (QWidget *pwgt=0)
 
void draw (int xOffset, int yOffset, GLenum type)
 

Protected Member Functions

virtual void initializeGL ()
 
virtual void resizeGL (int nWidth, int nHeight)
 
virtual void paintGL ()
 

Detailed Description

Definition at line 16 of file OGLDraw.h.

Constructor & Destructor Documentation

◆ OGLDraw()

OGLDraw::OGLDraw ( QWidget *  pwgt = 0)

Definition at line 16 of file OGLDraw.cpp.

Member Function Documentation

◆ draw()

void OGLDraw::draw ( int  xOffset,
int  yOffset,
GLenum  type 
)

Definition at line 54 of file OGLDraw.cpp.

◆ initializeGL()

void OGLDraw::initializeGL ( )
protectedvirtual

Definition at line 21 of file OGLDraw.cpp.

◆ paintGL()

void OGLDraw::paintGL ( )
protectedvirtual

Definition at line 38 of file OGLDraw.cpp.

◆ resizeGL()

void OGLDraw::resizeGL ( int  nWidth,
int  nHeight 
)
protectedvirtual

Definition at line 29 of file OGLDraw.cpp.


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