Nombre de lignes : 72 lignes
Afficher ce fichier en plein écran
- #ifndef WINDOW_H
- #define WINDOW_H
-
-
- #include <QWidget>
- #include<QSplitter>
- #include <QGLWidget>
- #include <QtOpenGL>
- #include <QtGui>
-
- #include <QList>
-
-
- #include "View2D.h"
-
- class QTimer;
- class MyTableur;
-
-
-
- class Window : public QSplitter
- {
- Q_OBJECT
-
- public:
- typedef struct
- {
- float m_x;
- float m_y;
- }
- MyPoint;
-
- typedef QList<MyPoint> GestionCourbe;
-
- public:
- Window();
-
- QGridLayout *Layout;
- QPushButton *BpQuit;
- QLabel *LblVersion;
- QLabel *LblProduit;
- QLabel *LblFabricant;
- QLabel *LblStatus;
- QLabel *LblFps;
- QTextEdit *ListExtend;
- MyTableur *m_Tableur;
-
- QTimer *timer;
- QTimer *TimerFPS;
- View2D* View;
- float m_Angle;
- GLuint Texture1;
- GLuint Texture2;
-
- QList<MyPoint> m_MyPointList; // Liste de Point
- QList<GestionCourbe> m_ListeCourbe; // Liste de Courbe (Qui est une Liste de Point)
-
- int NbrExtensions;
- int m_FPS;
- GLfloat w;
- GLfloat h;
-
- public slots:
- void Animation(void);
- void ModificationTableur(int Ligne, int Colone);
-
-
- void resizeEvent (QResizeEvent *event);
- };
-
- #endif // WINDOW_H