|
#ifndef GLFRAME_H
#define GLFRAME_H
#include <QWidget>
#include <QResizeEvent>
#include <QPaintEvent>
#include <QSize>
#include <GLView.h>
class GLFrame : public QWidget
{
Q_OBJECT
public:
GLFrame(QWidget *parent);
~GLFrame();
QPaintEngine * paintEngine () const;
void paintEvent(QPaintEvent* event);
void resizeEvent(QResizeEvent* event);
private:
CGLView* m_pGLView;
};
#endif // GLFRAME_H
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Sharjith is a Mechanical Engineer with strong passion for Automobiles, Aircrafts and Software development.