I have got something like this
#ifndef PERFECTSIM_H
#define PERFECTSIM_H
#include <QtGui/QMainWindow>
#include "ui_perfectsim.h"
#include "camera.h"
class PerfectSim : public QMainWindow
{
Q_OBJECT
public:
PerfectSim(QWidget *parent = 0, Qt::WFlags flags = 0);
~PerfectSim();
private:
Ui::PerfectSimClass ui;
CCamera m_Cam[3];
};
#endif // PERFECTSIM_HWhat methods should I override from QMainWindow in order to implement a game loop and the gui?
Thanks
Jack







