Sign in to follow this  
lucky6969b

Writing a Direct3D Simulation with QT using Visual Studio IDE

Recommended Posts

lucky6969b    1330

I have got something like this

[code]#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_H[/code]

What methods should I override from QMainWindow in order to implement a game loop and the gui?

Thanks

Jack

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this