Main Page
Namespaces
Classes
Files
File List
File Members
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
39
glwidget
*
glWidget
;
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
();
54
void
gridposition_checkbox_clicked
();
55
void
colorpatch_checkbox_clicked
();
56
void
curves_checkbox_clicked
();
57
58
void
add_u_back_button_clicked
();
59
void
add_u_front_button_clicked
();
60
void
add_v_back_button_clicked
();
61
void
add_v_front_button_clicked
();
62
63
64
void
erase_u_back_button_clicked
();
65
void
erase_u_front_button_clicked
();
66
void
erase_v_back_button_clicked
();
67
void
erase_v_front_button_clicked
();
68
69
void
duplicateboundary_button_clicked
();
70
void
surface_checkbox_clicked
();
71
72
void
load_grid_button_clicked
();
73
void
save_grid_button_clicked
();
74
75
};
76
77
#endif
libinterface
window.hpp
Generated on Sun Apr 28 2013 11:28:19 by
1.8.3.1