00001 00002 /* 00003 ** Projet etudiants CPE Lyon 00004 ** Copyright (C) 2012 Damien Rohmer 00005 ** 00006 ** This program is free software: you can redistribute it and/or modify 00007 ** it under the terms of the GNU General Public License as published by 00008 ** the Free Software Foundation, either version 3 of the License, or 00009 ** (at your option) any later version. 00010 ** 00011 ** This program is distributed in the hope that it will be useful, 00012 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 ** GNU General Public License for more details. 00015 ** 00016 ** You should have received a copy of the GNU General Public License 00017 ** along with this program. If not, see <http://www.gnu.org/licenses/>. 00018 */ 00019 00020 00021 #ifndef WINDOW_HPP 00022 #define WINDOW_HPP 00023 00024 #include <QtGui/QMainWindow> 00025 00026 namespace Ui 00027 { 00028 class MainWindow; 00029 } 00030 class glwidget; 00031 00032 //classe de gestion des boutons Qt 00033 class Window : public QMainWindow 00034 { 00035 Q_OBJECT 00036 00037 public: 00038 Window(QWidget *parent=0); 00039 ~Window(); 00040 00041 glwidget *glWidget; 00042 00043 private: 00044 00045 Ui::MainWindow *ui; 00046 00047 private slots: 00048 00049 //slot pour quitter 00050 void quit_window(); 00051 //slot qui s'execute lors de l'appuis sur le bouton 00052 void appuis_sur_le_bouton(); 00053 //slot qui s'execute lors de l'appuis sur la case texture 00054 void texture_clicked(); 00055 }; 00056 00057 #endif