window.hpp
Go to the documentation of this file.
1 /*
2 ** TP CPE Lyon
3 ** Copyright (C) 2014 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 
20 #pragma once
21 
22 #ifndef WINDOW_HPP
23 #define WINDOW_HPP
24 
25 #include <QtGui/QMainWindow>
26 
27 namespace Ui
28 {
29  class MainWindow;
30 }
31 class glwidget;
32 
33 
34 class Window : public QMainWindow
35 {
36  Q_OBJECT
37 
38  public:
39  Window(QWidget *parent=0);
40  ~Window();
41 
43 
44 
45 
46  private:
47 
48  Ui::MainWindow *ui;
49 
50 
51 
52 private slots:
53  void quit_window();
54  void set_wireframe(int is_active);
55 
56  void grid_checkbox_clicked();
58 
59 
61 
62 };
63 
64 #endif
Definition: window.hpp:34
Window(QWidget *parent=0)
Definition: window.cpp:28
void gridposition_checkbox_clicked()
Definition: window.cpp:74
void surface_checkbox_clicked()
Definition: window.cpp:86
void grid_checkbox_clicked()
Definition: window.cpp:68
void set_wireframe(int is_active)
Definition: window.cpp:59
Ui::MainWindow * ui
Definition: window.hpp:48
~Window()
Definition: window.cpp:44
glwidget * glWidget
Definition: window.hpp:42
void quit_window()
Definition: window.cpp:53
Definition: glwidget.hpp:32