window.hpp
Go to the documentation of this file.
1 /*
2 ** TP CPE Lyon
3 ** Copyright (C) 2013 Damien Rohmer
4 **
5 ** This program is free software: you can redistribute it and/or modify
6 ** it under the terms of the GNU General Public License as published by
7 ** the Free Software Foundation, either version 3 of the License, or
8 ** (at your option) any later version.
9 **
10 ** This program is distributed in the hope that it will be useful,
11 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ** GNU General Public License for more details.
14 **
15 ** You should have received a copy of the GNU General Public License
16 ** along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 #ifndef _WINDOW_HPP_
20 #define _WINDOW_HPP_
21 
22 #include <QtGui/QMainWindow>
23 
24 namespace Ui
25 {
26  class MainWindow;
27 }
28 class glwidget;
29 
30 
31 class Window : public QMainWindow
32 {
33  Q_OBJECT
34 
35  public:
36  Window(QWidget *parent=0);
37  ~Window();
38 
40 
41 
42 
43  private:
44 
45  Ui::MainWindow *ui;
46 
47 
48 
49 private slots:
50  void quit_window();
51  void set_wireframe(int is_active);
52 
53  void grid_checkbox_clicked();
57 
62 
63 
68 
71 
74 
75 };
76 
77 #endif